i am using ADE 7880 ic in my custom board for energy metering. i have 8 bit micro controller(89c55wd) without in built SPI com port so i use GPIO pins of controller to communicate with ADE7880. my controller works on 5v so i have used logic converter between ADE7880 and controller. i have made circuit diagram as per data sheet of ADE7880. i have also see waveform of CLK, SS, and MOSI pin on CRO. my hardware is working properly but i can't find any data on MISO pin of ADE7880. here with this i attached my code. please suggest me if there any error in code. is there any other thing that i miss to include in code ?