RT1171 bootloader uart baud rate issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1171 bootloader uart baud rate issue

477 Views
Danny_van_der_Hofstad
Contributor III

Hi all, for a project our company is working on, we have 2 main processors on our board, one of them is the RT1171. The communication between the two chips is done via UART at a baud rate of exactly 1 mbit. The application is running fine, however when we enter bootloader mode, we run into some issues. The bootloader uses an autobaudrate detection, and while we are still sending the PING packets at 1 mbit, the bootloader responds with the PING_ACK packet at 1.05mbit. This makes the entire UART frame go out of sync and we essentially receive the wrong data while a scope shows that the ping ack packet is being sent back but at a higher frequency than what we send the ping packet with.

Reducing the baud rate to 500kb does help, but we want to use 1mbit since the binary that needs to be flashed is quite large.

from the Bootloader RM:
"Supported baud rates: The baud rate is closely related to the MCU core and system
clock frequencies. Typical baud rates supported are 9600, 19200, 38400, and 57600. Of
course, to influence the performance of autobaud detection, the clock configuration in
BCA can be changed."
 
Since these baud rates are extremely low, we are wondering what the supported baud rates are that the boot loader can handle.
 
The clock frequency of the RT1171 is 600MHz, and is driven by a 24 MHz osc.
Labels (1)
0 Kudos
1 Reply

452 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Danny,

The baudrates from the bootloader RM you referred are not specific to RT1170. Serial Boot via UART should support up to 6mbps.

FelipeGarcia_1-1631227423865.png

Best regards,

Felipe

0 Kudos