
Affordable and flexible platform to ease prototyping using a STM32F401RET6 microcontroller.
NUCLEO-F401RE I2C slave problem
Topic last updated 23 Jun 2017, by 15 replies
.
Please log in to post a reply.
I am having a problem using NUCLEO-F401RE board for testing the i2c slave. I was using the mbed OS 5 i2c slave example (https://docs.mbed.com/docs/mbed-os-api-reference/en/5.1/APIs/interfaces/digital/I2CSlave/) with the bit rate standard 100K bit/s. I used the Total Phase Aardvark I2C host adapter sending bytes (8 bytes) to NUCLEO-F401RE board. The NUCLEO-F401RE i2c slave always holds down the SCL line forever in middle of the data transfer, which can be viewed clearly by a oscilloscope or a I2C protocol analyzer. Please help!
The I2C slave testing project is here:
Import programI2CSlaveTest
mbed OS-5 I2C Slave using Nucleo-F401RE board.
Last commit 22 Aug 2016 by
Jingxi Zhang
The following is the snippet of the test code:
NUCLEO-F401RE I2C slave test