Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by M3GAPL3X

  1. M

    Changing certain bits of a 16 bit stream packet

    Hi guys, I have a packet that I sent out in the following format (X & Y represent bits) XXXX YYYY XXXX XXXX When the user selects one of the options, I want to change just the YYYY bits. I am doing this in C. I have read up on bit shifting and can't figure it out. I want to leave the XXXX's...
  2. M

    UART 4 Interrupt warnin gwith PIC 24?

    invalid interrupt vector names for device Hi guys, I keep getting the following warning when compiling my program. It is: serial.c:355: warning: Invalid interrupt vector names for device '24FJ128GA106' are: U4 The PIC24F128GA106 series has 4 Uarts. I'm not sure why I am getting that...
  3. M

    U1RXREG with UART not being on?

    u1rxreg Hi guys, Here is my situation. I am using a dsPIC33FJ64MC802 and it has 2 UART’s. The application I am developing will need access to three UART ports. I will be using two devices on UART1 (not simultaneously) and one on UART2. My main question is, is the U1RXREG register available...
  4. M

    Error with PIC10f and High Tech C

    hi-tech c sleep command Thanks guys. I believe Brian is right. The PIC10f series has no software control of the WDT!!
  5. M

    Error with PIC10f and High Tech C

    wdtcon htc Hi Guys, I am getting the following errors for some reason. Basically I am using a counter to keep track of how long a button is pressed. The WDT wakes up every 18 ms. #include <htc.h> #define BUTTON_INPUT GP0 //Sleep command void Sleep(void) { #asm sleep #endasm } //main...
  6. M

    WDT timer on the PIC16F687

    pic16f687 Thanks GSM for your patience. That charge really helped!
  7. M

    WDT timer on the PIC16F687

    wdt timer Hi guys, In the spec sheet, it says that the WDT has a: Time-out period is from 1 ms to 268 seconds I can't figure out how this is true with the given post-scalar values of the WDT timer. Here are the values of WDTCON: WDTPS<3:0>: Watchdog Timer Period Select bits Bit Value =...
  8. M

    USART Transmitter switching clocks

    low power usart pic Hi Kurenai_ryu, I'll check that in the datasheet today. My main clock is running that 31 kHz because my program has to sleep and wake up every 8 ms to check inputs. This is mainly to conserve power. I had to enable the watchdog timer to do this and in turn, the watchdog...
  9. M

    10 bit ADC result to 8 bits?

    how to store 10bit adc in 2 registers Thanks WP. I understand now. I will be using a PIC 16F687. Thanks again!
  10. M

    10 bit ADC result to 8 bits?

    16f687 diagram Thanks guys. My question is, if I left shift them, I will have 8 bits in the ADDRESH register and 2 bits in the ADDRESSL register. Should I not care about the 2 bits in the ADDRESSL register?
  11. M

    USART Transmitter switching clocks

    clock usart Does USART operate during sleep mode? In my design, I will need to wait to recieve some data from the HOST and if I recieve that certain data, I will need to send data back. My question is, what if the HOST sends me data while I am sleeping? Added after 1 hours 20 minutes...
  12. M

    10 bit ADC result to 8 bits?

    n bit adc explanation Thanks WP100 that makes sense. I'll go ahead and try it
  13. M

    10 bit ADC result to 8 bits?

    adc result registers justified Hi guys, Quick question. What is the best way for me to convert a 10 bit ADC result (it uses two registers - ADRESL and ADRESH to store the results in either a left or right justified manner) into 8 bits? I will need to take that 10 bit ADC result and eventually...
  14. M

    Multi-PIC Programmer PIC18F4550

    pic18f4550 low voltage programming Depends what your design goals are. What is it that you want to do? From there, can you decide if this PIC suits your needs by looking at the data sheet. Supplying power should be the least of your concerns
  15. M

    USART Transmitter switching clocks

    uart transmitter baud generator Thanks blue. In my USART routine, I just enable the 8 Mhz HFINTOSC for baud rate generation.

Part and Inventory Search

Back
Top