Welcome, Guest

Author Topic: Ethernet and 32 bit quadrature encoder inputs in STM32-E407  (Read 1526 times)

kjwiik

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Ethernet and 32 bit quadrature encoder inputs in STM32-E407
« 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
« Last Edit: October 07, 2016, 11:55:41 AM by kjwiik »

kjwiik

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Ethernet and 32 bit quadrature encoder inputs in STM32-E407
« Reply #1 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