Olimex Support Forum

ARM => ST => Topic started by: kjwiik on October 07, 2016, 11:53:15 AM

Title: Ethernet and 32 bit quadrature encoder inputs in STM32-E407
Post by: kjwiik on October 07, 2016, 11:53:15 AM
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
Title: Re: Ethernet and 32 bit quadrature encoder inputs in STM32-E407
Post by: kjwiik on October 07, 2016, 04:29:52 PM
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