| Electronic Components Datasheet Search |
|
STM32F102xx Datasheet(PDF) 22 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32F102xx Datasheet(HTML) 22 Page - STMicroelectronics |
|
22 / 41 page ![]() STM32F10xx8 and STM32F10xxB silicon limitations STM32F10xx8 STM32F10xxB 22/41 DocID14574 Rev 13 2.13.2 Wrong data read into data register In Master Receiver mode, when closing the communication using method 2, the content of the last read data can be corrupted. The following two sequences are concerned by the limitation: • Sequence 1: Transfer sequence for master receiver when N = 2: a) BTF = 1(Data N-1 in DR and Data N in shift register) b) Program STOP = 1, c) Read DR twice (Read Data N-1 and Data N) just after programming the STOP. • Sequence 2: Transfer sequence for master receiver when N > 2: a) BTF = 1 (Data N-2 in DR and Data N-1 in shift register) b) Program ACK = 0, c) Read DataN-2 in DR. d) Program STOP = 1, e) Read DataN-1. If the user software is not able to read the data N-1 before the STOP condition is generated on the bus, the content of the shift register (data N) will be corrupted (data N is shifted 1-bit to the left). Workarounds • Workaround 1 Stretch the SCL line by configuring SCL I/O as a general purpose I/O, open-drain output low level, before the SET STOP in sequence 1 and before the READ Data N-2 in séquence 2. Then configure back the SCL I/O as alternate function open-drain after the READ Data N-1. The sequences become: Sequence 1: a) BTF = 1(Data N-1 in DR and Data N in shift register) b) Configure SCL I/O as GPIO open-drain output low c) Program STOP = 1 d) Read Data N-1 e) Configure SCL I/O as Alternate Function open drain f) Read Data N |
|
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 |