Feifan Ji

Troubles about system clock and the time of executing one step

Discussion created by Feifan Ji on Aug 22, 2017

I generated a blank project, in which only the initialization part is included, 


I just want to test how long time is needed  for the execution of a command, so I write codes below and measure the interval between 0 and 1 o the output PA12.


For the reason that I have config the chip running at 200MHz, as a result, the square wave in the scope should has a frequency of 20Mhz, however, it is 5Mhz...Is there any problem of my configuration?