STM32F7 How to get 50MHz on GPIO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 7:52 AM
I can only get the GPIO pin to toggle at 8MHz but datasheet indicates 108MHz is possible.
I tried changing OSPEEDRy[1:0] but this did not help, I only get the default 8MHz.
- Labels:
-
GPIO-EXTI
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 8:14 AM
Use a timer in PWM mode to toggle it at that high of a rate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 8:39 AM
Thanks for the swift response, but actually, I want to stream a pattern to several GPIO pins not just create a clock signal.
I'd be happy getting frequency up to 25MHz but also want to get variable lower frequencies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 8:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 8:46 AM
Put code in the ITCM and preload adresses to write to in registers. If some address must be loaded from flash, flash wait cycles come into account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 8:50 AM
I thought I could simply change the max speed with the OSPEEDR[1:0] setting. What is it's purpose if not to allow the higher frequncies ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 8:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 8:52 AM
I don't think I understand. I'm not accessing any memory so I don't know why the ITCM helps me. My application is to send data patterns via USB and output on GPIO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 9:01 AM
Yes, I think I noticed a slight change in the edges but not the frequency.
Datasheet simply indicates fast I/Os up to 108MHz is possible so I assumed one clock to set and one to clear the state of the pin.
But I only get 8MHz but can get lower with clock dividers.
Am I missing something ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-11 9:04 AM
