LPC 55S28 I2S DMA Send

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC 55S28 I2S DMA Send

515 Views
MHY_0878
Contributor I

Hi guys, I am generating 16-bit and 24-bit positive sine wave in MCU lpc55S28 for testing, using I2S and DMA to transmit 16-bit positive sine wave data is normal, but transmitting 24-bit positive sine wave data, only the I2S transmission waveform is correct, DMA transmission waveform is abnormal, I don't know what the reason is, please help me.
Attach my project code at the end.

 

0 Kudos
Reply
2 Replies

495 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @MHY_0878 

I checked the i2s DMA code, 

bytesPerFrame is determined based on the width of i2s, so there is no need to modify it.

"the DMA transmission waveform is abnormal"

How do you test DMA waveforms? Can you send photos of the relevant waveforms?

BR

Harry

0 Kudos
Reply

483 Views
MHY_0878
Contributor I
Hello, first of all, thank you for your reply, the problem has been found so far, it has been solved.
0 Kudos
Reply