2024-04-27 07:24 AM - edited 2024-04-27 08:30 AM
Hi 'I am using STM32 Nulceo Board Nucleo-F070RB .
I tried some projects but the output of the project is not as expected ,shows some wrong calculation out .
So I checked everything ,And found out the Crystal frequancy is not correct .
I checked the Master Clock Output But here i am not getting the clock frequency ,
May i get the accurate frequency there ?
I tried the internal HSI also But nothing gain
When I select HSI is 8MHZ i am getting in MCO out is 1.724KHz is it board problem ?
what wrong i am with ,
please help me
2024-04-28 12:29 AM
Right. ARR -> full period. (+ 1 , because period starts with "0" . )
so set ARR 200 , CCRx 50 -> get 25% on, 75% off PWM . (ARR 199 , to be exact, to count 200 ticks )