Bug in stm32f4xx_hal_i2c.c I2C HAL driver?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-03 9:53 AM
Posted on December 03, 2014 at 18:53
There seems to be a bug in the I2C Hal Lib stm32f4xx_hal_i2c.c (V1.1.0) when using the interrupt driven HAL_I2C_Master_Receive_IT() function.
If you first call it with a data size = 2 the POS-Bit in control register CR1 of the I2C periphery will be set.If you call it again with another size != 2 the POS-Bit is still set and leads to an invalid (N)ACK.The POS-Bit should first be reset when entering the function.Can you confirm this ST? #stm32f4xx_hal_i2c.c-i2c-hal-i�c
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-03 10:46 AM
Posted on December 03, 2014 at 19:46
1.3 is out.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-12-04 2:06 AM
Posted on December 04, 2014 at 11:06
Hi,
We are aware of this limitation, and have already listed within the STM32Cube HAL bugs tracker, and it will be fixed in next releases of F4. Thanks for the report.Regards,Heisenberg.