Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] No data on the SPI bus

Status
Not open for further replies.

ADGAN

Full Member level 5
Joined
Oct 9, 2013
Messages
295
Helped
4
Reputation
8
Reaction score
4
Trophy points
18
Activity points
1,837
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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top