AnsweredAssumed Answered

SPI function for K66F

Question asked by constantineulenstein on Mar 22, 2018
Latest reply on Mar 26, 2018 by Mark Butcher

Hi everybody,

 

I am planning to establish a wireless connection between 2 K66F boards using nrf24L01+ modules. Therefore I plan on using the nrf24l01 library. It is a generic code except for the SPI and delay functions.

 

The SPI function is supposed to take the argument unsigned char byte and sent it through the SPI port to the 24L01. Then, it should wait until the 24L01 has returned its response over SPI. This received byte should be the return value of the function.

You find this kind of SPI function and the corresponding libraries for AVR-chips and other microcontrollers.

So I was wondering if anybody has already written a similar SPI function for the K66F (or one that is usable with my board) and would be willing to share it with me.

 

Thanks in advance and best regards,

 

Constantin

Outcomes