| поискавой системы для электроныых деталей |
|
MCP39F521 датащи(PDF) 17 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP39F521 датащи(HTML) 17 Page - Microchip Technology |
|
17 / 52 page ![]() 2015 Microchip Technology Inc. DS20005442A-page 17 MCP39F521 4.5 Command List The following table is a list of all accepted command bytes for the MCP39F521. There are 10 possible accepted commands for the MCP39F521. 4.6 Example Communication Frames and MCP39F521 Responses Tables 4-2 to 4-11 show exact hexadecimal communication frames as they should be sent to the MCP39F521 from the system MCU. The values here can be used as direct examples for writing your code to communicate to the MCP39F521. TABLE 4-1: MCP39F521 INSTRUCTION SET Command # Command Command ID Instruction Parameter Number of Bytes Successful Response 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 2 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 2 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 8.0, MCP39F521 Calibration for more information on calibration. TABLE 4-2: REGISTER READ, N BYTES COMMAND (Note 1) Byte # Value Byte Description Response from MCP39F521 1 0xA5 Header Byte 2 0x08 Number of Bytes in Frame 3 0x41 Command (Set Address Pointer) 4 0x00 Address High 50x02 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 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. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |