Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

Beginner: UART Application - XMC 1300 Boot Kit

$
0
0
Hi Infineon,

i just started with the xmc 1300. Using the UART Example with Apps I wrote a small example code.

Code:

uint8_t init_data[] = "HELLO\r\n";
uint8_t read_data_s[10];

UART_Transmit(&UART_0, init_data, sizeof(init_data));
while(UART_IsTxBusy(&UART_0)){};
UART_Receive(&UART_0, read_data_s,10);

The IsTxBusy stays true forever.
Is this normal? API feels very non intuitive.

Regards max

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>