How to get funciont "hal_i2c_isdeviceready()" in LL library?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-22 12:52 PM
Hi,
I am working on BlueNRG-2 and I need a funcion "hal_i2c_isdeviceready()" to confirm NFC eeprom IIC ready. In ST BlueNRG-2 demo, it used LL library of IIC.
Could you give me some demo like "hal_i2c_isdeviceready()" in LL library.
Thanks a lot.
Labels:
- Labels:
-
STM32Cube MCU Packages
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-22 1:31 PM
- Before START check LL_I2C_IsActiveFlag_BUSY(I2Cx)
- Before TRANSMIT BYTE check LL_I2C_IsActiveFlag_TXE(I2Cx)
- Before RESTART check LL_I2C_IsActiveFlag_TC(I2Cx)
- Before RECEIVE BYTE check LL_I2C_IsActiveFlag_RXNE(I2Cx)
- Before STOP AFTER TRANSMITTED check I2C_CheckEvent(I2Cx, I2C_EVENT_MASTER_BYTE_TRANSMITTED)
- Before STOP AFTER RECEIVED check I2C_CheckEvent(I2Cx, I2C_EVENT_MASTER_BYTE_RECEIVED)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-11-22 1:41 PM
points 5 and 6 are wrong
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-27 6:31 AM
@SZhan.5
Did you find the LL solution for the above HAL function and test it?Please put it in the forum to use by others.
Regards
