stm32f4 i2c
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-07-29 9:32 PM
Posted on July 30, 2013 at 06:32
hi I am santosh,
I am using stm32f407zet6 for communicating with accelerometer using i2c interrupt mode My problem is after receving no of bytes to be read RXNE and BTF flag remained set .and after that interrupt is not genererated. I have cleared RXNE and BTF flag after I2C_STOP.pls somebody give me proper i2c event isrRegards,Santosh pawar #i2c #stm32f4-i2c
Labels:
- Labels:
-
I2C
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-07-30 6:56 AM
Posted on July 30, 2013 at 15:56
Make sure you are sending a NAK at n-2 bytes received and a STOP at n-1 bytes. For single byte transfers NAK must be sent before the first byte is received. Look at the timing for EV6 and EV7 events.
Jack Peacock