Reply 860 of 1101, by georgel
LSS10999 wrote on 2023-10-11, 06:39:If you overclock the MCU you need to adjust timer init values accordingly. Be it using faster crystal, or operating at faster mo […]
georgel wrote on 2023-10-11, 05:52:For testing of theory that latency of DSP is related to single cycle DMA clicking why don't you overclock the DSP to some extent by replacing its crystal (the newer MCUs will even not be overclocked in relation to their maximum clock frequencies) or providing an external clock (from oscillator)? This maybe would change the playing sample rate but clicking would be noticed even then.
If you overclock the MCU you need to adjust timer init values accordingly. Be it using faster crystal, or operating at faster modes (such as 6T).
Otherwise UART-related features namely MIDI will end up in a wrong baudrate and not function.
The 1 or 2 NOPs in some routines may or may not be an issue with DSP operating faster than standard. Need testing.
MIDI/ UART is not needed for this test and I guess you know it.