Hello,
What a wonderful thing is the teensy 4! This the first time ever I've put my hands on a 1GHz µC!! Love it.
I was reading the datasheet and saw this: "Tightly coupled GPIOs, operating at the same frequency as Arm" => immediately thought: really? Can I toggle a gpio @600MHz? Let's try that!
But I'm "only" getting 1/4 the cpu clock: 150MHz. That's plenty for sure, but I was hoping to see ~ 300MHz. Am I doing it wrong? Is there something, somewhere, I can do to make it flip the gpio "at the same frequency as Arm" as the pdf says?
What a wonderful thing is the teensy 4! This the first time ever I've put my hands on a 1GHz µC!! Love it.
I was reading the datasheet and saw this: "Tightly coupled GPIOs, operating at the same frequency as Arm" => immediately thought: really? Can I toggle a gpio @600MHz? Let's try that!
Code:
#define PIN 13
void setup () { pinMode(PIN, OUTPUT); }
void loop () {
while (1) {
CORE_PIN13_PORTSET = CORE_PIN13_BITMASK;
CORE_PIN13_PORTCLEAR = CORE_PIN13_BITMASK;
}
}
But I'm "only" getting 1/4 the cpu clock: 150MHz. That's plenty for sure, but I was hoping to see ~ 300MHz. Am I doing it wrong? Is there something, somewhere, I can do to make it flip the gpio "at the same frequency as Arm" as the pdf says?