Nicla Vision interrupts

I am trying to drive two micro metal gearmotors with encoders. For this I need 2 PWM channels per motor + 1 interrupt to trigger to read the quadrature encoder and one normal input. Does anyone know what pins can be configured as interrupts, so far the only pins that seem to work are the ones with hardware timers attached. This is a problem as it leaves me one PWM pin short of the 4 required to control my two motors?

Thanks,

Harry

Hi, you can only do PWM on the pins with hardware timers. All pins work for interrupts.

It sounds like you need 8 pins for this. There should be enough on the Nicla.

1 Like