How to configure RTS_B initial state of i.MX RT1064?

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

How to configure RTS_B initial state of i.MX RT1064?

350 Views
martinzhang
Contributor III

Hi,

I configured i.MX RT1064 pin B2 to RTS_B, I noted that I cannot configure initial state of at this function.  This pin can work in RS-485 application, but I found after the MCU reset the initial status of this pin is high.  I also noted when this pin output is low, after executed following code:

LPUART_SoftwareReset(base);

This pin will output high and want the initial state is low.

My question is can I set the initial state of this pin when it is configured as RTS_B.

Best Regards,

Martin 

 

Labels (1)
0 Kudos
1 Reply

329 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
I hope you are well.

To control the state of this pin you will need to do it by configuring it as GPIO, you might use DCD so the pin stays at the desired state during/after boot time.

Best regards,
Omar

0 Kudos