lvgl-music-player
Wraps the upstream lv_demo_music() — album-art carousel, time slider, track list, equaliser visualiser. Pairs the LVGL UI with the SDK's audio chain (<alp/i2s.h> + a WM8960 codec).
Source: examples/lvgl-music-player/.
What it shows
- LVGL renders the player UI on a 240×320 ST7789 panel.
- The WM8960 codec is configured via I²C (the
wm8960chip driver handles the register writes) and streams audio via I²S (host I²S0 → codec → headphone out). - The MP3 decoder (
minimp3from the §D.lib batch) supplies PCM frames to the I²S sink.
Hardware needed
- E1M-AEN family SoM.
- E1M-EVK carrier with the audio breakout board.
- 240×320 ST7789 TFT.
- Headphones plugged into the codec's HP output.
board.yaml
schema_version: 2
som:
sku: E1M-AEN701
carrier:
name: E1M-EVK
cores:
m55_hp:
os: zephyr
app: ./src
peripherals: [i2c, i2s, spi, gpio]
libraries: [lvgl, minimp3]
chips:
- wm8960
- st7789
diagnostics:
log_level: info
See also
Questions about this page? Discuss in Community Forum