0

I have a Nano producing a PWM output from one of its pins. This PWM signal cannot stop as it drives a filament for a VFD display(if it stops, nothing shows). However, I need to capture the pulses from an external clock in order to shift display data in accordance with the multiplexing timer using an ISR sequence.

However, does an interrupt temporarily pause PWM while the ISR is being executed?

asked Aug 28, 2024 at 8:57

1 Answer 1

1

No, it doesn't.

An interrupt request interrupts the processor inside the microcontroller, which stops whatever it is doing in order to run the interrupt service routine (or ISR). The PWM is generated by a timer, which is a peripheral and does not care about what the processor is doing.

answered Aug 28, 2024 at 9:18

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.