When SPI sends data, if the last bit is high, why is the data a little more?

Parents Reply Children
  • &spi1 {
        compatible = "nordic,nrf-spim";
        status = "okay";
        cs-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
        pinctrl-0 = <&spi1_default>;
        pinctrl-1 = <&spi1_sleep>;
        pinctrl-names = "default", "sleep";
        gendev: gendev@0 {
            compatible = "spi-device";
            reg = <0>;
            spi-max-frequency = <1600000>;
            label = "GenDev";
        };
    };

    &pinctrl {
        spi1_default: spi1_default {
            group1 {
                    psels = <NRF_PSEL(SPIM_SCK, 0, 25)>,
                            <NRF_PSEL(SPIM_MOSI, 0, 6)>,
                            <NRF_PSEL(SPIM_MISO, 0, 5)>;
                    nordic,drive-mode=<NRF_DRIVE_H0H1>;
            };
        };

        spi1_sleep: spi1_sleep {
            group1 {
                    psels = <NRF_PSEL(SPIM_SCK, 0, 25)>,
                            <NRF_PSEL(SPIM_MOSI, 0, 6)>,
                            <NRF_PSEL(SPIM_MISO, 0, 5)>;
                    low-power-enable;
            nordic,drive-mode=<NRF_DRIVE_H0H1>;    
            };
        };
    };
    Here's my spi config, I'm using version ncs2.7 when I am
  • You forgot to answer two of my questions:

    Are you using a custom board or a DK?

    Is this a sample you are using?

Related