How to configure RTS_B initial state of i.MX RT1064?
06-07-2023
08:30 PM
899 Views
martinzhang
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 Reply
06-09-2023
03:52 PM
878 Views
Omar_Anguiano
NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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