cy8c9560a Command Register (30h) writing not working

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

cross mob
Abp_4615021
Level 1
Level 1

Hello Cypress team,

We have to store port configuration to EEPROM of cy8c9560a

We have modified all port register and that configuration we are wiring to EEPROM by command register

i have tried both command 1 and 3. both are not working and getting the error like SCL is holding slave more 300ms

commad 6 and 7 are working fine. but all writing commands are not working

we are using CY8C9560A -24AXI part number

Please help us to solve this issue

Regards,

Nazar

0 Likes
1 Solution
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello Nazar,

Commands Store Config to E2 POR Defaults Cmd (01h) and Write E2 POR Defaults Cmd (03h) write 147 data bytes to flash. 147 data bytes would be spread over 3 flash blocks. SCL can hold the master for upto 600ms (200ms * 3). Hence, do kindly allow 600ms. If there is any error, the port expander will NACK. Do kindly let me know if the port expander NACKs after 600ms.

Best regards,

Sampath Selvaraj

View solution in original post

0 Likes
2 Replies
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello Nazar,

Commands Store Config to E2 POR Defaults Cmd (01h) and Write E2 POR Defaults Cmd (03h) write 147 data bytes to flash. 147 data bytes would be spread over 3 flash blocks. SCL can hold the master for upto 600ms (200ms * 3). Hence, do kindly allow 600ms. If there is any error, the port expander will NACK. Do kindly let me know if the port expander NACKs after 600ms.

Best regards,

Sampath Selvaraj

0 Likes

Thanks sampath

Now it is working fine with 600ms timeout

0 Likes