ST / X_NUCLEO_IHM01A1

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   Stepper_Matlab_Control SunTracker_BLE Stepper_Matlab_Control MemsMotorControl ... more

Fork of X_NUCLEO_IHM01A1 by ST Expansion SW Team

Motor Control Library

Introduction

Library to handle the X-NUCLEO-IHM01A1 Motor Control Expansion Board based on the the L6474 component.

Daisy-Chain Configuration

This board can be stacked up to three times so that the L6474 components will be connected in daisy-chain configuration. For this purpose, some resistors must be correctly connected on the boards as depicted here below:

/media/uploads/Davidroid/daisychaintable.png

Platform compatibility

  • NUCLEO boards have been tested with the default configuration provided by the HelloWorld_IHM01A1 example.
  • LPCXpresso11U68 board has been tested with the following patch:
    • to connect with a wire from the LPCX’s D4 pin to the IHM01A1’s D9 pin;
    • to initialize the pwm PinName variable with D4 rather than D9.
  • FRDM-K64F board has been tested with the following patch:
    • to connect with a wire from the FRDM’s D4 pin to the IHM01A1’s D8 pin;
    • to initialize the standby_reset PinName variable with D4 rather than D8.

Example Applications

Revisions of Components/l6474/l6474_class.h

Revision Date Message Actions
17:35b9ca8c4bd6 2016-01-04 + Added check on component's stackability. File  Diff  Annotate
16:bec7dd79f328 2015-12-14 + Default initialization structure set to NULL. File  Diff  Annotate
15:40470df81d9a 2015-12-10 + Comments related to the component updated. File  Diff  Annotate
13:ba2728afe4c2 2015-12-01 + Modified SoftStop() and HardStop() to not to disable the power bridge;; + Added SoftHiz() and HardHiz() to disable the power bridge. File  Diff  Annotate
12:9f4b9540ff3e 2015-11-27 + Updated to initialize the motor to 1/16 Microstepping mode. File  Diff  Annotate
11:b4d365138c21 2015-11-27 + Initialization of the component updated to FULL STEP mode. File  Diff  Annotate
10:c3824af0caf4 2015-11-26 + Updated comments to the new structure generated by the Stm32CubeTOO tool. File  Diff  Annotate
9:6f116ce8e314 2015-11-25 + Minor changes to align to the StepperMotor interface. File  Diff  Annotate
8:42e0b00b1e4d 2015-11-23 + Doxygen documentation completed. File  Diff  Annotate
7:f7e0c3621f77 2015-11-20 + FLAG interrupt handling added.; + Doxygen documentation ongoing. File  Diff  Annotate
6:a47569fc7534 2015-11-19 Set ISR flags as static members. File  Diff  Annotate
5:d3c78f12a78d 2015-11-18 + SPI registers set as static variables and as arrays of MAX_NUMBER_OF_DEVICES, in order to support daisy-chain configuration.; + Direction type "StepperMotor::direction_t" modified. File  Diff  Annotate
4:83a1eb397a65 2015-11-13 "StepperMotor" abstract class defined. File  Diff  Annotate
1:b38ebb8ea286 2015-10-16 + Removed Timer Serivce Routine's flag and restored direct callback.; + Restored "L6474_WaitWhileActive()" function.; File  Diff  Annotate
0:2887415a46cd 2015-10-14 Library to handle the X_NUCLEO_IHM01A1 Motor Control Expansion Board. File  Diff  Annotate