info on Flexio_SPI_eDMA data format

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

info on Flexio_SPI_eDMA data format

784件の閲覧回数
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

タグ(4)
0 件の賞賛
返信
0 返答(返信)