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.

Atmega32 problem with enabled USART interrupt and enc28j60

Status
Not open for further replies.

Sharagim

Advanced Member level 4
Joined
Feb 6, 2011
Messages
112
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,058
Hi,
I have a problem as follow:
In my circuit I have a enc28j60 module on SPI .
I setup a Serial interface to PC to show somethings on terminal.
All is ok when I turn on this device when my AVR MKII connected to it(SPI), but when I disconnect MKII and reset it I see leds of enc28j60 blinking abnormaly and it is not working.
I try to find the problem and I see this problem can be solve with this to way :
1- When touch RESET on micro with a wire which connected to GND for a sec.
2- When I comment "(1 << RXCIE )" line , I mean when disable interrupt on USART RX.

I cant find figure out what is main problem.

Thanks in advance for any help.
 

can you send us the schematic of the design
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top