This thesis addresses the lack of audio capabilities in the MiŠKo 3 development system, which does not support sound generation or playback in its original form. The problem was solved by designing and implementing a dedicated audio module and by developing a music tracker application capable of real-time music creation and playback directly on the device.
The audio module was designed as an extension board providing 16-bit resolution and a 48 kHz sampling rate. It is based on the PCM5102A digital-to-analog converter, the DS1881 digital potentiometer, the OPA1679 operational amplifier, and the TPA6111A2 headphone amplifier. The module also has a microSD card slot. Communication with the microcontroller is performed via I2S, I2C and SPI protocols. The printed circuit board was designed in Altium Designer as a two-layer board. The software was developed in STM32CubeIDE using low-level drivers and includes custom libraries for display management, user input handling, audio playback, and microSD card access.
The result is a functional music tracker with a graphical user interface capable of multi-channel basic waveform generation and audio sample playback from a microSD card, as well as the creation of complete musical pieces.
|