16bit SPI + DMA finally working.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

Greetz,

Someone asked about transfering 16bit data via SPI with DMA here 2 Byte (16 bit) data transfer using DMA to SPIM on Psoc 5 problem , and with help of hima got it working sending data and (searching around also got it) receiving data, it seems to be working as fast as possible. Find the project attached, i don't know if it's portable it uses the following registers SPI_BSPIM_sR16_Dp_u0__16BIT_F1_REG instead of SPI_RXDATA_PTR and SPI_BSPIM_sR16_Dp_u0__16BIT_F0_REG instead of SPI_TXDATA_PTR.

pastedImage_1.png

Regards,

Carlos

0 Likes
0 Replies