LPSPI TCR[BYSW] support in SDK

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

LPSPI TCR[BYSW] support in SDK

ソリューションへジャンプ
458件の閲覧回数
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 解決策
445件の閲覧回数
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 返信
446件の閲覧回数
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.