mbed-os/libraries/mbed/targets/hal
Bartosz Szczepanski 1d1f7ab133 [STM32F4] Clock and interrupt fixes (#1735)
* [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
2016-05-16 11:55:59 +01:00
..
TARGET_ARM_SSG disabled i2c slave 2016-03-01 08:51:08 +00:00
TARGET_Atmel Added support for SAMG55 2016-04-05 18:05:59 +01:00
TARGET_Freescale Fix build warnings 2016-05-04 15:01:24 -05:00
TARGET_Maxim Fixing the send break for the MAXWSNENV and MAX32600MBED. (#1684) 2016-04-26 13:20:17 -05:00
TARGET_NORDIC/TARGET_MCU_NRF51822 [TY51822r3] add description on comment, fixed years 2016-01-11 22:57:46 +09:00
TARGET_NXP Moved SDK 2.0 platforms back to TARGET_Freescale from TARGET_NXP. 2016-04-29 15:53:53 -05:00
TARGET_RENESAS Merge pull request #1626 from mtkrtk/rz_a1h_async_patch 2016-04-28 19:07:37 -05:00
TARGET_STM [STM32F4] Clock and interrupt fixes (#1735) 2016-05-16 11:55:59 +01:00
TARGET_Silicon_Labs/TARGET_EFM32 Fix incorrect clock settings for running off of the HFRCO. 2016-01-28 11:43:07 +01:00
TARGET_WIZNET/TARGET_W7500x Modified LED definition error when test singletest.py. 2015-09-30 12:17:52 +09:00