| データシートサーチシステム |
|
HCS500T-I/ST データシート(PDF) 13 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
HCS500T-I/ST データシート(HTML) 13 Page - Microchip Technology |
|
13 / 42 page ![]() 2001-2015 Microchip Technology Inc. DS40000153E-page 13 HCS500 4.2.7 ACTIVATE LEARN The activate Learn command (Figure 4-6) is used to activate a transmitter learning sequence on the decoder. The command consists of a Command mode activation sequence, a command byte, and two dummy bytes. The decoder will respond by taking the data line high to acknowledge that the command was valid and that learn is active. Upon reception of the first transmission, the decoder will respond with a learn status message (Figure 4-7). During learn, the decoder will acknowledge the reception of the first transmission by taking the data line high for 60 ms. The controlling microcontroller can clock out at most eight bits, which will all be zeros. All of the bits of the status byte are zero, and this is used to distinguish between a learn time-out status string and the first transmission received string. The controlling microcontroller must ensure that the clock line does not go high 60 ms after the falling edge of the data line, for this will terminate learn. Upon reception of the second transmission, the decoder will respond with a learn status message (Figure 4-8). The learn status message after the second transmission consists of the following: • 1 Start bit. • The function code [S3:S0] of the message is zero, indicating that this is a status string. • The RESULT bit indicates the result of the learn sequence. The RESULT bit is set if successful and cleared otherwise. • The OVR bit will indicate whether an exiting transmitter is over written. The OVR bit will be set if an existing transmitter is learned over. • The [CNT3…CNT0] bits will indicate the number of transmitters learned on the decoder. • The [TX3…TX0] bits indicate the block number used during the learning of the transmitter. FIGURE 4-6: LEARN MODE ACTIVATION FIGURE 4-7: LEARN STATUS MESSAGE AFTER FIRST TRANSMISSION FIGURE 4-8: LEARN STATUS MESSAGE AFTER SECOND TRANSMISSION Decoder MSB A Command Byte Start Command BC LSB D TLRN E Dummy Byte Dummy Byte CLK C DATA F Acknowledge MSB LSB MSB LSB TACK TRESP TACK2 DATA Command Request TCLKL TCLKH TCA TDS AB TCLL TDHI TCLA TCLH CLK Decoder 0 0 0 0 0 0 0 0 Status Byte C Data Communications Request TCLKL TCLKH TCA TDS A B Cii TCLL TDHI TCLA TCLH CLK Decoder TX0 TX3 RX63 OVR RSLT 0 0 0 0 CNT0 CNT3 0 RX0 RX1 RX62 1 Ci Learn Status Bits Decoded Tx Data |
|
リンク 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 |