Using Teensy LC stand-alone with Audio Library

Status
Not open for further replies.

blakeAlbion

Well-known member
It's amazing to me I can use some features of the Teensy Audio Library with the Teensy LC.
I am trying to use it stand-alone (no outboard DAC).
I actually do not need the DAC output. But, I must choose an audio output source or the library will not function correctly. So I choose the LC DAC.
(Why would I use the Teensy Audio Library and not care about using the audio output? I'm using it as a function generator sort of.)

However, I want to use PWM on some pins. If I attempt to change the PWM frequency (to something above the range of human hearing) it is disabling the DAC, and therefore the Audio Library does not function.

I assume this is because the internal DAC is sharing some resources with the PWM timers. Whatever it is, I wanted to know if I can use SOME pwm pins without clobbering the DAC, and if so, which ones?

(I don't know how many things I just stated are wrong. It's all guessing at this point.)

Ben
 
Status
Not open for further replies.
Back
Top