| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 155 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 155 Page - Microchip Technology |
|
155 / 283 page ![]() 2013 - 2014 Microchip Technology Inc. DS00001587C-page 155 SEC2410/SEC4410 15.3.3 COMPARE COMMAND The COMP command compares the last read data with the inverted contents of the DATA register and sets the STATUS pin high in case of a full match. Below is the sequence of a typical COMP. a) Completed a PGM and the BUSY bit is set to '0'. b) Firmware writes to the OTP_CMD register, setting bit 4 (COMPARE) to '1'. This will initiate the COMP command. This bit will be cleared by HW. c) Firmware needs to poll the OTP Status register until bit 0 (BUSY) becomes '0'. d) Look at the STATUS bit (OTP Status register bit 2). If it's a '1', then PGM was successful. 15.3.4 WRITE TO MODE REGISTER The WRITE_MR command writes data on the D_MR[7:0] pins to the Mode Data register. Below is the sequence of a typical WRITE_MR. a) Firmware writes data to the OTP_M_WR_DATA register. b) Firmware writes to the OTP_CMD register, setting bit 8 (WRITE_MR) to '1'. This will initiate the WRITE_MR com- mand. This bit will be cleared by HW. c) Firmware needs to poll the OTP Status register. When bit 0 (BUSY) is a '0', then it's Ok to execute another com- mand. d) The contents of the Mode register are available from the OTP_M_RD_DATA register. 15.3.5 ACCESSING AUXILIARY MODE REGISTERS In addition to the main Mode Register, the Si dense IP is equipped with Auxiliary Mode Registers (MRA and MRB) con- trolling internal voltage regulators and charge pumps. These registers are accessed by programming the main Mode register, and then writing that value into the auxiliary reg- isters using the AUX_UPDATE command and the MRA and MRB bits. The AUX_UPDATE command copies the content of the OTP_M_WR_DATA register to either the Auxiliary Mode A register (MRA bit = 1, MRB bit = 0) or Auxiliary Mode B register (MRA bit = 0, MRB bit =1). a) Write the data to the OTP_M_WR_DATA register. b) Write to the OTP_CMD register, setting bit 10 (AUX_UPDATE) to '1', and either bit 11 (MRA) or bit 12 (MRB) to a '1'. This will initiate the AUX_UPDATE command. These bits will be cleared by HW. c) Poll the OTP Status register. When bit 0 (BUSY) is a '0', then it's Ok to execute another command. d) The contents of the Mode Register A are available from the OTP_MRA_RD_DATA register, and the contents of the Mode Register B are available from the OTP_MRB_RD_DATA register. 15.3.6 RESETING MODE REGISTERS The RESET_MR command resets only the Mode register. Below is the sequence of a typical RESET_MR. a) Write to the OTP_CMD register, setting bit 13 (RESET_MR) to '1'. This will initiate the RESET_MR command. This bit will be cleared by HW. b) Poll the OTP Status register. When bit 0 (BUSY) is a '0', then it's Ok to execute another command. The RESET_M command resets the Mode register and Auxiliary Mode registers. Below is the sequence of a typical RESET_M. a) Write to the OTP_CMD register, setting bit 14 (RESET_M) to '1'. This will initiate the RESET_M command. This bit will be cleared by HW. b) Poll the OTP_STATUS register. When bit 0 (BUSY) is a '0', then it's Ok to execute another command. |
|
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 |