AnsweredAssumed Answered

How to communicate two on board SPI's in TWr-k60F120M

Question asked by pallenna PRSR on Mar 19, 2015
Latest reply on Apr 15, 2015 by jeremyzhou

Hi to all,

I am new  to SPI interface. now i want interface of on board two SPI's for TWR-K60F120 using SPI communication for this what can i do first.i think it is possible right. for this communication  i made SPI0 as Master and SPI1 as Slave mode. my theme is,  to send one byte data (ex, 0x1) from master  of SPI0 to Slave of SPI1 and receive the  one byte data(ex 0x2) from Slave of SPI1 to Master Slave of SPI0. and i am sending my code also please check it once if i did any mistakes.


Thanks and Regards,

Padmaja

Original Attachment has been moved to: hello_world.c.zip

Original Attachment has been moved to: isr.h.zip

Outcomes