Gerasin Ivan

k40 problem with UART

Discussion created by Gerasin Ivan on Jan 17, 2013
Latest reply on Feb 26, 2013 by Jack Everett


I have a problem with UART - I'm trying to send data to computer, but get only garbrage. I tried to on/off parity with 8/9 bits, but it doesn't help. Data cable is ok (i tried 2 cables). Send data with TWR-SER.

send with^


while(!(UART3_S1) & UART_S1_TDRE_MASK));

UART_D = 0xFF;


and i get date like 7F

or sometimes different data BF FF FD


What's the problem?

Thx for help.