Processor Expert SPI

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

Processor Expert SPI

跳至解决方案
867 次查看
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 解答
840 次查看
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 回复数
847 次查看
JRoberto
NXP TechSupport
NXP TechSupport

Hi @laonia 

What MCU are you using?

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

0 项奖励
846 次查看
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 项奖励
841 次查看
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 项奖励