UART Buffer

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        If we turn off the UART i.e. call the API UART_Off will we able to access the UART Rx Buffer   
0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

If I am not mistaken, there is no API names UART_Off(), but an API UART_Stop() which will -as the datasheet says- "Stop UART function". What hinders you before stopping the UART to check the status and when appropiate reat the receiver?

   

 

   

Bob

0 Likes
Anonymous
Not applicable
        Once I call the function UART_Stop(); will I still be able to access the buffer through UART_ReadRxData(); ??   
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

You could always configure a quick test in Creator, but real confirmation

   

by filing a CASE -

   

 

   

    

   

          

   

To file a tech case -

   

 

   

www.cypress.com

   

“Support”

   

“Technical Support”

   

“Create a MyCase”

   

 

   

Regards, Dana

0 Likes
Anonymous
Not applicable

 Any special reason why you want to read after stopping the UART? or why you want to stop the UART?

0 Likes
Anonymous
Not applicable

The statement to read the RX Buffer will certainly return a value!!!!

   

Regards.

0 Likes