Search found 6 matches

by awong
Thu 2017-04-06 9:31
Forum: DSP and Audio Software
Topic: VS1053b timer interrupt stops triggering on playback?
Replies: 6
Views: 2024

Re: VS1053b timer interrupt stops triggering on playback?

Found the problem. My memory configuration file was incorrect. I copied one of the user_vs1053.mem files from VSIDE Version 2.36. The file was MEMORY { page 0: #Program RAM #reset: origin = 0x0, length = 2 dac_int: origin = 0x20, length = 1 sci_int: origin = 0x21, length = 1 sdi_int: origin = 0x22, ...
by awong
Mon 2017-04-03 8:19
Forum: DSP and Audio Software
Topic: VS1053b timer interrupt stops triggering on playback?
Replies: 6
Views: 2024

Re: VS1053b timer interrupt stops triggering on playback?

Incorrectly storing MR0 during the interrupt stub prologue was indeed the mistake. Thanks for catching that! Now I have a different problem. During actual playback, I seem to be missing interrupts from the timer. I configure the timer during APPL_RESET, but during active playback my PWM function doe...
by awong
Tue 2017-03-28 9:23
Forum: DSP and Audio Software
Topic: Combining vs1053b patches with custom plugin
Replies: 3
Views: 1285

Re: Combining vs1053b patches with custom plugin

Ah, that makes sense. So the following pseudocode should be correct? loadPlugin("vs1053b-patches.plg"); // Rev 2.4 waitForDreq(); // At this point, reading AIADDR should show 0 because the plugin code has bootstrapped // XXXXX // Load my plugin that carefully avoids stomping on any of the patches me...
by awong
Tue 2017-03-28 9:10
Forum: DSP and Audio Software
Topic: VS1053b timer interrupt stops triggering on playback?
Replies: 6
Views: 2024

Re: VS1053b timer interrupt stops triggering on playback?

Whoa..I missed this response for all of the past few months.

Thanks for the tips. I'll see if I can resurrect my code and figure out what is happening. I don't believe I am setting SM_RESET, but I'll have to reproduce my prior experiment to tell. :)
by awong
Tue 2017-03-21 9:29
Forum: DSP and Audio Software
Topic: Combining vs1053b patches with custom plugin
Replies: 3
Views: 1285

Combining vs1053b patches with custom plugin

Hi, I have written a custom plugin that listens for SCI_AICTRL0 and controls the vs1053b's GPIO ports based on the values. This works fine, but now I want to combine it with some of the features from the vs1053b patches library (mono-downmix and VU meter specifically). I see this http://www.vsdsp-fo...
by awong
Tue 2016-10-18 9:59
Forum: DSP and Audio Software
Topic: VS1053b timer interrupt stops triggering on playback?
Replies: 6
Views: 2024

VS1053b timer interrupt stops triggering on playback?

Hello! I'm have an Adafruit Music Maker Breakout board with a VS1053 on it. It's being driven by a Sparkfun Arduino Mini Pro. I'm attempting to use the VS1053's GPIO pins to drive some LEDs using either TIMER1 or TIMER0 to generate a PWM signal to the LEDs while the DSP is decoding back mp3 audio. T...