To be honest I didn't set the clock frequency as I want it running at 125MHz - I didn't see any difference between not setting the speed or setting using int = 0 and frac = 0.
Not sure how selecting zero for both could be 65536 as the code is:Which presumably sets clkdiv to zero, unless this means 65536 e.g. it's used as an init value immediately is incremented / decremented before testing??
Not sure how selecting zero for both could be 65536 as the code is:
Code:
pio->sm[sm].clkdiv = (((uint)div_frac) << PIO_SM0_CLKDIV_FRAC_LSB) | (((uint)div_int) << PIO_SM0_CLKDIV_INT_LSB);
Statistics: Posted by DavidPinball — Thu Feb 29, 2024 6:44 pm