We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2019-12-04
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Brushed
Downloaded: 2865 times
Not followed.
License: MIT license
STSPIN233 click is a complete solution for a 3-phase integrated motor driver, based on the STSPIN233, Low voltage 3-phase integrated motor driver. It is optimized for battery-powered, low voltage motor driving applications, featuring the lowest standby current available on the market (max 80 nA).
Do you want to subscribe in order to receive notifications regarding "STSPIN233 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "STSPIN233 click" changes.
Do you want to report abuse regarding "STSPIN233 click".
Library Description
Library contains functions for STSPIN233 click initialization and basic control. User has at it's disposal this library, which contains functions for waking up the module and sending commands to it. Click board can also be initialized and used with UART terminal.
Key functions:
void stspin233_send_single_cmd ( uint8_t *tx_buf )
- Send single commandvoid stspin233_send_double_cmd ( uint8_t *cmd_buf, uint8_t *arg_buf )
- Send double commandvoid stspin233_wakeup( )
- Module wake-up (procedure)Examples description
The application is composed of three sections :
void application_task ( )
{
uint8_t console_drdy;
char console_rx_data;
console_drdy = UART_Rdy_Ptr( );
if ( console_drdy != 0 )
{
console_rx_data = UART_Rd_Ptr( );
app_cmd_parser( console_rx_data );
}
}
Additional Functions :
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.