How to use 8-bit buffer for QN9080 DMA

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

How to use 8-bit buffer for QN9080 DMA

1,404 次查看
rickdickerson
Contributor III

Hello. I am working with the DMA SPI SDK example for the QN9080. The spi dma transfer example uses a 32 bit buffer for the slave's transmit and receive buffers even though the data width is only 8 bits. I have the same code working in my project, but I would prefer to use 8 bit buffers to preserve memory. Is it possible to use 8 bit buffers for the DMA spi or are 32 bit buffers required?

标记 (2)
0 项奖励
回复
1 回复

1,246 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Rick Dickerson,

Unfortunately the driver example only works with 32-bits because the SPI FIFO works with that word length.

Sorry for the inconveniance this may cause you.

Best Regards

Alexis Andalon

0 项奖励
回复