S32K142 LPSPI Bare metal code

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

S32K142 LPSPI Bare metal code

1,585件の閲覧回数
bhushangs101
Contributor I

Hi NXP Team, 
I am Working On S32k142 100 pin Controller. My Application uses TLE94112ES Chip to control DC motor Control through SPI communication.
Please Send Me link of LPSPI Bare Metal Code example.
Also is there any example available For S32k142 interfacing With TLE94112ES Motor Driver IC with SPI control please send the example code or Link.

Thank you,
Bhushan

0 件の賞賛
返信
3 返答(返信)

1,562件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @bhushangs101 

Sample LPSPI Bare Metal code is provided in the S32K1xx Series Cookbook. Regarding the example of the S32k142 with TLE94112ES we have nothing available.

 

BR, VaneB

0 件の賞賛
返信

1,505件の閲覧回数
bhushangs101
Contributor I

Hi VaneB,

I am running your example in bare metal LPSPI for my Custom Board by changing the SCLK, CS , SIN , SOUT pins because of LPSPI 0 channel is used. And necessary changes Did in Function Call.
But i am facing Issue with the SCLK . SCLK is not getting on DSO , but the SOUT line gives me data that i am sending (here SOUT= 0xDD00), CS pin is also working as expected ,  visible on DSO .

bhushangs101_0-1721128455760.png

in the same Example code what are the resisters values need to change ? ,
Please let me know about CLOCK configuration is correct or not in given example ? 

0 件の賞賛
返信

1,503件の閲覧回数
bhushangs101
Contributor I

i have attached my project please review

0 件の賞賛
返信