How to get data from the NV cells back into the SRAM without power down?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

is there a command or what is the command sequence to retrieve data from the NV portion back to the SRAM without a power down?

0 Likes
1 Solution
ShivendraSingh
Employee
Employee
25 solutions authored 50 replies posted 10 solutions authored

Bits,

   

nvSRAM stores data into NV cell during STORE operation which is triggered either by automatically during power fail (AutoStore) or can be initiated by the software sequence (Software Store) or a hardware pin (HSB Store).  Similarly, data is recalled to SRAM cell from NV cells during AutoRecall during power up cycle or through software command (Software Recall) during normal operation.

   

After the Recall due to power cycle or through Software command, the data in the SRAM and NV cell becomes identical. During normal operation, all write and in the SRAM cell of nvSRAM and data is not stored in NV cells until a STORE command is initiated by the controller.  If user application writes some data in SRAM locations and then decided to overwrite it with the previous data from NV cell then s/he can issue a Software Recall command which will overwrite the newly written data of SRAM cell with the data stored in NV cells.

   

Since nvSRAM is offered with three different inter options such as parallel, Serial SPI and Serial I2C, initiating Software Recall command will vary according to interface type.

   

In Parallel interface – Software Recall is initiated by reading from six specified address locations in a sequence.

   

In Serial Interface (SPI & I2C) – There is specific command for initiating a Software Recall.

   

 

   

Thanks,

   

Shivendra

View solution in original post

0 Likes
1 Reply
ShivendraSingh
Employee
Employee
25 solutions authored 50 replies posted 10 solutions authored

Bits,

   

nvSRAM stores data into NV cell during STORE operation which is triggered either by automatically during power fail (AutoStore) or can be initiated by the software sequence (Software Store) or a hardware pin (HSB Store).  Similarly, data is recalled to SRAM cell from NV cells during AutoRecall during power up cycle or through software command (Software Recall) during normal operation.

   

After the Recall due to power cycle or through Software command, the data in the SRAM and NV cell becomes identical. During normal operation, all write and in the SRAM cell of nvSRAM and data is not stored in NV cells until a STORE command is initiated by the controller.  If user application writes some data in SRAM locations and then decided to overwrite it with the previous data from NV cell then s/he can issue a Software Recall command which will overwrite the newly written data of SRAM cell with the data stored in NV cells.

   

Since nvSRAM is offered with three different inter options such as parallel, Serial SPI and Serial I2C, initiating Software Recall command will vary according to interface type.

   

In Parallel interface – Software Recall is initiated by reading from six specified address locations in a sequence.

   

In Serial Interface (SPI & I2C) – There is specific command for initiating a Software Recall.

   

 

   

Thanks,

   

Shivendra

0 Likes