My SPI signals on MIMXRT595-EVK are outputting 1.8V instead of 3.3V. I need 3.3V for my SPI device.
Hardware: MIMXRT595-EVK + Zephyr v4.1.0
SPI: HS_SPI1 (pins PIO1_3, PIO1_4, PIO1_5)
Device Tree (overlay):
&hs_spi1 {
#address-cells = <1>;
#size-cells = <0>;
test_device: spi-device@0 {
compatible = "spi-device";
reg = <0>;
spi-max-frequency = <80000000>;
};
};
Pin Configuration: (DTiS file )
pinmux_flexcomm16_spi: pinmux_flexcomm16_spi {
group0 {
pinmux = <HS_SPI1_SCK_PIO1_3>,
<HS_SPI1_MISO_PIO1_4>,
<HS_SPI1_MOSI_PIO1_5>;
input-enable;
slew-rate = "normal";
drive-strength = "high";
};
};
Looking for: Correct device tree configuration or PMIC setup to get 3.3V SPI signals.
Hi @luqman82303
Thank you for reaching out!
The SPI interface pins that you require ( HS_SPI1 (pins PIO1_3, PIO1_4, PIO1_5) ) do not support a power supply of 3.3v, according to the DS. This means that they are not capable to provide 3.3v
So, you may still use them by implementing an external voltage level translator adptater circuit made by your own. As an alternative, please check if using VDDIO_3 pins works for you, since VDDIO_3 can support 1.8V and 3.3V. For doing so, you can first check muxing alternatives for SPI on VDDIO_3 pins by using our Config Tools Pins tool. According to what I can see on the EVK , the VDDIO_3 is already being powered to 3.3v. So this may be a feasible solution.
Also, review if those pins can be routed and connected out of the EVK, if not, you will have to do your custom design to test them.
I have not discussed anything regarding the PMIC setup and the error you are facing, as I want to point out the VDDIO_3 pins option.
Diego