How to use i2c on portenta x8 with max carrier?

hi

I have a portenta X8 and portenta max carrier , and I want to play some mp3 files via i2c and audio jack but there is no example on it

through portenta X8's tutorial , I'v connected portenta X8 via ssh and make and made some application about ethernet, but I have no Idea about play mp3 files,

I did a tutorial about audio test
"apk update && apk add alsa-utils alsa-utils-doc alsa-lib alsaconf alsa-ucm-conf && speaker-test -t sine -f 440 -c 2 -r 48000 -D hw:0,0"
and shell said,
speaker-test 1.2.5.1

Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for 0
Playback open error: -2,No such file or directory

I connected power jack so it suppose to activate the soundchip,

Is there sombody help me? (sorry for bad grammer, i'm bad at english)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.