Bit-banged I2S on STM32F103
Hello everybody,
I am trying to bit-bang an I2S interface on an STM32F103 at 72MHz using TIM2.
Am I way too optimistic to get a 3MHz "clock" out on a pin? The fastest I can seem to get it is at 90kHz.
I have set the "prescaler" of TIM2 to "0" and "1".
And, I have set the auto reload register at 11 with an interrupt writing "0" and "1" to a GPIO pin.
And Channel 1 set as "Output comapre no output" as well as "PWM1 output" on PA15.
The CPU and timer frequencies are 72MHz.
Any suggestions? (other than get an STM32 with I2S ;) )
Kind regards,
pieterg!
