MIMXRT595-EVK SPI Signal Voltage Issue - Getting 1.8V Instead of 3.3V

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIMXRT595-EVK SPI Signal Voltage Issue - Getting 1.8V Instead of 3.3V

296 Views
luqman82303
Contributor I

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)

Current Configuration

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";
};
};

Questions

  1. How do I configure the I/O voltage domain for 3.3V operation?
  2. What's the correct PCA9420 PMIC configuration in Zephyr v4.1.0?
  3. Are there board jumpers I need to set for 3.3V?

Additional Info

  • Getting Kconfig error: undefined symbol PMIC_PCA9420
  • Oscilloscope confirmed 1.8V output
  • Need 3.3V for display SPI communication

Looking for: Correct device tree configuration or PMIC setup to get 3.3V SPI signals.

0 Kudos
Reply
1 Reply

270 Views
diego_charles
NXP TechSupport
NXP TechSupport

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

diego_charles_0-1753811909958.png

 

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. 

diego_charles_1-1753813982686.png

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

 

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2141670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMIMXRT595-EVK%20SPI%20Signal%20Voltage%20Issue%20-%20Getting%201.8V%20Instead%20of%203.3V%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2141670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20class%3D%22%22%3EMy%20SPI%20signals%20on%20MIMXRT595-EVK%20are%20outputting%20%3CSTRONG%3E1.8V%20instead%20of%203.3V%3C%2FSTRONG%3E.%20I%20need%203.3V%20for%20my%20SPI%20device.%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSTRONG%3EHardware%3A%3C%2FSTRONG%3E%20MIMXRT595-EVK%20%2B%20Zephyr%20v4.1.0%3CBR%20%2F%3E%3CSTRONG%3ESPI%3A%3C%2FSTRONG%3E%20HS_SPI1%20(pins%20PIO1_3%2C%20PIO1_4%2C%20PIO1_5)%3C%2FP%3E%3CH2%20id%3D%22toc-hId--525232845%22%20id%3D%22toc-hId--497526376%22%3E%3CFONT%20face%3D%22arial%2Chelvetica%2Csans-serif%22%20size%3D%225%22%3ECurrent%20Configuration%3C%2FFONT%3E%3C%2FH2%3E%3CP%20class%3D%22%22%3E%3CSTRONG%3EDevice%20Tree%20(overlay)%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%26amp%3Bhs_spi1%20%7B%3CBR%20%2F%3E%23address-cells%20%3D%20%26lt%3B1%26gt%3B%3B%3CBR%20%2F%3E%23size-cells%20%3D%20%26lt%3B0%26gt%3B%3B%3CBR%20%2F%3E%3CBR%20%2F%3Etest_device%3A%20spi-device%400%20%7B%3CBR%20%2F%3Ecompatible%20%3D%20%22spi-device%22%3B%3CBR%20%2F%3Ereg%20%3D%20%26lt%3B0%26gt%3B%3B%3CBR%20%2F%3Espi-max-frequency%20%3D%20%26lt%3B80000000%26gt%3B%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSTRONG%3EPin%20Configuration%3A%20(DTiS%20file%20)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%20class%3D%22%22%3Epinmux_flexcomm16_spi%3A%20pinmux_flexcomm16_spi%20%7B%3CBR%20%2F%3Egroup0%20%7B%3CBR%20%2F%3Epinmux%20%3D%20%3CHS_SPI1_SCK_PIO1_3%3E%2C%3CBR%20%2F%3E%3CHS_SPI1_MISO_PIO1_4%3E%2C%3CBR%20%2F%3E%3CHS_SPI1_MOSI_PIO1_5%3E%3B%3CBR%20%2F%3Einput-enable%3B%3CBR%20%2F%3Eslew-rate%20%3D%20%22normal%22%3B%3CBR%20%2F%3Edrive-strength%20%3D%20%22high%22%3B%3CBR%20%2F%3E%7D%3B%3CBR%20%2F%3E%7D%3B%3C%2FHS_SPI1_MOSI_PIO1_5%3E%3C%2FHS_SPI1_MISO_PIO1_4%3E%3C%2FHS_SPI1_SCK_PIO1_3%3E%3C%2FP%3E%3CH2%20id%3D%22toc-hId-1962279988%22%20id%3D%22toc-hId-1989986457%22%3E%3CFONT%20size%3D%225%22%3EQuestions%3C%2FFONT%3E%3C%2FH2%3E%3COL%3E%3CLI%3E%3CSTRONG%3EHow%20do%20I%20configure%20the%20I%2FO%20voltage%20domain%20for%203.3V%20operation%3F%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EWhat's%20the%20correct%20PCA9420%20PMIC%20configuration%20in%20Zephyr%20v4.1.0%3F%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EAre%20there%20board%20jumpers%20I%20need%20to%20set%20for%203.3V%3F%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FOL%3E%3CH2%20id%3D%22toc-hId-154825525%22%20id%3D%22toc-hId-182531994%22%3E%3CFONT%20size%3D%225%22%3EAdditional%20Info%3C%2FFONT%3E%3C%2FH2%3E%3CUL%3E%3CLI%3EGetting%20Kconfig%20error%3A%20undefined%20symbol%20PMIC_PCA9420%3C%2FLI%3E%3CLI%3EOscilloscope%20confirmed%201.8V%20output%3C%2FLI%3E%3CLI%3ENeed%203.3V%20for%20display%20SPI%20communication%3C%2FLI%3E%3C%2FUL%3E%3CP%20class%3D%22%22%3E%3CSTRONG%3ELooking%20for%3A%3C%2FSTRONG%3E%20Correct%20device%20tree%20configuration%20or%20PMIC%20setup%20to%20get%203.3V%20SPI%20signals.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2142909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MIMXRT595-EVK%20SPI%20Signal%20Voltage%20Issue%20-%20Getting%201.8V%20Instead%20of%203.3V%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2142909%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251714%22%20target%3D%22_blank%22%3E%40luqman82303%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20reaching%20out!%3C%2FP%3E%0A%3CP%3EThe%26nbsp%3B%3CSTRONG%3ESPI%26nbsp%3B%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3Binterface%20pins%20that%26nbsp%3B%20you%20require%20(%20HS_SPI1%20(pins%20PIO1_3%2C%20PIO1_4%2C%20PIO1_5)%20)%20do%20not%20support%20a%20power%20supply%20of%26nbsp%3B%203.3v%2C%20according%20to%20the%20DS.%20This%20means%20that%20they%20are%20not%20capable%20to%20provide%203.3v%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22diego_charles_0-1753811909958.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22diego_charles_0-1753811909958.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350059iE7A09EC51F15E337%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22diego_charles_0-1753811909958.png%22%20alt%3D%22diego_charles_0-1753811909958.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ESo%2C%20you%20may%20still%20use%20them%20by%20implementing%20an%20external%20voltage%20level%20translator%20adptater%20circuit%20made%20by%20your%20own.%20As%20an%20alternative%2C%20%3CSTRONG%3Eplease%20check%20if%26nbsp%3B%20using%20VDDIO_3%20pins%26nbsp%3B%20%26nbsp%3Bworks%20for%20you%2C%20%3C%2FSTRONG%3Esince%26nbsp%3BVDDIO_3%20can%20support%201.8V%20and%203.3V.%20For%20doing%20so%2C%20you%20can%20first%20check%20muxing%20alternatives%20for%20SPI%20on%20VDDIO_3%20pins%20by%20using%20our%20Config%20Tools%20Pins%20tool.%20According%20to%20what%20I%20can%20see%20on%20the%20EVK%20%2C%20the%20VDDIO_3%20is%20already%20being%20powered%20to%203.3v.%20So%20this%20may%20be%20a%20feasible%20solution.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22diego_charles_1-1753813982686.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22diego_charles_1-1753813982686.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350064iA7C5D32B6A507D65%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22diego_charles_1-1753813982686.png%22%20alt%3D%22diego_charles_1-1753813982686.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAlso%2C%20review%20if%20those%20pins%20can%20be%20routed%20and%20connected%20out%20of%20the%20EVK%2C%20if%20not%2C%20you%20will%20have%20to%20do%20your%20custom%20design%20to%20test%20them.%3C%2FP%3E%0A%3CP%3EI%20have%20not%20discussed%20anything%20regarding%20the%20PMIC%20setup%20and%20the%20error%20you%20are%20facing%2C%20as%20I%20want%20to%20point%20out%20the%20VDDIO_3%20pins%20option.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EDiego%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E