Author |
Message |
Topic: INT_RDA, 2 x RS232 connections, circular buffer not working |
vlady_2009
Replies: 9
Views: 17425
|
Forum: General CCS C Discussion Posted: Wed Apr 19, 2017 1:02 am Subject: INT_RDA, 2 x RS232 connections, circular buffer not working |
PCM programmer
Thanks, DISABLE_INTS in the #use rs232() statement for the PC_IO stream was the solution,
coupled with that the baud rate needed to be at least 19200 for the PC_IO stream to avoid m ... |
Topic: INT_RDA, 2 x RS232 connections, circular buffer not working |
vlady_2009
Replies: 9
Views: 17425
|
Forum: General CCS C Discussion Posted: Tue Apr 18, 2017 8:09 pm Subject: INT_RDA, 2 x RS232 connections, circular buffer not working |
Guys
Used a buffer (from CD4050) to convert the ESP8266 TX to 5v for input to PIC - same problem observed.
Version 4.140 originally used, tried also compiling with version 5.008 - same problem o ... |
Topic: INT_RDA, 2 x RS232 connections, circular buffer not working |
vlady_2009
Replies: 9
Views: 17425
|
Forum: General CCS C Discussion Posted: Tue Apr 18, 2017 7:36 am Subject: INT_RDA, 2 x RS232 connections, circular buffer not working |
RF Developer
I'm using compiler version 4.14 if that helps.
Regards |
Topic: INT_RDA, 2 x RS232 connections, circular buffer not working |
vlady_2009
Replies: 9
Views: 17425
|
Forum: General CCS C Discussion Posted: Tue Apr 18, 2017 6:41 am Subject: INT_RDA, 2 x RS232 connections, circular buffer not working |
No that's taken into account, separate linear regulators supplying the appropriate voltages, with a resistor divider for the conversion on the PIC TX to ESP8266 RX.
When using a large enough buff ... |
Topic: INT_RDA, 2 x RS232 connections, circular buffer not working |
vlady_2009
Replies: 9
Views: 17425
|
Forum: General CCS C Discussion Posted: Tue Apr 18, 2017 5:33 am Subject: INT_RDA, 2 x RS232 connections, circular buffer not working |
I have a PIC18F248 connected to PC via a MAX232 (pins RC4, RC5) and a ESP8266 (pins RC6, RC7). The ESP8266 is connected to the hardware EUSART pins to enable highest baud rate (eventually). At the mom ... |
|