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

CAPSENSE™ & MagSense Forum Discussions

nishc_4031946
Level 1
First reply posted First question asked Welcome!
Level 1

Hi,

As suggested by Hari, I have reached till point of, getting CRC code for required changes made through EZ click , so I generated my CRC code, it is 0xa3f7 in my case .

 

My query here is I am unable to proceed with further steps i.e. point no. 2 and 3 from page 70.

 

Can you share your thought on this how can I program this. I tried different methods but CTRL_CMD  and CTRL_CMD_ERR both has 255 as data in them.

 

Thank you.

 

Regards,

Nikhil S.

nishc_4031946_0-1616479164212.png

 

 

0 Likes
1 Solution
LinglingG_46
Moderator
Moderator 750 replies posted First comment on KBA 500 replies posted
Moderator

My query here is I am unable to proceed with further steps i.e. point no. 2 and 3 from page 70.

Answer:  W  37 86 02 P // point 2, save the data to  nonvolatile memory.

Please refer to the linker file , page 72(Figure 5-25) or page 73(Figure 5-26) : https://www.cypress.com/file/46366/download

If the CTRL_CMD_ERR is 255, you should repeat step 3. recalculate the CRC, then write in the corresponding register.  How to calculate the CRC, refer to the Figure 5-25.

 

View solution in original post

0 Likes
1 Reply
LinglingG_46
Moderator
Moderator 750 replies posted First comment on KBA 500 replies posted
Moderator

My query here is I am unable to proceed with further steps i.e. point no. 2 and 3 from page 70.

Answer:  W  37 86 02 P // point 2, save the data to  nonvolatile memory.

Please refer to the linker file , page 72(Figure 5-25) or page 73(Figure 5-26) : https://www.cypress.com/file/46366/download

If the CTRL_CMD_ERR is 255, you should repeat step 3. recalculate the CRC, then write in the corresponding register.  How to calculate the CRC, refer to the Figure 5-25.

 

0 Likes