Setting baud rate to 300bd

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Setting baud rate to 300bd

1,232件の閲覧回数
friedl
Contributor I

Hi, I have a problem setting the desired baud rate on my FRDM-K64F board, which is connected to my PC via USB/Serial and runs a simple demo application, sending text messages to a putty client on the PC. Everything works as expected (for many different baud rates, e.g. 9600 bd) until I set the baud rate to 300 bd. With this setting only garbage appears in putty (600 bd is OK btw). So I'm wondering whether 300 bd is just not supported by the device? (I also tried running the board with a system clock of 4MHz and 20Mhz)

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,009件の閲覧回数
friedl
Contributor I

The FRDM-K64F board in principle supports 300bd, but not for all settings of the system clock frequency; e.g., at 120MHz a baud rate of 300bd cannot be set. See baud rate calculation in the reference manual.

0 件の賞賛
返信

1,009件の閲覧回数
miduo
NXP Employee
NXP Employee

Yes, you are correct !  The full baud rate aree supported but not for all system frequency. Customer can use PE to config the BD with different clock frequency.

Best Regards,

Fang

0 件の賞賛
返信