LPSPI TCR[BYSW] support in SDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPSPI TCR[BYSW] support in SDK

跳至解决方案
680 次查看
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?

标签 (1)
0 项奖励
回复
1 解答
667 次查看
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.

在原帖中查看解决方案

1 回复
668 次查看
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.