You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bit more fully-fleshed info, after a bit of digging...
I think the complaint is that this table in the documentation:
which is in the RP2350 section of https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#detailed-description-4 says that clk_ref can use the Aux Sources "GPIO in 0" (CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0), "GPIO in 1" (CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1), "USB PLL" (CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB) or "LPOSC" (CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_LPOSC_CLKSRC). However https://github.com/raspberrypi/pico-sdk/blob/develop/src/rp2350/hardware_regs/include/hardware/regs/clocks.h#L543 only lists the values for CLOCKS_CLK_REF_CTRL_AUXSRC of CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB, CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN0, CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_GPIN1 and CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_CLKSRC_PLL_USB_PRIMARY_REF_OPCG and therefore appears to be "missing" CLOCKS_CLK_REF_CTRL_AUXSRC_VALUE_LPOSC_CLKSRC.
However, if we look at the CLOCKS: CLK_REF_CTRL register on page 532 of https://datasheets.raspberrypi.com/rp2350/rp2350-datasheet.pdf we can see that it also only lists the possible values of AUXSRC as being CLKSRC_PLL_USB, CLKSRC_GPIN0, CLKSRC_GPIN1 and CLKSRC_PLL_USB_PRIMARY_REF_OPCG. (Also, as AUXSRC is only a 2-bit field, it can't have more than 4 different values.)
P.S. I didn't know what OPCG was, but after a bit of searching it seems to be "On-Product Clock Generator" and it seems to be related purely to the factory-testing of chips. https://www.youtube.com/watch?v=XUJVGjDfJJg (ATE = Automated Test Equipment)
and it just won't deliver. Turning LED right after that and it stays like that, but should blink in a loop. Adding some sleep, then turning LED - nothing happens. Then I turned to auxiliary but it's not there. Now using:
...inside https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2350/hardware_regs/include/hardware/regs/clocks.h, according to https://www.raspberrypi.com/documentation/pico-sdk/hardware.html#group_hardware_clocks. It seems to me, but I'm not sure, tho.
The text was updated successfully, but these errors were encountered: