LPC 55S28 I2S DMA Send

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC 55S28 I2S DMA Send

635 次查看
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 项奖励
回复
2 回复数

615 次查看
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 项奖励
回复

603 次查看
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 项奖励
回复