
System Commands
Status
Description: Peripheral Microcontroller Status
Command: Any
Status is automatically updated each time a packet is transmitted by the DSP. It is
reported in Byte 1 in the next packet. This means that the status reported in the very
first packet may not be valid.
Status is only valid up to the point of the completion of the previous command. So, if
the last command was 2 weeks ago, the status bits will be two weeks old. Unless you
are doing commands regularly, it's best to always do a PM_Cmd_NOP before you
read the status bits.
Status Bits:
Bit 0: UART RX Data Available
Bit 1: UART TX Space Available
Bit 2: -- Reserved
Bit 3: -- Reserved
Bit 4: UART Overrun (Reset using PM_Cmd_COM_RESET)
Bit 5: -- Reserved
Bit 6: EE Busy (Write in progress, will ignore any write attempts)
Bit 7: WDT Reset (The last reset was due to a watchdog timer timeout)
1 = TRUE, 0 = FALSE
PM_Cmd_NOP
Description: No Operation
Command: 0x00
Data:
Don’t Care
Response: 0x00
The NOP command is a good way to get the status of the Peripheral Microcontroller
without any other action.
dspstak™ 21262sx User Manual
Page 22