I'm also not sure exactly what it does when interrupts are re-enabled. I didn't really think about what it was doing if the interrupt didn't trigger when it was supposed to, but I don't think it's designed to skip samples if that happens. I'm using a modified version of the WaveHC lib. What are you doing with the audio when you update the LEDs? Do you skip an audio sample (or two) to compensate or just leave it running? Skipping samples might make it sound better. Hence the warbling that's been bugging me. Which is impossible if I have too many LEDs attached. So I have to output all the LED data in between DAC updates. The problem with updating the LEDs isn't one of the SPI port being too slow. The board I'm using is one of my own design with a 1284p.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |