This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Timer 3 issues on the C8051F321/320

This is a little gotcha they don't tell you in the manual and I have had to deduce this by trial and error.

It does clearly state in the manual that an instruction that clears the EA bit requires an instruction to follow that contains at least two opcodes.

However this also appears to be the case with Timer 3. Using the individual bit clear for just this interrupt requires the same otherwise having cleared the bit, an Interrupt can still occur.