I'm building my first GBZ. Almost everything is working, I have been playing for hours, but I can't fix the PWM audio.
First of all, some info:
-I'm using the last version of Recalbox
-I decided not to use a Teensy, all the buttons are wired to the GPIO pins.
-The GPIO18 (usually PWM0) is used by the Y button. I followed this scheme: -I built a low-pass filter following this design: -I tried different PWM configurations using these references: -I'm using a PAM8403 amplifier. I followed this scheme to wire it: -The speaker is rusty, I know, but I'm using earphones to test the audio output.
The output is just noise (like an old modem sound). I tried to use GPIO13 and GPIO19 as PWM audio outputs with the following configuration:
Code: Select all
dtoverlay=pwm,pin=13,func=4
// OR
dtoverlay=pwm,pin=19,func=5
