You are here

UART Software detect to Buffer Issues | Cypress Semiconductor

UART Software detect to Buffer Issues

Summary: 1 Reply, Latest post by HIMA on 31 Dec 2014 02:21 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
SCAS's picture
89 posts

Ive been using the NONE mode in the "RX address configuration" and have had no problems getting UART data by using a simple assignment function in the default RX ISR that is auto generated with the API as below:


i=0; i<UART_1_RXBUFFERSIZE+1; i++){


RxIn->ModbusRxBuffer[i] = UART_1_rxBuffer[i];



Data is transferred to Data Structure without any problem.

It is located around line 166 in the RX ISR

However ive tried to use the addressing function and the data does not appear in the rxBuffer[]. I have a flag that shows the assignment function was cycled which means the interrupt was activated but there is no data in the buffer.

I have my own API that does a good job however Im trying to better understand the cypress supplied API.


Any Ideas why the data is not in the rxBuffer?


HIMA's picture
Cypress Employee
169 posts



Kindly let us know which mode did you choose? Can you choose "Software Detect to Buffer" and give the RX Buffer size>4. Please check if the data is loeded into Rx software buffer after this.




Log in to post new comments.