Changing UART RX timeout

3 posts / 0 new
Last post
svl0822
Offline
Last seen:5年11个月前
加入:2014-11-17 19:20
Changing UART RX timeout

Hello Dialog,

Is it possible to change the UART receiver timeout?

svl0822

JE_Dialog
Offline
Last seen:2 days 11 hours ago
Staff
加入:2013-12-05 14:02
Hello svl0822, it is not

Hello svl0822, it is not possible, its fixed. BR JE_Dialog

"No characters in or out of theRCVR FIFO during the last 4character times and there is atleast 1 character in it during thistime."

svl0822
Offline
Last seen:5年11个月前
加入:2014-11-17 19:20
JE_DIalog,

JE_DIalog,

Thanks. However, this leaves me with an issue that I am not sure how to solve. I am trying to use the DA14580 in SPS mode to act as a serial to BLE interface. I want to send one byte of data every 4 ms (or 20 bytes every 80ms in one packet, ideally). However, when I use the UART to send the 20 bytes to the DA1458- one after another- every 20 ms, then the data that I receive on my mobile device from the DA14580 is in packets that vary in size - most of the time they are 20 bytes wide, but sometimes the packets get split into 2 smaller ones or otherwise divided. This does not work for me and i need my data packets to be the same size, always. How do you suggest I make it such that the packets are always the same size?

Thanks,
svl0822