LPSPI TCR[BYSW] support in SDK

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

LPSPI TCR[BYSW] support in SDK

Jump to solution
429 Views
gavin5342
Contributor III

I have found the TCR[BYSW] bit in LPSPI useful for transmitting large byte oriented object files using LPSPI.  To use this bit, I need to modify the SDK as the SDK does not modify this bit in LPSPI_Init.

It's pretty simple to add a byteSwap field to the config struct, would you be able to add this functionality to a future SDK release?

Labels (1)
0 Kudos
1 Solution
416 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @gavin5342,

You are correct, the usage of the Byte Swap bit on the Transmit Command (TCR) is not fully implemented on our LPSPI drivers. I will comment this to the SDK team so they can take a look at it and make the proper adjustments if they consider them appropriate (which, as you mention, shouldn't require much work at all).

Thanks for reporting this!

BR,
Edwin.

View solution in original post

1 Reply
417 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @gavin5342,

You are correct, the usage of the Byte Swap bit on the Transmit Command (TCR) is not fully implemented on our LPSPI drivers. I will comment this to the SDK team so they can take a look at it and make the proper adjustments if they consider them appropriate (which, as you mention, shouldn't require much work at all).

Thanks for reporting this!

BR,
Edwin.