| Os motores de busca de Datasheet de Componentes eletrônicos |
|
SPSB100 Folha de dados(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SPSB100 Folha de dados(HTML) 37 Page - STMicroelectronics |
|
37 / 213 page ![]() 3.8 User's NVM modification procedure SPSB100 integrates nonvolatile memory (NVM) to store ST factory trim data and customer’s personalization data. Trim data are stored in ST-NVM space while customer’s data are stored in USER-NVM space. SPSB100 is delivered out of ST factory with default values stored in USER-NVM space. Default value ensures a proper behavior of application with SR6x microcontroller as in configuration 1 shown in the Figure 5, details of default power-up and power-down settings can be found in the Section 3.1.1: System supply configuration 1. The customer has the possibility to reprogram USER-NVM space only once; or use default values stored by ST. The U_NVM_RELEASE<15:0> bits in USER-NVM space can be used to store a USER-NVM configuration release. The default value is 0d. The Figure 24 describes the way to program the NVM. The following color code is used to indicate the offered possibilities: • Green: SPSB100 starts up with valid data stored in ST-NVM and USER-NVM (USER-NVM previously programmed by ST or by the customer). • Blue: SPSB100 enters in the USER-NVM programming procedure. • Orange: USER-NVM emulation feature is used. Figure 24. Procedure to program the NVM Power -OFF START -UP state any STATE INIT state Digital reset OK NOK PM100 unpowered U-NVM-DL state U-NVM-PROG-1 state SPI cmd “GO_INIT” START -SM state User’s NVM program mode SPI cmd “U-NVM_PROG” U-NVM-PROG-2 state ST-NVM-DL state V VS > V PORVS_R VVS < VPORVS_F VVS < VPORVS_F VVS < VPORVS_F ( ST-NVM CRC OK AND U-NVM CRC OK AND U-PROG = 00 AND SWDBG ≥ 12V ) ? Y N 3.8.1 Starts-up with valid NVM data and NVM faults management The ST-NVM data are read in ST-NVM-DL state, then USER-NVM data are read in U-NVM_DL state. If the conditions to enter in USER-NVM modification procedure are not meet the state machine proceeds to INIT state where further safety check will be performed. 3.8.2 USER-NVM emulation It is possible to emulate the USER-NVM content using the data stored in RAM image. This can only be done when the USER-NVM has not been programmed by user. To do it, force the voltage on SWDBG higher than VNVM_EMU_H (20 V max), before plugging the power supply, to enter in USER-NVM modification mode. The modification mode is entered after current ST- and U- NVM data have been read and their CRC checked. First the state machine enters the USER-NVM-PROG-1 state. In this state the user must supply VIO externally (3.3 or 5.0 V). At this stage, the SWDBG pin can be released and do not have to be maintained higher than VNVM_EMU_H. Then user can modify USER-NVM RAM through SPI access and the U_NVM SPI registers from DCR10 up to DCR28 can be written. When completed, the user can set through SPI access the GO_INIT. Doing this, the state machine transits on INIT state. It is forbidden to enable regulators in the USER-NVM-PROG-1 state. SPSB100 Functional description DS14640 - Rev 2 page 37/213 |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |