| Electronic Components Datasheet Search |
|
STM32F102xx Datasheet(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32F102xx Datasheet(HTML) 21 Page - STMicroelectronics |
|
21 / 41 page ![]() DocID14574 Rev 13 21/41 STM32F10xx8 STM32F10xxB STM32F10xx8 and STM32F10xxB silicon limitations 2.13 I2C peripheral 2.13.1 Some software events must be managed before the current byte is being transferred Description When the EV7, EV7_1, EV6_1, EV6_3, EV2, EV8, and EV3 events are not managed before the current byte is being transferred, problems may be encountered such as receiving an extra byte, reading the same data twice or missing data. Workarounds When it is not possible to manage the EV7, EV7_1, EV6_1, EV6_3, EV2, EV8, and EV3 events before the current byte transfer and before the acknowledge pulse when changing the ACK control bit, it is recommended to: • Workaround 1 Use the I2C with DMA in general, except when the Master is receiving a single byte. • Workaround 2 Use I2C interrupts and boost their priorities to the highest one in the application to make them uninterruptible • Workaround 3 (only for EV6_1 and EV6_3 events used in method 2) EV6_1 event (used in master receiver 2 bytes): Stretch SCL line between ADDR bit is cleared and ACK is cleared: a) ADDR=1 b) Configure SCL I/O as GPIO open-drain output low c) Clear ADDR by reading SR1 register followed by reading SR3 d) Program ACK=0 e) Configure SCL I/O as Alternate Function open drain EV6_3 event (used in master receiver 1 byte): Stretch SCL line between ADDR bit is cleared and STOP bit programming: a) ADDR=1 b) Program ACK=0 c) Configure SCL I/O as GPIO open-drain output low d) Clear ADDR by reading SR1 register followed by reading SR3 e) Program STOP=1 f) Configure SCL I/O as Alternate Function open drain |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |