ADGAN
Full Member level 5
Hello everybody! I tried everything possible but no data is been moved on the SPI bus. It just activate and deactivate the IC. I'm simulating using Proteus. I disabled the ADC pins and set the TRIS settings accordingly. But no good. Pls take look at the code and tell me where I have made the mistake. I'm using PIC18F45K22. I have attached the project files.
View attachment AEBS - Copy.rar
Note:
You have to look into eeprom_Energymeter.c and SDADCConfig_Energymeter.c files.
- - - Updated - - -
Sorry found the problem. No need to post. I can't delete this thread.
View attachment AEBS - Copy.rar
Note:
You have to look into eeprom_Energymeter.c and SDADCConfig_Energymeter.c files.
- - - Updated - - -
Sorry found the problem. No need to post. I can't delete this thread.