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 ric323pbtstgc

  1. ric323pbtstgc

    Button click performs all function without pressing second press, third press?

    You didn't take the hint. "==" is NOT an assignment operator, it is a comparison operator, so that does not change the value in modef. Try just a single "=", i.e. modef = 0;
  2. ric323pbtstgc

    Button click performs all function without pressing second press, third press?

    This line modef ==0; is NOT doing what you think it does.
  3. ric323pbtstgc

    EUSART1_Read() function to receive string

    I guess John doesn't appreciate the help he is getting at https://www.microchip.com/forums/m1182951.aspx and https://www.microchip.com/forums/m1182902.aspx
  4. ric323pbtstgc

    pic programming stand-alone using same pic

    I suspect the target is always a PIC12F675. It's the PIC doing the programming that the OP wants to vary (or maybe is prepared to use whatever PIC it takes to do the job)
  5. ric323pbtstgc

    dspic33f code review

    On the real hardware? In "debug" mode, or just run mode? As Susan stated, in debug mode, that pin is reserved for the debugger. An LED on that pin could not work.
  6. ric323pbtstgc

    EUSART Data is not showing as expected

    All the voltages should be measured with respect to ground. I guess you mean that from ground to pin #6 is -6.7V. i.e. a negative voltage. That is a little lower than I would have expected, but still ok. So, when the PIC is just idling, pin#11 (T1IN) should be high ( 3 to 5V), and pin#14 (T1OUT)...
  7. ric323pbtstgc

    EUSART Data is not showing as expected

    So there is no cable between the adaptor and the DE-9 connector. The USB cable on the other side of the adaptor doesn't count. So, still garbage displayed in your terminal program. Have you done the voltage checks around the MAX232 chip that I asked you to do on the Microchip forum?
  8. ric323pbtstgc

    EUSART Data is not showing as expected

    So you should have changed #define _XTAL_FREQ 8000000 to #define _XTAL_FREQ 20000000 which I see you have now done. "through a cable" is not "directly". Are you sure this is a "straight though" cable? i.e. every pin at one end connects to the same pin at the other end? "Null modem" cables are...
  9. ric323pbtstgc

    EUSART Data is not showing as expected

    What is the frequency of the crystal on that board? You have not changed the number in the _XTAL_FREQ from 8000000. Are you plugging your USB-RS232 adaptor directly into the DE-9 connector on the board, or through a cable?
  10. ric323pbtstgc

    EUSART Data is not showing as expected

    He means the socket on the PIC board, and just swap the inputs to the on-board MAX232 chip, which is what I suggested ages ago. That needs to be "FOSC=HS1" if the crystal is 4-16MHz, or "FOSC=HS2" if it is 16-25MHz. The number should be the crystal frequency in Hertz.
  11. ric323pbtstgc

    EUSART Data is not showing as expected

    You misread the question I asked 11 hours ago, and have not replied to the updated question I posted 4 hours ago.
  12. ric323pbtstgc

    EUSART Data is not showing as expected

    The "other" thread is at https://www.microchip.com/forums/m1154362.aspx I have spent a lot of time trying to help this user. I agree he has a hardware connection problem, but he seems to have a very short attention span, and ignores half of what he is told.

Part and Inventory Search

Back
Top