Auto baud rate detection in uart of LPC54608J512BD208

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Auto baud rate detection in uart of LPC54608J512BD208

895 次查看
prasannanaik
Contributor III

Hi,

I want to automatically detect the baud rate of sender and tune my Uart to the same baud rate so that user doesn't have to manually configure the uart communication parameters.

I am using LPC54608J512BD208 microcontroller. Uart is used for Modbus RTU communication over RS485. I want the my slave device i.e LPC546 microcontroller unit to tune automatically to the sender's communication parameters.

Most of the microcontrollers provide auto baud rate detection feature in hardware. I couldn't find this feature in lpc546. 

I want to implement autobaud rate detection feature in this microcontroller, how do i go about it?

 

Thanks & best regards,

Prasanna

标签 (1)
0 项奖励
1 回复

880 次查看
frank_m
Senior Contributor III

Auto detection implies a negotiation phase, were one instance (usually a master) sends known data for a given time. You can go through all allowed baudrates, and check if you receive the agreed value.

AFAIK, Modbus has no such autodetect feature.

Most industrial and control busses are static, i.e. require a known setup and configuration - hot-plugging is not allowed.

0 项奖励