Senior II
September 5, 2019
Solved
HAL CubeMX I2C START problem.
- September 5, 2019
- 1 reply
- 819 views
-----I FOUND THE ANSWER MYSELF. ----------
Technical environment :
- Master : STM32F767
- Slave : M24256 EEPROM on custom board. SCL and SDA on PH4 and PH5 with 4.7K pull-ups
- CubeMX : V5.3.0
- Normal transaction is : MASTER do a 3 bytes WRITE
HAL_I2C_Master_Transmit calls I2C_TransferConfig. Immediately after CR2 update two flags in ISR are set: STOPF ana NACKF. Write timeouts in I2C_WaitOnTXISFlagUntilTimeout. Logic analyzer does not show any activity. Both signals are high. Any ideas where to search for problem?
