We are attempting to read and write data on SPI using the NRF52840-DK. Specifically, we are utilizing the SPI pins: CS (P0.28), CLK (P0.31), MOSI (P0.29), and MISO (P0.30) on the nRF52840. When analyzing the signal using a CRO (Cathode Ray Oscilloscope), observed that the CLK (clock) and MOSI (Master Out Slave In) lines are only reaching around 2.2 volts. To achieve a 3.3-volt signal level do we need to do any configuration in dts.
We are using this device tree configurations:
------------------------------------------------------------------
spi_master_default: spi_master_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 31)>,
<NRF_PSEL(SPIM_MOSI, 0, 30)>,
<NRF_PSEL(SPIM_MISO, 0, 29)>;
nordic,drive-mode = <NRF_DRIVE_H0H1>;
};
};
------------------------------------------------------------------
Yellow Line indicates CLOCK Signal and Blue line indicates MISO Signal.