As a learning experiment, I am trying to use PWM to transmit audio in the FM band (80MHZ - 108Mhz).
Currently, I have a PWM output with a prescaler of 0, ARR of 1, and pulse width of 1. Since I'm using the STM32F4 with a max APB2 clock of 90MHZ, I am able to achieve a 90MHZ output (that looks like a saw-tooth wave on my oscilloscope).
Additionally, I created a separate timer that runs at 3KHZ, to toggle the PWM ARR from 1 to 2 (modulating the frequency). This creates an audible 3KHZ tone when listening on the radio.
Now I'm stuck when thinking about how to actually play raw PCM audio. From my limited understanding, I would want at least 8 bit depth for the audio, but with my current PWM settings, I don't think that's possible or maybe I'm missing something obvious? Perhaps there's another way around this or I've hit the wall with what I can do using this method?