| Electronic Components Datasheet Search |
|
POWERSTEP01 Datasheet(PDF) 76 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
POWERSTEP01 Datasheet(HTML) 76 Page - STMicroelectronics |
|
76 / 92 page ![]() Programming manual powerSTEP01 76/92 DocID025022 Rev 5 This command reads the current PARAM register value; PARAM is the respective register address listed in Table 12 on page 51. The command response is the current value of the register (most significant byte first). The number of bytes composing the command response depends on the length of the target register (see Table 12). The returned value is the register one at the moment of GetParam command decoding. If register values change after this moment, the response is not accordingly updated. All registers can be read anytime. Any attempt to read an inexistent register (wrong address value) causes the command to be ignored and the CMD_ERROR flag to rise at the end of the command byte as if an unknown command code were sent. 11.2.5 Run (DIR, SPD) The Run command produces a motion at SPD speed; the direction is selected by the DIR bit: '1' forward or '0' reverse. The SPD value is expressed in step/tick (format unsigned fixed point 0.28) that is the same format as the SPEED register (Section 11.1.4 on page 53). Note: The SPD value should be lower than MAX_SPEED and greater than MIN_SPEED, otherwise the Run command is executed at MAX_SPEED or MIN_SPEED respectively. This command keeps the BUSY flag low until the target speed is reached. This command can be given anytime and is immediately executed. 11.2.6 StepClock (DIR) The StepClock command switches the device in Step-clock mode (Section 7.7.5 on page 28) and imposes the forward (DIR = '1') or reverse (DIR = '0') direction. When the device is in Step-clock mode, the SCK_MOD flag in the STATUS register is raised and the motor is always considered stopped (Section 7.7.5 and Section 11.1.28 on page 71). The device exits Step-clock mode when a constant speed, absolute positioning or motion command is sent through SPI. Motion direction is imposed by the respective StepClock Table 64. Run command structure Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0 0101000 DIR From host XXXX SPD (byte 2) From host SPD (byte 1) From host SPD (byte 0) From host Table 65. StepClock command structure Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 01 0110 0 DIR From host |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |