how to validate whether the stm32f4 is working in 180MHz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-05 6:16 AM
Hi,
We are facing a problem, any help will be greatly appreciated.
I am using stm32f446zet. I have set to 180MHz system clock , but GPIO pin toggles at 8 MHz. We are using OPT8320 TOF sensor whose opclk runs at 24MHz and receives data at each falling edge of its opclk. To properly receive data without any missing, what should be done? Now we are getting 1 data for 5 opclk.
What is the procedure to validate whether the stm32f4 is working in 180MHz ?
Turvey.Clive.002
null- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-05 7:07 AM
Several possible ways:
- Connect with a debugger, stop the CPU while running and decode the RCC register setting.
- Program some MCO output to output a divided SYSCLK and check with a scope/frequency counter
- Use some timer to get the relation between SYSCLK and HSI
- Review the code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-05 7:32 AM
Output internal clocks via MCO to confirm rates, use a scope.
>>To properly receive data without any missing, what should be done?
Perhaps by not using GPIO bit-banging as a means of communicating? Review use of FSMC, SPI, DCMI, etc.
Up vote any posts that you find helpful, it shows what's working..
