User manual

PM_Cmd_EE_WREN
Description: Enables Writes to the EE Memory
Command: 0x09
Data: 0x42 (Enable), All other values (Disable)
Response: 0x00
This command allows the EE memory to be written. You should disable writes after
you are done writing the EE Memory. EE_WREN is always disabled after a system
reset.
PM_Cmd_EE_WR
Description: Write EE at current EE Address
Command: 0x06
Data: EE Data
Response: 0x00
This command is only valid if the EE_WREN has been enabled. EE Data is written to
the current address pointed to by the EE Address Pointer. This address is set by the
EE_ADDR command and auto incremented after every EE_WR or EE_RD.
The EE Data at Address 0x7F is reserved by the bootloader to hold the default baud
rate, so don’t overwrite this location.
You cannot write the EE Memory faster than 1 byte every 10 ms. The EE Busy Status
Bit will be 1 while a write is in progress. You can use this bit to time EE writes.
PM_Cmd_EE_RD
Description: Read EE at current EE Address
Command: 0x0D
Data: Don’t Care
Response: EE Data
EE Data is read from the current address pointed to by the EE Address Pointer. This
address is set by the EE_ADDR command and auto incremented after every EE_WR
or EE_RD.
dspstak™ 21262sx User Manual Page 27