Search results

  1. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    Yes, the speed drives you crazy. Fortunately, the USB interface is not affected by the high bus clock rate. The question arises as to what can still be used without adjustments. Mainly because the Arduino IDE does a lot behind the scenes.
  2. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    Mission accomplished. With a higher setting, I get the correct display from an 80 MHz quartz. But I would have preferred that the clock could only be set explicitly for the specific timer and that other peripherals would not be affected. Presumably other libraries etc. are no longer running...
  3. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    Thanks for the reply. I added this block of code. Things get funnier @10MHz. Serial.println(CCM_CSCMR1,BIN); CCM_CSCMR1 &= ~CCM_CSCMR1_PERCLK_CLK_SEL; Serial.println(CCM_CSCMR1,BIN); CPU clock: 600.00 MHz BUS clock: 150.00 MHz 1100110000100110000000001000000...
  4. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    Teensy 4.1: What is wrong here? At 10 MHz I have exactly 10 MHz on the counter. Increasing the oscillator >10 MHz leads to incorrect counting results. static inline void counter_init(void) { CCM_CCGR1 |= CCM_CCGR1_GPT(CCM_CCGR_ON) ; // enable GPT1 module GPT1_CR = 0; GPT1_SR = 0x3F; //...
  5. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    Hi Paul, I don't see the lack of dynamic switching options as a defect. It would only be important to be able to operate the buses at a higher frequency in order to be able to achieve higher counting rates. Would you repeat your video https://www.youtube.com/watch?v=oAUnbqK6QCY&t=454s with the...
  6. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    Is it allowed to change the divisor? Then I could do CPU=450MHz (/divisor=2) -> BUS=225 MHz? Here only the bus would be overclocked. I want to count the pulses on pin 25 with GPT1 and capture the counter reading with a 2nd capture pin.
  7. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    I have an application where I would have to count around 100 MHz with GPT1. 110MHz would be even better. If I have understood the whole thing correctly, I need a bus frequency of >=220 MHz. Right?
  8. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    As far as I have now understood from the code, the cpu clock and the bus clock are related by a factor of 4: F_BUS_ACTUAL * 4 = F_CPU_ACTUAL. That means, with 1008 MHz overclock I would have a 252 MHz bus clock. Should work with very good cooling?
  9. 0

    SD.exists has no "exists(const String &filepath)" overload

    Sorry, I missed the new SD card implementation for Teensy. https://forum.pjrc.com/threads/64136-File-abstraction-and-SdFat-integration?highlight=SD.sdfs.open
  10. 0

    Teensyduino F() behavior

    Thanks. I missed that.
  11. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    Thanks Paul for explaination!
  12. 0

    Can the F_BUS_ACTUAL (peripheral clock) be increased?

    Hi! Is it possible to increase the F_BUS_ACTUAL clock in order to get higher timer clocks? https://github.com/PaulStoffregen/cores/blob/master/teensy4/clockspeed.c volatile uint32_t F_CPU_ACTUAL = 396000000; volatile uint32_t F_BUS_ACTUAL = 132000000; Another question: Why is the...
  13. 0

    Teensyduino F() behavior

    Is there an F () macro / define that disappears in Teensy so I don't have to change the code?
  14. 0

    SD.exists has no "exists(const String &filepath)" overload

    Hi all, SD class overload "boolean exists(const String &filepath)" is missing. String s; #if defined(TEENSYDUINO) if (!SD.exists(s.c_str())) #else if (!SD.exists(s)) #endif
  15. 0

    GPT1 / GPT2: Count from external pin @300MHz?

    The 60-70 MHz are disappointing. Also because it's the fastest MCU on the market. How does he manage to measure 132 MHz? Is the measurement reliable? https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=212014&viewfull=1#post212014.
  16. 0

    GPT1 / GPT2: Count from external pin @300MHz?

    Right. For that topic there are SN65LVDS1 and SN65LVDS2.
  17. 0

    GPT1 / GPT2: Count from external pin @300MHz?

    Hello, I found this example: https://github.com/manitou48/teensy4/blob/master/gpt_count.ino https://github.com/manitou48/teensy4/blob/master/gpt2_count.ino It counts external pulses from the pin 14. Since I don't have a teensy 4.1 board, I have a question. Up to which frequency can the pin...
Back
Top