PM_Cmd_RESET
Description: Reset the dspstak 21262sx
Command: 0x0A
Data:
0xC4
Response: Don’t
Care
This is a software reset that acts just like a hardware reset.
PM_Cmd_MODE
Description: Return Mode Jumper Settings
Command: 0x0B
Data:
Don’t Care
Response: See
Below
Returns the mode setting selected by M2, M1, M0 in the lowest three bits of the
response. Modes 0 through 3 are User Modes. You may want to use this information
to cause your program to execute different applications depending on the Mode
settings. For example, your product might be an encoder in Mode 0 and a decoder in
Mode 1. You would only need to upload one program for both applications.
The upper 5 bits are 10100. These bits are used as an integrity check to make sure
that the Peripheral Microcontroller is actually present.
Mode 0:
0xA0
(User Mode 0)
Mode 1:
0xA1
(User Mode 1)
Mode 2:
0xA2
(User Mode 2)
Mode 3:
0xA3
(User Mode 3)
Mode 4:
0xA4
(--Reserved, Do not use)
Mode 5:
0xA5
(--Reserved, Do not use)
Mode 6:
0xA6
(Upload Programming Mode)
Mode 7:
0xA7
(Clock Programming Mode)
dspstak™ 21262sx User Manual
Page 24