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] Endless while loop is not executing in the MCP3901

Status
Not open for further replies.

ADGAN

Full Member level 5
Full Member level 5
Joined
Oct 9, 2013
Messages
295
Helped
4
Reputation
8
Reaction score
4
Trophy points
18
Visit site
Activity points
1,837
Endless while loop is not executing

Hello everybody!

I'm using doing a project by referring to the MCP3901 reference design. (**broken link removed**) I have all the necessary hardware. I modified the program according to my requirement(I need to display the energy consumption). The program compiles but I found out that it only execute once even though its a endless while loop. I'm using Proteus to simulate the program. (Not the whole project only some parts). Also I don't see any data moving on the SPI data bus when I use the SPI debugger.

This is the code:
View attachment AEBS.rar

Pls help. Thanx in advance.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top