Hi, I'm using the following SPIM setup on the nrf54L15pdk evaluation board:
spi00: spi@4a000 {
compatible = "nordic,nrf-spim";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x4a000 0x1000>;
interrupts = <74 NRF_DEFAULT_IRQ_PRIORITY>;
max-frequency = <DT_FREQ_M(32)>;
easydma-maxcnt-bits = <16>;
rx-delay-supported;
rx-delay = <1>;
status = "okay";
cs-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&spi00_default>;
pinctrl-names = "default";
spi_foo: spi_foo@0 {
reg = <0>;
spi-max-frequency = <2000000>;
label = "spi_foo";
};
};
spi00_default: spi00_default {
group1 {
psels =
<NRF_PSEL(SPIM_SCK, 2, 6)>,
<NRF_PSEL(SPIM_MOSI, 2, 2)>,
<NRF_PSEL(SPIM_MISO, 2, 9)>;
};
};
When I send a tx_buffer (for example, send {0xAA, 0xBB, 0xCC}) through spi_transceive_dt()
, I see the MOSI line being held low to 0mV, but the SCK line is functional. I'm currently doing a loopback test where MOSI feeds into MISO and no peripheral is connected so that I can verify that MOSI and MISO works as expected. However, I still see MOSI being held at 0mV even when disconnected from the MISO pin.
What would I need configured to ensure data is being sent through the MOSI pin and likewise to ensure data is being received through the MISO pin?