#connect a seeeduino_xiao_ble board to niceview

1 messages · Page 1 of 1 (latest)

unborn current
#

Hi everyone, could someone help me with the pin definitions on the Xiao board for connecting to Niceview?

I tried this, it compiles but gives no output:
file: corne_dongle_xiao.overlay"

&pinctrl {
    spi0_default: spi0_default {
        group1 {
            psels = <NRF_PSEL(SPIM_SCK, 0, 13)>,
                    <NRF_PSEL(SPIM_MOSI, 0, 15)>,
                    <NRF_PSEL(SPIM_MISO, 0, 14)>;
        };
    };
    spi0_sleep: spi0_sleep {
        group1 {
            psels = <NRF_PSEL(SPIM_SCK, 0, 13)>,
                    <NRF_PSEL(SPIM_MOSI, 0, 15)>,
                    <NRF_PSEL(SPIM_MISO, 0, 14)>;
            low-power-enable;
        };
    };
};
nice_view_spi: &spi0 {
    compatible = "nordic,nrf-spim";
    pinctrl-0 = <&spi0_default>;
    pinctrl-1 = <&spi0_sleep>;
    pinctrl-names = "default", "sleep";
    // cs-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
    cs-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;  // Pin D6 as CS
};

&xiao_i2c {
    status = "disabled";
};

However, if I define it in a custom shield, it compiles as follows:

dongle_display_view
└── ...

corne
├── Kconfig.defconfig
├── Kconfig.shield
├── boards
│   └── ...
├── ...
├── corne_dongle_pro_micro.conf
├── corne_dongle_pro_micro.overlay
├── corne_dongle_xiao.conf
├── corne_dongle_xiao.overlay # file: here is the definition mentioned
└── ...

"Although the code compiles, I'm not getting any output. It works fine with a 'pro_micro,' so I suspect the issue is with the xiao_ble.

I've tried using pins d6 and d1 for CS-GPIOs since the I2C port works (as shown in the photo), but still no output.

I might be misconnecting or misdefining the pins, or there could be another issue. Can anyone help troubleshoot this?"

#

To make it better understood, I want to connect the seeeduino xiao ble to the traditional i2c and cs-gpios pins of niceview to some pin of the seeeduino_xiao_ble (for example, d6).