SPI Interrupt based on Kinetis KLxx or Kxx

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

SPI Interrupt based on Kinetis KLxx or Kxx

跳至解决方案
3,249 次查看
DolomitiLynx
Contributor III

Any example available of a SPI driver implemented in interrupt mode with Kinetis KL o K?

1 解答
2,248 次查看
nasreenshaikh
Contributor III

Hi Giulio,

I am attaching the files for SPI drivers on interrupt basis on K10 controller.

Hope this helps you.

Nasreen

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,248 次查看
DolomitiLynx
Contributor III

Thank you Nasreen Shaikh,

the source code you attached has been useful to my development.

Best Regards

G.

2,248 次查看
albertovargas
NXP Employee
NXP Employee

Hi Giulio,

There is an example included with CW 10.4, that shows SPI's use with PE. You can find it on this path and its available for several boards: \Freescale\CW MCU v10.4\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis

I hope this helps.

Alberto

0 项奖励
回复
2,249 次查看
nasreenshaikh
Contributor III

Hi Giulio,

I am attaching the files for SPI drivers on interrupt basis on K10 controller.

Hope this helps you.

Nasreen

0 项奖励
回复
2,248 次查看
raphaeldegen
Contributor I

Hi Nasreen,

thanks for the code!

May you can help me to understand:

Do I have to set CS manually with PUSHR(buffer | SPI_PUSHR_PCS_MASK) and EOQ?

Best regards,

Raphael

0 项奖励
回复