How to get I2C functioning on a STM32F334K8T6. I2C works great with every other STM32 MCU I have
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-12-30 10:17 PM
I am working with a TI PCF8574 I2C IO Expander in CubeMX, and TrueStudio. With the stm32f405 I enable the RCC, Enable I2C, and i can simply send an I2C command, and the signal is perfect on the scope. I do the same exact thing with the F334K8Tx and I have invalid data that my logic analyzer and oscilloscope can not decode. Is there something with the F3 MCU that i am missing?
- Labels:
-
I2C
-
STM32F3 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-12-31 12:34 AM
Compare the registers or typically the first page describing the I2C HW peripheral. If they look slightly different, probably the IP cell is a different generation.
Also, if using DMA, the channel and streams may have to be modified.
Last is the clock frequency feeding the I2C cell: Clocktrees are sometime differents between STM32.
