cancel
Showing results for 
Search instead for 
Did you mean: 

Freezes at regular intervals in APP_ZIGBEE_NVM_Write

Born2
Associate II

Zigbee is used for wireless communication with reference to Zigbee_OnOff_Router_NVM. The problem I'm currently facing is when connecting multiple routers and sending data every 2 seconds, the APP_ZIGBEE_persist_save freezes for about 30 seconds at regular intervals. What could be the cause of this?

1 ACCEPTED SOLUTION

Accepted Solutions
Ouadi
ST Employee

Hello @Born2,

It seems that this delay is related to the data transfer mechanism which is needed to switch to a new pool of set pages when the previous one is full. This is the concept of the EEPROM emulation driver based on pool circular mode. 

Actually when the transfer is performed, all existing data are copied into the new pool, the write access time can be then significantly higher depending on the number of variables used.

Best regards,

Ouadi

View solution in original post

1 REPLY 1
Ouadi
ST Employee

Hello @Born2,

It seems that this delay is related to the data transfer mechanism which is needed to switch to a new pool of set pages when the previous one is full. This is the concept of the EEPROM emulation driver based on pool circular mode. 

Actually when the transfer is performed, all existing data are copied into the new pool, the write access time can be then significantly higher depending on the number of variables used.

Best regards,

Ouadi