p.gholap93
Member
This is first time I am using SPI to achieve full duplex communication between two Atmega 128.
Master has held controlled SS pin low while transmitting data and the pin is SET once data has been transmitted.
My Slave is receiving data transmitted by Master but Master is not receiving the data transmitted by Slave.
I also attach C code files of Master as well as Slave.
USART is initialized just to confirm whether data has been received or not.
I also attach simulation file(PROTEUS).
So please help me to overcome this problem.
Master has held controlled SS pin low while transmitting data and the pin is SET once data has been transmitted.
My Slave is receiving data transmitted by Master but Master is not receiving the data transmitted by Slave.
I also attach C code files of Master as well as Slave.
USART is initialized just to confirm whether data has been received or not.
I also attach simulation file(PROTEUS).
So please help me to overcome this problem.