SPI Interrupt based on Kinetis KLxx or Kxx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI Interrupt based on Kinetis KLxx or Kxx

Jump to solution
1,514 Views
DolomitiLynx
Contributor III

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

1 Solution
514 Views
nasreenshaikh
Contributor III

Hi Giulio,

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

Hope this helps you.

Nasreen

View solution in original post

0 Kudos
4 Replies
514 Views
DolomitiLynx
Contributor III

Thank you Nasreen Shaikh,

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

Best Regards

G.

514 Views
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 Kudos
515 Views
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 Kudos
514 Views
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 Kudos