We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Working with the STM32L052C8 using the HAL commands. I'm using the 'HAL_Delay()' command while developing, which is meant to be a delay in ms. I'm measuring HAL_Delay(1); to be 15ms. Checked with the data sheet and it says to have the Cortex System Timer at 4MHz which I have got by using Cubemx. Any ideas would be greatly appreciated, Thanks.
Presumably, when you say "the (sic) HAL" - you mean ST's HAL ?
If so, you should be going to ST for support with their code ...
They do supply the source - have you examined what it's doing ... ?