File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ static bool use_multicore_lockout(void) {
104
104
// and core1 locked out if relevant.
105
105
static void __no_inline_not_in_flash_func (rp2_flash_set_timing_internal )(int clock_hz ) {
106
106
107
- // Use the minimum divisor assuming a 133MHz flash.
108
- const int max_flash_freq = 133000000 ;
107
+ // Use the minimum divisor assuming a 60MHz flash.
108
+ const int max_flash_freq = 60000000 ;
109
109
int divisor = (clock_hz + max_flash_freq - 1 ) / max_flash_freq ;
110
110
111
111
#if PICO_RP2350
@@ -115,7 +115,7 @@ static void __no_inline_not_in_flash_func(rp2_flash_set_timing_internal)(int clo
115
115
}
116
116
117
117
// RX delay equal to the divisor means sampling at the same time as the next falling edge of SCK after the
118
- // falling edge that generated the data. This is pretty tight at 133MHz but seems to work with the Winbond flash chips.
118
+ // falling edge that generated the data. This is pretty tight at 60MHz but seems to work with the Winbond flash chips.
119
119
const int rxdelay = divisor ;
120
120
qmi_hw -> m [0 ].timing = (1 << QMI_M0_TIMING_COOLDOWN_LSB ) |
121
121
rxdelay << QMI_M1_TIMING_RXDELAY_LSB |
You can’t perform that action at this time.
0 commit comments