mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Fix I2C/FSMC conflict for STM32; Fix STM32 clock setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3942 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -2060,3 +2060,7 @@
|
||||
Li Zhuoyi (Lzyy).
|
||||
* arch/arm/src/lpc17xx/lpc17_i2c.c: I2C driver for the NXP LPC17xx family
|
||||
submitted by Li Zhuoyi (Lzyy)
|
||||
* arch/arm/src/stm32_i2c.c: Correct two issues with the STM32 I2C driver:
|
||||
(1) Clocking needs to be based on PCLK1, not HCLK and fast speed settings
|
||||
need some additional bits; and (2) Correct a hang that will occur on
|
||||
I2C1 if FSMC is also enabled.
|
||||
|
||||
Reference in New Issue
Block a user