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

cross mob
YuMa_1534086
Level 7
Level 7
Distributor - Macnica (Japan)
500 replies posted 250 sign-ins 10 likes received

Hello.

 

Customer used CY8C5868LTI-LP039.

And they used EEPROM and DieTemp components.

 

When die temperature measurement is started, writing to EEPROM becomes fail.

 

If DieTemp_1_Start () is not called, EEPROM_1_Write () will succeed.

But EEPROM_1_Write () will fail if there is DieTemp_1_Start ().

Error status is CYRET_UNKNOWN.

 

Why is EEPROM_1_Write () an error?

And could you please let us know a method that EEPROM_1_Write () will succeed even if there is DieTemp_1_Start ().

 

Best Regards.

Yutaka Matsubara

0 Likes
1 Solution

Hello.

SPC is used to program/erase the FLASH, EEPROM and Nonvolatile Latches.  This is detailed in PSoC 5 Programming Specification.  It's highly advised to follow the proper algorithm/API's when writing to these components.  Again, this is detailed in PSoC 5 Programming Specification and in the corresponding component datasheet.

Do not focus on Die Temp SPC transfers alone.  ALL SPC transfers that must be executed properly.

Example: can't write to an NVL followed by writing to EEPROM until the write to NVL is completed.  Both components rely on SPC but, need to wait for the first SPC transfer to complete before a subsequent transfer can begin.

View solution in original post

0 Likes
11 Replies