AnsweredAssumed Answered

SPI communication b/w two FRDM-K20D50M Boards

Question asked by Amit Kumar on Oct 7, 2013
Latest reply on Nov 13, 2013 by Amit Kumar


I am having problem in transmitting and receiving any character on this FRDM-K20D50M boards. I am using Codewarrior 10.4 with processor expert. I have configured the pins according to the following configuration using processor expert. I am Transmitting and receiving data on both the boards and displaying it on UART. The board configuration is as follows.




code for master controller:-




code for slave :-




The device is configured by processor expert and at any other file apart from this no changes is done. When connecting to the serial port in both the boards the error syntax ie ERROR requesting read operation (slave)  for slave and when connecting to master ERROR requesting read operation (master) is being displayed. which shows that the device is not able to read the data from SPI. Kindly look into the matter.



Amit Kumar