AnsweredAssumed Answered

K60 serial communication gets() scanf()

Question asked by smaschy on Feb 2, 2017
Latest reply on Feb 5, 2017 by Kerry Zhou

Hey Guys,

I'm trying to communicate with my twr-k60d100m via the uart3.

From uC to PC everything is fine but I'm not able to send a line from the PC to the uC.

I can send and receive single chars but i get some trouble when I'm trying to receive a whole line from the PC.


My Project: The uC sends every second some data to the PC but sometime I need to send some Numbers like "15" or "5000" from the PC to the uC to configure some delay time of the uC.


char str[10];

with this code the uC get stucked.

Can someone help me to solve my problem? 

Is there a good example for UART interrupts (bare metal) for the twr?




SDK 1.3 

bare metal code