« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.9 - SetDefaults (SetToFactoryDefaults)

Executing this function causes the current or last used values (or the factory defaults) to be stored in flash as the power-up defaults.

The U6 flash has a rated endurance of at least 20000 writes, which is plenty for reasonable operation, but if this function is called in a high-speed loop the flash could eventually be damaged.

Note: Do not call this function while streaming.

Table 5.2.9-1. SetDefaults Command Response

Command:  
Byte  
0 Checksum8
1 0xF8
2 0x01
3 0x0E
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 0xBA (0x82)
7 0x26 (0xC7)
   
Response:  
Byte  
0 Checksum8
1 0xF8
2 0x01
3 0x0E
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 Errorcode
7 0x00