2013-07-15 09:52 PM
I'm working with a quadrature decoder that I set up on timer 8. I'm having trouble because the counter on timer 8 only seems to count up to 16 bits. I really need it to count up to 32 bits. Is it possible to configure the counter to do this?
I tried doing this:TIM_TimeBaseStructure.TIM_Period = 0xFFFFFFFF;
But it hasn't worked for me. Any ideas? Thanks in advance for the help! #know-your-tools2015-03-27 11:38 AM
Yes, the video is using Keil's libraries, not ST's libraries which I cited in response to your question. Use the ST library, build the project under the ''Project'' tree there, and use the example templates (clone them, copy them, ..) provided by ST
Here's the link without the ''STM32F3-DISCO'' name, bottom of the page, red download button. This is the Standard Peripheral Libraryhttp://www.st.com/web/en/catalog/tools/PF258154
C:\Keil4\ARM\Examples\ST\STM32F3-Discovery_FW_V1.0.0\Project\Peripheral_Examples\CRC_8BitsMessage\MDK-ARM\CRC.uvproj2015-03-30 07:48 AM
- Edit: my mistake, sorry -