- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
I use an XMC4500 processor
I have a UART configured to 9 bit with 1382400 baud rate.
When I receive a certain command, I go to update firmware for other card that is connected to my card (remote burning using BSL mode), For this process I need an 8 bit UART with a different baud rate.
For that, I want to change during runtime the UART to 8 bit with a different baud rate, and when I finish the burning process return back to 9 bit.
Is there a way to do this?
Thanks Yehudit
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
you can call the below APIs to setting:
API "XMC_USIC_CH_SetBaudrate(XMC_UART0_CH0,9600,16);" to set baud rate.
API: XMC_USIC_CH_SetWordLength(XMC_UART0_CH0,7); to set data width.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
you can call the below APIs to setting:
API "XMC_USIC_CH_SetBaudrate(XMC_UART0_CH0,9600,16);" to set baud rate.
API: XMC_USIC_CH_SetWordLength(XMC_UART0_CH0,7); to set data width.