GordonS
06-16-2008, 04:35 AM
Hi Guys,
I'm having an odd problem for which I'm struggling at present to find the cause and cure.
I have four signal lines coming onto an RCM3700, two to PD.4 and PD.5 and two tp PB.0 and PD.2. These four lines have edge detectors that go to INT1B so that I get an IRQ pulse on each level change. The ISR looks at the state of the four lines and decided from their state what action to take.
PD.4 and PD.5 work fine.
PB.0 and PB.2 however sometimes work and sometimes gives the "Timeout while waiting for response from target" pop-up.
When the problem happens, the ISR does not run, so whatever goes wrong has already happened beteen the signal than and the IRQ!
A couple of other clues.
On PB.0, The problem always happens when the signal rises. I think that's also true of PB.2, but it's had less testing.
When the problem occurs, input pins (with 11kR to 0V) go to around 0.8V, which appears to be invalid as either inputs or outputs.
Anyone seen anything like this?
Could it be slave-port related? (I'm not knowingly using the slave port)
TIA for any ideas/answers.
Gordon.
I'm having an odd problem for which I'm struggling at present to find the cause and cure.
I have four signal lines coming onto an RCM3700, two to PD.4 and PD.5 and two tp PB.0 and PD.2. These four lines have edge detectors that go to INT1B so that I get an IRQ pulse on each level change. The ISR looks at the state of the four lines and decided from their state what action to take.
PD.4 and PD.5 work fine.
PB.0 and PB.2 however sometimes work and sometimes gives the "Timeout while waiting for response from target" pop-up.
When the problem happens, the ISR does not run, so whatever goes wrong has already happened beteen the signal than and the IRQ!
A couple of other clues.
On PB.0, The problem always happens when the signal rises. I think that's also true of PB.2, but it's had less testing.
When the problem occurs, input pins (with 11kR to 0V) go to around 0.8V, which appears to be invalid as either inputs or outputs.
Anyone seen anything like this?
Could it be slave-port related? (I'm not knowingly using the slave port)
TIA for any ideas/answers.
Gordon.