Can't Disable auto store in CY14B512Q2A

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

cross mob
Anonymous
Not applicable

Hi,

   

I write a sequence as below, And I am using CY14B512Q2A IC with out auto store circuit.

   

step 1:  send 0X19 ,       //Disabling auto store

   

Step 2:  send 0X3C,      // store it in nonvolitile memory

   

Step3:  write "Ganesh" into address 00 to 05,     // writing some Data in IC using write command 

   

Step4: Swith OFF the module   //switch OFF power for the circuit.

   

Step5: Switch ON the module  //Switch ON Power supply.

   

Step6: Reading from the adress 00 to 05, and i get "Ganesh".

   

 

   

if you see the above steps what i did  is writing a data("Ganesh")in SRAM as per data sheet. but after disconnect the power this data should not be there in the particular adress.  but in my case the data is there. and i can read it every time. 

   

 

   

Please anybody tell me what is mistake in the Steps i follwed.

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

Are you setting write enable bit "WEN=1" by sending WREN command prior to sending  specil NV commands  (ASDIS and STORE in this case )?

   

1. Send the WREN command to set the WEN bit to 1

   

2. You may read the status register to check whether WEN bit is set to 1 (optional -just to verify)

   

3. Send ASDIS command and wait for 500 us

   

4.Send the WREN command to set the WEN bit to 1 again for the next command

   

5. Send STORE command and wait for 8ms

   

The above sequence would disable the AutoStore and save the Austo Store diable status for all subsequence power cycles until user enables it.

   

Repeat your test sequence after executing above once.

   

Hope this helps.

   

-Thanks,

   

Shivendra

View solution in original post

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

I presume you already did check for, but what happens when you put some different data into the same locatiions?

   

 

   

Bob

0 Likes
Anonymous
Not applicable
0 Likes
ShivendraSingh
Employee
Employee
25 solutions authored 50 replies posted 10 solutions authored

Are you setting write enable bit "WEN=1" by sending WREN command prior to sending  specil NV commands  (ASDIS and STORE in this case )?

   

1. Send the WREN command to set the WEN bit to 1

   

2. You may read the status register to check whether WEN bit is set to 1 (optional -just to verify)

   

3. Send ASDIS command and wait for 500 us

   

4.Send the WREN command to set the WEN bit to 1 again for the next command

   

5. Send STORE command and wait for 8ms

   

The above sequence would disable the AutoStore and save the Austo Store diable status for all subsequence power cycles until user enables it.

   

Repeat your test sequence after executing above once.

   

Hope this helps.

   

-Thanks,

   

Shivendra

0 Likes