Hello.
Does chibios support automatic detection of baud rate on a UART? I've trying to find in its API and didn't see anything. From stm's reference manual I think I understand which registers I'm supposed to manipulate but not when should I do it.
Should I set them before/after the call to sdStart or should I set instead the cr2 field in the configuration (SerialConfig) passed to the function?
Thank you!
STM32F767zi UART Auto Baud Rate
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: STM32F767zi UART Auto Baud Rate
Hi,
The current drivers do not support the feature, you may try to do it after sdStart() when the clocks are already enabled.
Giovanni
The current drivers do not support the feature, you may try to do it after sdStart() when the clocks are already enabled.
Giovanni
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: STM32F767zi UART Auto Baud Rate
No, you need to do that after sdStart(), stopping would undo the operation.
Giovanni
Giovanni