Processor Expert SPI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
864件の閲覧回数
laonia
Contributor I

Hi, 

I'm trying to configure SPI Master mode via Processor Expert on CodeWarrior. I'm wondering if it is possible to configure the chip select pin as a general purpose GPIO and manually set this pin when I want to send a message. Currently, what I'm seeing in the generated code is that chip select is automatically updated by the send message function. 

Thanks!

0 件の賞賛
1 解決策
837件の閲覧回数
JRoberto
NXP TechSupport
NXP TechSupport

You would have to do many manual adaptations... On my personal opinion I'd make my own SPI code.

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
844件の閲覧回数
JRoberto
NXP TechSupport
NXP TechSupport

Hi @laonia 

What MCU are you using?

Unfortunately Processor Expert can't make the settings you want. 

0 件の賞賛
843件の閲覧回数
laonia
Contributor I

Hi JRoberto,

I am using KEA128. In this case, if I would like to import the KEA128 library from S32 Design Studio, is there going to be any conflict with the generated code from Processor Expert? Or is it better to just write my own code for the SPI communication? 

Thanks. 

0 件の賞賛
838件の閲覧回数
JRoberto
NXP TechSupport
NXP TechSupport

You would have to do many manual adaptations... On my personal opinion I'd make my own SPI code.

0 件の賞賛