Hello,
I'm investigating a stability issue with a Teensy 4.1 used on a MicroDexed baseboard. The system is configured to run at 132.92 MHz from PLL3 PFD0 (664.62 MHz).
Under Teensyduino 1.59, it operates fine. However, when compiled with Teensyduino 1.60, the board has audio stuttering and UI glitches every 4 - 5 seconds and frequently enters the 8-blink error state when connected to a laptop over USB. The issue appears tied to USB operation, as the board runs without issue powered from a wall supply.
I tested multiple USB cables and ports and disabled USB power management on the laptop. Changing the clock source to PLL2 PFD2 (396 MHz -> 132.00 MHz) eliminates the issue entirely under Teensyduino 1.60.
Just hoping for clarification on whether this pattern is consistent with known changes in 1.60
Thanks!
Mike
I'm investigating a stability issue with a Teensy 4.1 used on a MicroDexed baseboard. The system is configured to run at 132.92 MHz from PLL3 PFD0 (664.62 MHz).
Code:
CCM_CCGR7 |= CCM_CCGR7_FLEXSPI2(CCM_CCGR_OFF);
CCM_CBCMR = (CCM_CBCMR & ~(CCM_CBCMR_FLEXSPI2_PODF_MASK | CCM_CBCMR_FLEXSPI2_CLK_SEL_MASK))
| CCM_CBCMR_FLEXSPI2_PODF(4) | CCM_CBCMR_FLEXSPI2_CLK_SEL(2);
CCM_CCGR7 |= CCM_CCGR7_FLEXSPI2(CCM_CCGR_ON);
Under Teensyduino 1.59, it operates fine. However, when compiled with Teensyduino 1.60, the board has audio stuttering and UI glitches every 4 - 5 seconds and frequently enters the 8-blink error state when connected to a laptop over USB. The issue appears tied to USB operation, as the board runs without issue powered from a wall supply.
I tested multiple USB cables and ports and disabled USB power management on the laptop. Changing the clock source to PLL2 PFD2 (396 MHz -> 132.00 MHz) eliminates the issue entirely under Teensyduino 1.60.
Code:
CCM_CCGR7 |= CCM_CCGR7_FLEXSPI2(CCM_CCGR_OFF);
CCM_CBCMR = 0x55AE8004; // PLL2 PFD2 ÷3 = 132 MHz
CCM_CCGR7 |= CCM_CCGR7_FLEXSPI2(CCM_CCGR_ON);
Just hoping for clarification on whether this pattern is consistent with known changes in 1.60
Thanks!
Mike