How to configure RT1064 gpio to output Hi-Z

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

How to configure RT1064 gpio to output Hi-Z

212 Views
foreverwlh2025
Contributor I

In the project, the following pins are used as SPI. After SPI communication is completed, they need to be configured as high impedance output. However, there is no relevant description in the register. How should we configure these pins to output Hi-Z?
ps:000 DSE_0_output_driver_disabled == Hi-Z ??

 

foreverwlh2025_0-1765243639281.png

foreverwlh2025_1-1765243750399.png

 

 

Labels (1)
0 Kudos
Reply
6 Replies

182 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @foreverwlh2025 ,

Thanks for your interest in NXP MIMXRT series!

Is configuring LPSPI2_PCS2 as High-Z a requirement from your slave device? Could you please clarify the use case so I can confirm internally? Thank you in advance!

Best regards,
Gavin

0 Kudos
Reply

172 Views
foreverwlh2025
Contributor I

HI, @Gavin_Jia 

As shown in the figure below, RT1064 spi2 is used to import data into SPI flash, and DSP loads firmware from SPI flash, which means that MCU and DSP SPI are connected together;
To avoid the influence of MCU side during DSP startup, we want to set the SPI2 wires as Hi-Z

PS: Our project is about to begin, and we hope you can help us confirm as soon as possible. Thank you!!

 

foreverwlh2025_0-1765258353736.png

 

0 Kudos
Reply

140 Views
foreverwlh2025
Contributor I

Hi @Gavin_Jia 


Can you help confirm it today? Maybe it's not particularly difficult.  i.MX-RT1064 

Look forward to your reply!!

0 Kudos
Reply

127 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @foreverwlh2025 ,

I received feedback from internal experts:

To make RT1xxx series into High-Z status.
1.Set mux to ALT5 as GPIO function
2,Disable the pull up and pull down
3.Set GPIO as input mode.

Best regards,
Gavin

0 Kudos
Reply

110 Views
foreverwlh2025
Contributor I

Hi @Gavin_Jia 

Thank you for your reply!
2, Disable the pull up and pull down
-------To make this effective, just PKE=0 is enough, or PKE=0, PUE=1?

 

foreverwlh2025_0-1765368433488.png

 

0 Kudos
Reply

11 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @foreverwlh2025 ,

Just PKE=0 is enough.

 

Best regards,
Gavin

0 Kudos
Reply