Dear mbedders, :D
I was wondering if anyone here has used a ticker object to generate interrupts at 32KHz, 44.1Khz or 48KHz, which are standard audio sampling frequencies.
Since I have previously worked with an ARM LPC, I know that I probably have to change one
of the timer registers, such as the pre-scaler register to support a better precision than 1us, although I can't find documentation related to the Ticker object, or what timer it uses.
I'm using a ticker object to generate basic waveforms using wavetable synthesis and it would be nice if I could have a 32KHz sampling frequency instead of 25, 40 or 50 KHz...
Thanks in advance,
Tiago
Dear mbedders, :D I was wondering if anyone here has used a ticker object to generate interrupts at 32KHz, 44.1Khz or 48KHz, which are standard audio sampling frequencies. Since I have previously worked with an ARM LPC, I know that I probably have to change one of the timer registers, such as the pre-scaler register to support a better precision than 1us, although I can't find documentation related to the Ticker object, or what timer it uses. I'm using a ticker object to generate basic waveforms using wavetable synthesis and it would be nice if I could have a 32KHz sampling frequency instead of 25, 40 or 50 KHz... Thanks in advance,
Tiago