How Does The DC Motor 12 Click Board™ Work?
The DC Motor 12 Click Board™ is based on the TB9054FTG, a dual-channel, H-bridge, brushed DC motor driver from Toshiba Semiconductor. The TB9054FTG allows a dual configuration with two motors with 5A current ratings per channel or one 10A channel drive in a Parallel mode of operation. It is also rated for an operating voltage range from 4.5V to 28V, with the motor controlled directly through an SPI serial interface or PWM signal from an unpopulated header. The PWM control with low on-resistance enables highly efficient motor drive output, ensuring reliable operation for highly competitive automotive applications.
Besides the SPI communication, several GPIO pins connected to the mikroBUS™ socket pins are also used to control the TB9054FTG associated with the PCA9538A I2C-configurable port expander, such as Sleep Mode pin and DC motor channels current monitor routed to the RST and AN pins (SLP and CM) of the mikroBUS™ socket. The PCA9538A also allows choosing the least significant bit (LSB) of its I2C slave address by positioning SMD jumpers labelled as ADDR SEL to an appropriate position marked as 0 and 1, alongside its interrupt feature routed to the INT pin of the mikroBUS™ socket.
As mentioned, the DC Motor 12 Click Board™ supports double or single DC motor configuration. To select the motor control and operational modes, the corresponding switches on the board marked with SW1-SW4 are used. The first two represent the switches for motor control selection, more precisely, the choice of control directly by the PWM signal or through the SPI interface, while the second two represent the selection of the motor operational mode. There are four possible modes, i.e., Small Mode (two separated channels), Large Mode (two channels are connected and support one DC motor), Half Mode, and Prohibited Mode, where the channels are completely disabled.
The control and PWM signals can also be brought externally via the onboard header J1. In that case, the PWM1 and PWM2 pins specify forward, reverse, or brake modes for motor 1, and the PWM3 and PWM4 pins specify these modes for motor 2. The enable EN pins select the drive or stop mode for the motor. A broad range of configuration options for this driver, control, and mode selections, can be found in the attached datasheet. This Click board™ also has additional LEDs for anomaly indication. Suppose a state such as an overtemperature or overcurrent/under voltage is detected. In that case, such anomaly is indicated by red LEDs marked as DIAG1 and DIAG2 associated with the interrupt pin.
The DC Motor 12 Click Board™ supports an external power supply for the TB9054FTG, which can be connected to the input terminal labelled as VM and should be within the range of 4.5V to 28V, while the DC motor coils can be connected to the terminals labelled from OUT1 up to OUT4.
The DC Motor 12 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
||Can be used for automotive applications (AEC-Q100 Grade 1 qualified), such as control of the throttle valve, engine valves, retractable door mirrors, and seat heater
||TB9054FTG - brushed DC motor driver from Toshiba Semiconductor
||Driver for one or two DC motors, direct PWM control or through SPI interface, selectable motor control functions and operational modes, Sleep mode and current monitoring, full protection and diagnostics, and more
|Click board size
||L (57.15 x 25.4 mm)
This table shows how the pinout of the DC Motor 12 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
|Channel Current Monitor
|SPI Chip Select
|SPI Data OUT
|SPI Data IN
ONBOARD SETTINGS AND INDICATORS
||Power LED Indicator
||Diagnostic LED Indicators
||Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V
||I2C Address Selection 0/1: Left position 0, Right position 1
||External PWM/Control Signals Header
||Motor Control Selection
DC MOTOR 12 CLICK ELECTRICAL SPECIFICATIONS
|External Supply Voltage
|Operating Temperature Range