| 전자부품 데이터시트 검색엔진 |
|
STM8S 데이터시트(PDF) 299 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S 데이터시트(HTML) 299 Page - STMicroelectronics |
|
299 / 467 page ![]() DocID14587 Rev 14 299/467 RM0016 Inter-integrated circuit (I2C) interface 319 EV9: ADD10= 1, cleared by reading SR1 register followed by writing DR register. 2. EV5, EV6 and EV9 events stretch SCL low until the end of the corresponding software sequence. 3. EV7 software sequence must be completed before the end of the current byte transfer. In case EV7 software sequence can not be managed before the current byte end of transfer, it is recommended to use BTF instead of RXNE, with the drawback of slowing the communication. When 3 bytes remain to be read: • RxNE = 1 => Nothing (DataN-2 not read). • DataN-1 received • BTF = 1 because both shift and data registers are full: DataN-2 in DR and DataN-1 in the shift register => SCL tied low: no other data will be received on the bus. • Clear ACK bit • Read DataN-2 in DR => This launches the DataN reception in the shift register • DataN received (with a NACK) • Program START/STOP • Read DataN-1 • RxNE = 1 • Read DataN The procedure described above is valid for N>2. The cases where a single byte or two bytes are to be received should be handled differently, as described below: • Case of a single byte to be received: – In the ADDR event, clear the ACK bit. – Clear ADDR – Program the STOP/START bit. – Read the data after the RxNE flag is set. • Case of two bytes to be received: – Set POS and ACK – Wait for the ADDR flag to be set – Clear ADDR –Clear ACK – Wait for BTF to be set – Program STOP – Read DR twice |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |