pico-sdk
pico-sdk copied to clipboard
Over at my [repos readme](https://github.com/zbaltzer228/pico-sdk-i2c-10bit-explained/blob/develop/README.md) I explore and explain how 10-bit i2c addressing is fully supported on the RP2040 but the RP2040 datasheet suggests otherwise in the case of slave...
hello, please make fatfs spi library for c sdk. I think this is one of the most fundamental requirements for these type of microcontroller. cant use micro python as it...
I would like to disable UART console output after running for a while. Idea is to dump boot diagnostics to console but once everything is up and running (say after...
Hi, I originally opened an issue for this in arduino-pico (see https://github.com/earlephilhower/arduino-pico/issues/637) before discovering the issue happens even using the Pico SDK directly. There are more details in that issue,...
The SDK provides 3 functions of the form `bi_2pins_with_names` which allow specifying multiple pins and their names. However, because they are implemented in terms of `bi_pin_mask_with_names` which takes a single...
pioasm replaces labels with line numbers. This is unfortunate. Please don't do that. (a) Micropython can deal with textual labels, no problem at all. (b) For C I'd like to...
At boot, the system and peripheral clocks both appear to be 125MHz. If the system clock is later set (to any speed, even 125MHz), the peripheral clock is set to...
Corrected code in spi.h ``` static inline void spi_set_format(spi_inst_t *spi, uint data_bits, spi_cpol_t cpol, spi_cpha_t cpha, __unused spi_order_t order) { invalid_params_if(SPI, data_bits < 4 || data_bits > 16); // LSB-first...
This is not library friendly: https://github.com/raspberrypi/pico-sdk/blob/426e46126b5a1efaea4544cdb71ab81b61983034/src/rp2_common/hardware_dma/dma.c#L20 https://github.com/raspberrypi/pico-sdk/blob/426e46126b5a1efaea4544cdb71ab81b61983034/src/rp2_common/hardware_pio/pio.c#L21 I am able to work around this, but this requires a factory. As mentioned here: https://forums.raspberrypi.com/viewtopic.php?t=334125 This is not disclosed in documentation leading...
The use of user_data in callbacks is of importance because it can allow callback to a class method when using C++/OOP via a non capturing Lambda function, which is great....