AnsweredAssumed Answered

UART DATA TRANSFER PROBLEM

Question asked by Marceli Firlej on Dec 17, 2017
Latest reply on Dec 19, 2017 by Marceli Firlej

I am using USB -TTL-5V cable to work with MKE02Z64VLC chip. Mine receiver on interrupt only receiving one character. Should I toggle CTS pin to receive rest of characters?

 

void AS1_OnRxCharExt(AS1_TComData Chr)
{
 /* Write your code here ... */
 word Received;
 //byte err = 0;
 (void) AS1_RecvBlock((byte*) &rx_message.RxBuffer, RX_DATA_BUFF_SIZE, &Received); 
}

 

 

 

Due to different received data length I need to detect last character '\0'.

Outcomes