| 전자부품 데이터시트 검색엔진 |
|
DS2408S/R 데이터시트(PDF) 16 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
DS2408S/R 데이터시트(HTML) 16 Page - Maxim Integrated Products |
|
16 / 36 page ![]() DS2408 The status of all eight PIO channels is sampled at the same time. The first sampling occurs during the last (most significant) bit of the command code F5h. While the master receives the MSB of the PIO status (i.e., the status of pin P7) the next sampling occurs and so on until the master has received 31 PIO samples. Next, the master receives the inverted CRC16 of the command byte and 32 PIO samples (first pass) or the CRC of 32 PIO samples (subsequent passes). While the last (most significant) bit of the CRC is transmitted the next PIO sampling takes place. The delay between the beginning of the time slot and the sampling point is independent of the bit value being transmitted and the data direction (see Figure 9). If the RSTZ pin is configured as STRB , a strobe signal will be generated during the transmission of the first two (least significant) bits of PIO data. The strobe can signal a FIFO or a microcontroller to apply the next data byte at the PIO for the master to read through the 1-Wire line. Case #1 - MS Bit of new PIO state is 0 Example - Old State = 39h, New state = 72h Case #2 - MS Bit of new PIO state is 1 Example - Old State = 72h, New state = 93h Channel-Access Write [5Ah] The Channel-Access Write command is the only way to write to the PIO output-latch state register (address 0089h), which controls the open-drain output transistors of the PIO channels. In an endless loop this command first writes new data to the PIO and then reads back the PIO status. The implicit read-after- write can be used by the master for status verification or for a fast communication with a microcontroller that is connected to the port pins and RSTZ for synchronization. A Channel-Access Write can be termi- nated at any time with a 1-Wire Reset. Figure 10. CHANNEL-ACCESS WRITE TIMING IO (1-Wire) PIO STRB\ 39h 72h tSLS tSPD tSPD MS 2 bits of inverted new-state byte (8Dh) LS 2 bits of confir- mation byte (AAh) MS 2 bits of inverted new-state byte (6Ch) LS 2 bits of confir- mation byte (AAh) 72h 93h tSPD tSPD VTH Note: Both examples assume that the RSTZ pin is configured as STRB output. If RSTZ is configured as RST input (default), the RSTZ pin needs to be tied high (to VCC or VPUP) for the Channel-Access Write to function properly. Leaving the pin floating will force the output transistors of the PIO channels to the "off" state and the PIO output latches will all read "1". See Figure 6 for a schematic of the logic. After the command code the master transmits a byte that determines the new state of the PIO output transistors. The first (least significant) bit is associated to P0. To switch the output transistor off (non- conducting) the corresponding bit value is 1. To switch the transistor on that bit needs to be 0. This way the data byte transmitted as the new PIO output state arrives in its true form at the PIO pins. To protect the transmission against data errors, the master has to repeat the new PIO byte in its inverted form. Only if the transmission was successful will the PIO status change. The actual transition at the PIO to the new state occurs during the last (most significant) bit of the inverted new PIO data byte and depends on the polarity of that bit, as shown in Figure 10. If this bit is a 1, the transition begins after tSLS is expired; in case of a 0, the transition begins at the end of the time slot, when the VTH threshold is crossed. To inform the master about the successful change of the PIO status, the DS2408 transmits a confirmation byte with 16 of 36 |
|
링크 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 |