mp32 2.0.0.0
|
MP3 2 Click is an audio decoder expansion board with on-board microSD card slot, that enables you to create your personal audio playback system. It holds the KT403A,a SOC chip solution with intergraded MCU, hardware audio MP3/WAV decoder and DSP, from Shenzhen Qianle Microelectronics Technology Co.
We provide a library for the Mp32 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for Mp32 Click driver.
- Initialization function.void mp32_cfg_setup ( mp32_cfg_t *cfg );
MP32_RETVAL mp32_init ( mp32_t *ctx, mp32_cfg_t *cfg );
- Received response data function.void mp32_hw_reset ( mp32_t *ctx );
void mp32_rx_cmd ( mp32_t *ctx, uint8_t *rd_data, uint8_t len );
void mp32_tx_cmd ( mp32_t *ctx, uint8_t cmd, uint16_t spec_data );
This example demonstates the use of MP3 2 Click board.
The demo application is composed of two sections :
Initializes the driver and enables the click board. Then sets the device to play songs from SD Card, and after that sets volume, and equalizer.
Demonstrates the use of play, play next, and pause modes. Each step will be logged on the USB UART where you can track the program flow.
A valid microSD Card that contains at least one mp3 sound on it needs to be inserted into the click board.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
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.