auto baudrate

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

auto baudrate

1,302 Views
Dealerz
Contributor I

Does anybody know how to perform an Auto Baudrate on a K60 chip for a UART? I've done this before on a few other chips, usually ones that have an input capture pin, but I'm not aware of a K60 having such a pin so I was wondering if anybody has a different way of doing this when a basic sync byte is sent on the UART, 0x55.

Thanks in advance.

Labels (1)
0 Kudos
4 Replies

788 Views
anthony_huereca
NXP Employee
NXP Employee

Hi Jason,

  Kinetis has input capture capabilities built into the FlexTimer (FTM) module. There are multiple pins available, including some already muxed with UART pins.

-Anthony

0 Kudos

788 Views
Dealerz
Contributor I

Are their any code example showing an auto baud rate detecting using the Kinetis? Would make my job a lot easier.

0 Kudos

788 Views
anthony_huereca
NXP Employee
NXP Employee

Hi Jason,

  Unfortunately I'm not aware of any examples already created. Perhaps someone can respond with something they've created, or you can share what you come up with.

-Anthony

0 Kudos

788 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Jason

Agree, I think the easy way is to use an input capture channel to detect baud rate then change UART to match.

Best Regards

Paul

0 Kudos