info on Flexio_SPI_eDMA data format

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

info on Flexio_SPI_eDMA data format

184 Views
fern_amt
Contributor I

Hi everyone
Im trying to modify the example "frdmmcxn947_flexio_spi_edma_b2b_transfer_master_cm33_core0"
to fill my requiements, but I can't get how to work the way I need it.
I'm trying to port something already made to the NXP MCXNX47.

I'm very new to NXP microcontrollers and also to MCUXpresso IDE.
Also, I'm not a C skilled programmer.

TLDR I need to transmit 32 bit MSB word aligned. e.g. 0x12345678.

I was succesful with some tweaking of the drivers and swaping the order of the bytes. Just after many troubles.

Is there a way to modify Flexio shifters to have 32 bit in a go passing an uint32_t array?
Is this something about endianess of the chip?
Something with eDMA? Maybe mor C skills only?

By the way, I can live whith byte swaping.
But the questions are still in my head.

I've been looking for clear info on how to for Flexio but all of the examples I have seem or tested are byte oriented. 
I'll be glad if some one can point me in the right direction.

Thanks,

Fernando

0 Kudos
Reply
0 Replies