Skip to main content
Associate
April 19, 2024
Solved

Freezes at regular intervals in APP_ZIGBEE_NVM_Write

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?

This topic has been closed for replies.
OuadiBest answer
ST Technical Moderator
May 7, 2024

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

1 reply

OuadiBest answer
ST Technical Moderator
May 7, 2024

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