#help pmw3610

1 messages · Page 1 of 1 (latest)

ruby scaffold
junior pewter
#

Is this part correct? referencing the pins like this

&pinctrl {
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 20)>, <------- ??
<NRF_PSEL(SPIM_MOSI, 0, 17)>, <------- ??
<NRF_PSEL(SPIM_MISO, 0, 17)>; <------- ??
};
};

spi0_sleep: spi0_sleep {
    group1 {
        psels = <NRF_PSEL(SPIM_SCK, 0, 20)>, <------- ??
                <NRF_PSEL(SPIM_MOSI, 0, 17)>, <------- ??
                <NRF_PSEL(SPIM_MISO, 0, 17)>; <------- ??
        low-power-enable;
    };
};

};

ruby scaffold
#

Looks reasonable. I have zero knowledge of or even access to the hardware so that's pretty much all I can say.
Though you're not trying to [connect the sensor directly to the supermini with no helper PCB](#pointing-devices message), are you? I do know that won't work.

junior pewter
#

The sensor I'm trying to adapt is this one, I thought it would be simpler, as I would only need to add the pinout file and the driver ;-;