Re: Automatic baud rate detection
From: Wolfgang Grandegger <hidden>
Date: 2012-03-12 20:05:47
From: Wolfgang Grandegger <hidden>
Date: 2012-03-12 20:05:47
Hi Sandro, On 03/12/2012 06:55 PM, Sandro Anders | CarMedialab wrote:
Hi, we currently developing our own socketcan driver and we have the requirement to auto detect the baud rate at load time. Our HW is supporting this but it seems this behavior is not configurable via IP tools. Maybe I am wrong but has anyone an suggestion to do this? We thought to use baud rate 0 to detect this but this is obviously not allowed.
Kernel space support for bitrate detection is not available or implemented. But software driven bitrate detection should be possible from user space by using the listen only mode. What hardware are you speaking about? How does the hardware do the bitrate detection? Wolfgang.