mirror of https://github.com/ARMmbed/mbed-os.git
* [STM32F4] Get PCLK1 clock and set initial CAN frequency CAN bus opperates on APB1 peripheral clock due to that we need to get PCLK1 freq in *can_frequency()* function to properly calculate CAN speed and reconfigure BS1, BS2, SJW bits. Also to fully communicate with other ST platform we set the initical CAN frequency to 100kb/s to be able to work with the slowest platform which supports CAN, which is NUCLEO_F303K8 (APB1 is 32MHz). Change-Id: I10af3aa8d715dd61c9d1b216ef813193449fecbd * [STM32F4] Fix for CAN2 interrupt index CAN2 interrupt index was wrong leading to not properly registering interrupt. Having this fix allow us to pass MBED_30 test. Change-Id: I33f9ca7c81286f7746a8f8352619e213bdf9756a |
||
|---|---|---|
| .. | ||
| api | ||
| common | ||
| hal | ||
| targets | ||
| .yotta_ignore | ||
| CMakeLists.txt | ||
| module.json | ||