2017-01-24 12:27 AM
I am new to ARM and STM32CubeMX
My goal is to use this very interesting board
http://www.st.com/en/evaluation-tools/32f429idiscovery.html
and use one internal 16bit counter for time and one 16bit counter for QEI
(QEI=Quadrature Encoder to track angle of crankshaft)
These two counters should have an external reset to zero when each new revolution starts
The datasheet
http://www.st.com/resource/en/datasheet/stm32f429zi.pdf
says:Up to 17 timers: up to twelve 16-bit and two 32-
bit timers up to 180 MHz, each with up to 4IC/OC/PWM or pulse counter and quadrature(incremental) encoder inputSTM32CubeMX is such a great and unique utility and it can not only handle the chip but also the entire board
STM32F429I-DISC1. This is fascinating.
Still I am lost here as it is my first use of STM32CubeMX
Can anybody tell how to do and also indicate the code needed to read the counters in a C -loop,
An image is enclosed - I am also looking for a way to program the card with
http://www.mikroe.com/mikroc/&sharparm
Thanks and best regards
BO
#stm32cubemx-and-quadrature-encoder2017-01-24 01:37 AM
Hello
Ovelius.Bengt
,https://community.st.com/docs/DOC-1203-how-to-create-stm32cubemx-project
' which is a tutorial to create your own project using STM32CubeMX.May this help you
Best regards,
Khouloud.