Author Topic: UART Synchronization Break Problem On XMC  (Read 779 times)

0 Members and 1 Guest are viewing this topic.

Offline petersanchTopic starter

  • Regular Contributor
  • *
  • Posts: 62
  • Country: 00
UART Synchronization Break Problem On XMC
« on: February 28, 2019, 06:22:56 am »
Hi All,

I'm sending data from PC to XMC1300 micro. The PC sends a synchronization break, sends 10 bytes, waits, and repeats.
The XMC is programmed to run calculations on the data after 10 bytes are received and the break is used to detect start of new data.

Problem is this only works when the delay between previous 10 bytes and synchronization break is 110 ms or more.
The frames come in with errors when delay is less than 110 ms, and I need this delay to be shorter.
PSR value after a failed frame is 0x4EB7. Break detected, receiver noise detected, stop bit error, busy, data lost.

But, if the poll for synchronization break is removed and data is continuously sent without breaks or delays, it all works.
I need the break for future development however.

Baud rate 9600, synchronization break duration is 2 ms, 8 bit data, 1 bit stop, no parity, no interrupts.


Has some body seen this before? Does it have something to do with how USIC implements the synchronization break?
Cheers
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf