| Electronic Components Datasheet Search |
|
UM0470 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0470 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 37 page ![]() Single wire interface module (SWIM) UM0470 10/37 3.4 SWIM communication protocol When in ACTIVE mode, communication can be initiated by host or device. Each byte or command is preceded by a 1-bit header in order to arbitrate if both host and device initiate the communication at the same time. The host header is ‘0’ in order to have the priority over the device in case of arbitration, due to open-drain capability. The host can start the transfer only if there is no transfer on-going. Figure 8. .Command Format (Host -> Target) Each command sent by the host is made of: ● 1 command (ROTF, WOTF or SWRST) made of Header: 1 bit at ‘0’ b2-b0: 3-bit command pb: parity bit: XOR between all b(i) ack:acknowledge (1 bit at ‘1’). The receiver must send the not-acknowledge value if it has detected a parity error (NACK: not acknowledge = 1 bit at ‘0’), or it is not yet ready. ● and optionally several data packets (in case of WOTF) made of: Header: 1 bit at ‘0’ b7-b0: 8-bit data pb: parity bit sent after data. XOR between all b(i) ack: acknowledge Figure 9. Data Format (Target -> Host) Each data frame is made of: Header: 1 bit at ‘1’ b7-b0: 8-bit data pb: parity bit sent after data ack: acknowledge b2 b1 b0 ack Command 0 pb Data1 b7 b6 b5 b4 b3 b2 b1 b0 pb ack ... ... 0 Italic: Bit sent by the Host Bold: Bit sent by the device b7 b6 b5 b4 b3 b2 b1 b0 pb ack data n data n+1 1 ... ... data n-1 Italic: Bit sent by the Host Bold: Bit sent by the device |
|
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 |