SPI communication with 32bit value

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

SPI communication with 32bit value

654 Views
Learner
Contributor III

Hi Experts,

I am trying to implements SPI communication with my Slave IC with the option 32bits per frame.
But in processor expert generated code i can pass only 8bit char array:

status_t LPSPI_DRV_MasterTransferBlocking(uint32_t instance,
const uint8_t * sendBuffer,
uint8_t * receiveBuffer,
uint16_t transferByteCount,
uint32_t timeout);

Please suggest/guide how can i use processor expert with 32bits/frame.

Tags (1)
0 Kudos
1 Reply

646 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Learner,

The frame size is configurable in the PE:

danielmartynek_1-1624963935194.png

The buffers just have to be aligned:

danielmartynek_2-1624964124011.png

 

Regards,

Daniel

 

 

0 Kudos