2020-03-11 07: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.
2020-03-11 08:14 AM
Use a timer in PWM mode to toggle it at that high of a rate.
2020-03-11 08: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.
2020-03-11 08:44 AM
2020-03-11 08: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
2020-03-11 08: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 ?
2020-03-11 08:52 AM
2020-03-11 08: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.
2020-03-11 09: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 ?
2020-03-11 09:04 AM