| Electronic Components Datasheet Search |
|
MXT1664T3 Datasheet(PDF) 52 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MXT1664T3 Datasheet(HTML) 52 Page - Microchip Technology |
|
52 / 98 page ![]() MXT1664T3 2.0 DS40002054A-page 52 2018 Microchip Technology Inc. In Figure 10-5 on page 51: • Number of Bytes to Read is set to zero as this is a write-only operation. • Number of Bytes to Write is six (that is, four data bytes plus the two address pointer bytes). Figure 10-6 shows the response to this command. Note that the result status returned is 0x04 (that is, the write operation was completed but no read data was requested). FIGURE 10-6: RESPONSE TO EXAMPLE FOUR-BYTE WRITE 10.4.1.3 Reading From the Device A read operation consists of sending a packet that contains the six header bytes only and no write data. Figure 10-7 shows an example command packet to read four bytes starting at address 0x1234. Note that the address pointer is included in the number of bytes to write, so the number of bytes to write is set to 2 as there are no other data bytes to be written. FIGURE 10-7: EXAMPLE OF A FOUR-BYTE READ STARTING AT ADDRESS 0x1234 It is not necessary to set the address pointer before every read. The address pointer is updated automatically after every read operation, so the address pointer will be correct if the reads occur in order. Figure 10-8 shows the response to this command. The result status returned is 0x00 (that is the write operation was completed and the data was returned). The number of bytes returned will be the same as the number requested (4 in this case). FIGURE 10-8: RESPONSE TO EXAMPLE FOUR-BYTE READ 10.4.2 SEND AUTO-RETURN MESSAGES With this command the device can be configured to return new messages from the Message Processor T5 object autonomously. The packet sequence to do this is shown in Figure 10-9. Result 0x04 Rpt ID Unused Bytes (62 Bytes) 0x00 0x00 ... 0x51 0x02 Number of Bytes to Write 0x04 0x34 0x12 Address Pointer (LSByte, MSByte) Number of Bytes to Read Command ID Rpt ID Unused Bytes (58 Bytes) 0x00 0x00 ... 0x00 0x04 Number of Bytes Read Read Data (4 Bytes) 0x96 0x9B 0xA0 0xA5 Result Rpt ID Unused Bytes (57 Bytes) 0x00 0x00 ... |
|
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 |