Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Rb0 Int

Status
Not open for further replies.

richb

New Member
I've had a look around the forum but can't seem to find anything of any help.

I have a 10k resistor from RB0 to Vcc as a pull up and also connected my chip. The idea is that when my chip goes low, an ISR is fired (INTF).

The issue I am facing is my chip brings the line from (high -> low) can see this on the scope, but the ISR is only fired when the line goes back to high again. My chip (max3100) keeps the signal low until its registers are cleared.

My setup code is:-

Code:
	INTEDG	= 1;
	INTE	= 1;
	INTF	= 0;

The interrupt fires fine when i remove the low signal from the chip.

Any idea what I'm doing wrong guys?

Rich
 
was the first thing i tried, it didn't work initially

just tried it again after your post, it works

this is what you get for coding at 4 in the morning :S

thanks mate
Rich
 
He is using RB0 int - not portb change and so there is no need to read portb.

Mike.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top