Ethernet and 32 bit quadrature encoder inputs in STM32-E407

Started by kjwiik, October 07, 2016, 11:53:15 AM

Previous topic - Next topic

kjwiik

Have I interpreted the datasheet correctly that ethernet and one of the two 32 bit quadrature encoder inputs TIM5_CH[12] cannot be used concurrently in STM32-E407 (I have two encoders)? It seems that TIM5_CH1 and CH2 are available only from PA0 and PA1 in these smaller packages and these are used by the ETH PHY...

Any easy way to extend the 16 bit counters easily so that they work with encoders?

Thanks,
Kaj

kjwiik

One way would be to use SPI ETH like ENC28J60 as I do not need much speed, unfortunately it seems that it's not ported to ChibiOs & LWIP...

Kaj