| Electronic Components Datasheet Search |
|
AS5116 Datasheet(PDF) 26 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS5116 Datasheet(HTML) 26 Page - ams AG |
|
26 / 34 page ![]() Document Feedback AS5116 Configuration and Programming Datasheet • PUBLIC DS000686 • v4-00 • 2022-Feb-18 34 │ 26 10 Configuration and Programming The non-volatile memory is used to permanently program the configuration. To program the nonvolatile memory, the UART interface is used. The programming could be performed either in 5 V or in 3V3 operation mode operation. Tighter limits of the supply voltage in 3V3 operation has to be considered (VDDBURN). Figure 31: AS5116 Programming Flow Start END PASSED Programming Process Write: CONFIG CONFIG1 (0x16) CONFIG2 (0x17) CUST_CHIP_ID1 (0x18) CUST_CHIP_ID2 (0x19) CUST_CHIP_ID3 (0x1A) Write: ECC Enable ECC (0x1B) = 0x80 Read: ECC_CHECKSUM ECC_Chsum_calc (0x50) Write: ECC ECC (0x1B) = 0xXX Read: ECC_STATUS ECC_STATUS (0x51) Verify: ECC_STATUS == 0x01 Read: CONFIG CONFIG1 (0x16) CONFIG2 (0x17) CUST_CHIP_ID1 (0x18) CUST_CHIP_ID2 (0x19) CUST_CHIP_ID3 (0x1A) Verify: Compare with written data Write: P2RAM_CONTROL P2RAM_CONTROL (0x03) = 0x01 Write: P2RAM_CONTROL P2RAM_CONTROL (0x03) = 0x08 Read: P2RAM_CONTROL P2RAM_CONTROL (0x03) Verify: P2RAM_CONTROL == 0x01 Write: CONFIG CONFIG1 (0x16) = 0x00 CONFIG2 (0x17) = 0x00 CUST_CHIP_ID1 (0x18) = 0x00 CUST_CHIP_ID2 (0x19) = 0x00 CUST_CHIP_ID3 (0x1A) = 0x00 ECC (0x1B) = 0x00 Write: P2RAM_CONTROL P2RAM_CONTROL (0x03) = 0x40 Write: P2RAM_CONTROL P2RAM_CONTROL (0x03) = 0x04 Read: CONFIG CONFIG1 (0x16) CONFIG2 (0x17) CUST_CHIP_ID1 (0x18) CUST_CHIP_ID2 (0x19) CUST_CHIP_ID3 (0x1A) ECC (0x1B) Verify: Compare with written data PASS PASS FAIL FAIL FAIL PASS PASS END FAILED Programming Process FAIL Write all required configuratios to the sensor Enable ECC function Read the sensor internal generated ECC-Checksum Write the previously read ECC-Checksum into ECC register Read content of ECC_STATUS register to check if ECC function is working correctly Read again all configuration registers, to check content with previously written data Unlock programming features within P2RAM_CONTROL register If ECC_STATUS register content = 0x01, ECC functionality is working correctly. Otherwise go back to step ECC Enable Compare read data with written data. Regsiter contant has to match Start internal programming procedure Read P2RAM_CONTROL register to check if programming is already finished. Set all previously written and programmed registers to 0x00. Trigger guard band load process, which is proofing the OTP fuse quality. Reflash register content with programmed configuration Read all written and programmed configuration registers. Check if register content == 0x01. If so, internal programming process is finished. If not, programming is ongoing (it takes 10 ms maximum). Compare read datae with previously written content. If the content is eqal, programming is finished and valid. |
|
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 |