|
|
| READ ALL CMD |
|
|
|
|
|
|
|
WRITE (MOSI): 40 | FF | FF | FF FF FF FF FF | FF | FF | FF | FF FF | FF | FF | FF FF |
RESPONSE (MISO): XX | 4D | 10 | 00 49 4D 53 19 | 05 | 00 | 00 | 01 F4 | 00 | 00 | 50 01 |
00
00 | FAULT |
01 | EN_ACT |
80 | WARNTEMP |
0CLKIOF
0CLKTYP
500 | HCDT_LO | |
HCDT_HI | ||
| ||
0 | DIR_OVRID | |
256 | MSEL | |
5 | MHC | |
25 | MRC | |
S | USR_ID3 |
MUSR_ID2
I USR_ID1
1.0.00VERSION
M DEVICE
WRITE ALL CMD
WRITE (MOSI):
RESPONSE (MISO):
80 XX
49 4D | 53 |
FF FF | FF |
1905 FF FF
00 FF
00 FF
01 | F4 | 00 | 00 | 50 | 01 | 33 |
FF FF FF FF FF FF | FF |
I
M
S 25 5 256 0
500
0 0 80 01 51
USR_ID1 USR_ID2 USR_ID3
MRC MHC MSEL DIR_OVRID HCDT_HI HCDT_LO CLKTYP CLKIOF WARNTEMP EN_ACT CKSUM
CHECKSUM CALCULATION 80+49+4D+53+19+05+00+00+01+F4+00+00+50+01=CD BINARY = 1100 1101
1'S COMPLEMENT = 0011 0010
2'S COMPLEMENT = 0011 0011 DEC = 51
HEX = 33
Figure 2.7.2: Read/Write Byte Order for Parameter Settings (Default Parameters Shown)
SPI Communications Sequence
See Timing Diagram and Byte Order figures.
READ
1.Send READ ALL Command 0x40 down MOSI to Microstepping MForce PowerDrive followed by FF (15 Bytes).
2.Receive Parameter settings from MISO MSB First
Write
1.Send WRITE ALL Command (0x80) down MOSI followed by Parameter Bytes beginning with MSB (MRC) and ending with the LSB (Checksum of all parameter Bytes).
2.Response from MISO will be FF (10) Bytes.
40 | Microstepping MForce PowerDrive Manual Revision R040507 |