cancel
Showing results for 
Search instead for 
Did you mean: 

Inquiries about spiritDSP

sbaek.11
Associate II

Inquiries regarding spiritDSP.

We are implementing mp3 with DAC DMA using SpiritDSP.

The time to play depends on the samplerate and bitrate of the mp3 file.

The original time is 3 minutes and 10 seconds,

The playback time is different as shown below.

The capacity of the mp3 file was converted to the same BitRate without any difference even if the SampleRate was different.

There is a phenomenon that the time to output the same capacity at DAC output varies depending on the sample rate.

SampleRate is set as Timer, but is there a part that should be set separately?

We need help from many users.

2 REPLIES 2
Ozone
Lead

I don't know spiritDSP.

Perhaps you have a performance issue, and the DAC output interrupt gets deferred by conversion routines.

Did you try a profiler run ?

sbaek.11
Associate II

​using STM32F405RG.

The DAC cycle is output to timer and is processing DMA.