AnsweredAssumed Answered

STM32F101 with StdPeriph_Lib

Question asked by Rami Rosenbaum on Feb 16, 2017
Latest reply on Feb 16, 2017 by Rami Rosenbaum

Hi,

I'm working on a new project, 2 boards: STM32F101CBT6 and STM32F101T6U6ATR.

I've generated a project/code via Cube (which has many advantages), but, similar to other posts - the HAL layer is, simply, lot's of code which make things complex, but not HAL-able.

The old StdPeriph_Lib was not bad, I've used it a few times successfully.

 

I downloaded stm32F10x_StdPeriph_Lib_V3.5.0, but it's from 2011 - is there anything more up-to-date?

 

I adapted the project to my STM32F101T6U6ATR (32K flash, 6K RAM, 36Mhz), and added minimal code for a 1ms SisTick and a GPIO, which toggles every second (a simple test I do, reading with an analyzer, to test the clock) - but my 1 second is about 9 seconds!!!

What am I missing?

Thanks

Outcomes