Transmit and recieve 8 bit data via SPI_master

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

cross mob
User17048
Level 2
Level 2
First like received
I am using xmc4500 relax kit . I want to transmit and recieve 8 bit data via SPI_ master. But I saw xmc_tranmsit has 16 bit data structure. How to change it,
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

This is given by the frame length. The 16bit parameter in the function call represents the max word length, e.g in your case WLE=FLE=8.

Regards,
Jesus
0 Likes
User17048
Level 2
Level 2
First like received
Thank you for the guidance
0 Likes