ST Microelectronics IHM02A1 motor driver board for two stepping motors. ST L647OPD motion controller ICs are used on the IHM02A1. Nanotec ST4118X1404-A motors used on testing.
Dependencies: X_NUCLEO_IHM02A1
Revision 5:3b8e19bbf386, committed 2015-12-04
- Comitter:
- Davidroid
- Date:
- Fri Dec 04 13:57:42 2015 +0000
- Parent:
- 4:e6f9f02cbee9
- Child:
- 6:b1fc7b9f1a37
- Commit message:
- + Some comments removed from the code and added to the web-page.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Dec 01 14:07:03 2015 +0000
+++ b/main.cpp Fri Dec 04 13:57:42 2015 +0000
@@ -79,19 +79,7 @@
/* Initializing SPI bus. */
DevSPI dev_spi(D11, D12, D3);
- /* Initializing Motor Control Expansion Board.
-
- You can stack up to 4 expansion boards together, each one controlling
- two stepper motors in daisy-chain configuration, so that motors will
- be in daisy-chain configuration two-by-two.
-
- Concerning the SSEL pin of SPI communication, expansion boards must
- be in one of the following configurations:
- + SB_23 resistor connected only --> SSEL on pin A2;
- + SB_7 resistor connected only --> SSEL on pin D2;
- + SB_8 resistor connected only --> SSEL on pin D10;
- + SB_9 resistor connected only --> SSEL on pin D5.
- */
+ /* Initializing Motor Control Expansion Board. */
x_nucleo_ihm02a1 = new X_NUCLEO_IHM02A1(A4, A5, D4, A2, &dev_spi);
/* Building a list of motor control components. */
Timo Karppinen