| Electronic Components Datasheet Search |
|
MCP39F511 Datasheet(PDF) 17 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP39F511 Datasheet(HTML) 17 Page - Microchip Technology |
|
17 / 62 page ![]() 2015 Microchip Technology Inc. DS20005393B-page 17 MCP39F511 4.4 Command List The following table is a list of all accepted command bytes for the MCP39F511. There are 10 possible accepted commands for the MCP39F511. 4.5 Example Communication Frames and MCP39F511 Responses Tables 4-2 to 4-11 show exact hexadecimal communication frames as recommended to be sent to the MCP39F511 from the system MCU. The values here can be used as direct examples for writing the code to communicate to the MCP39F511. TABLE 4-1: MCP39F511 INSTRUCTION SET Command # Command Command ID Instruction Parameter Number of bytes Successful Response UART_TX 1 Register Read, N bytes 0x4E Number of bytes 2 ACK, Data, Checksum 2 Register Write, N bytes 0x4D Number of bytes 1+N ACK 3 Set Address Pointer 0x41 ADDRESS 3 ACK 4 Save Registers To Flash 0x53 None 1 ACK 5 Page Read EEPROM 0x42 PAGE 2 ACK, Data, Checksum 6 Page Write EEPROM 0x50 PAGE 18 ACK 7 Bulk Erase EEPROM 0x4F None 1 ACK 8 Auto-Calibrate Gain 0x5A None Note 1 9 Auto-Calibrate Reactive Gain 0x7A None Note 1 10 Auto-Calibrate Frequency 0x76 None Note 1 Note 1: See Section 9.0, MCP39F511 Calibration for more information on calibration. TABLE 4-2: REGISTER READ, N BYTES COMMAND (Note 1) Byte # Value Description Response from MCP39F511 1 0xA5 Header Byte 2 0x08 Number of Bytes in Frame 3 0x41 Command (Set Address Pointer) 4 0x00 Address High 5 0x02 Address Low 6 0x4E Command (Register Read, N Bytes) 7 0x20 Number of Bytes to Read (32) 8 0x5E Checksum ACK + Number of Bytes (35) + 32 bytes + Checksum Note 1: This example Register Read, N bytes frame, as it is written here, can be used to poll a subset of the output data, starting at the top, address 0x02, and reading 32 data bytes back or 35 bytes total in the frame. |
|
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 |