Can I route a pin to PINT and USART at the same time?

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

Can I route a pin to PINT and USART at the same time?

1,673 Views
wangyanjun
Contributor II

My application need to capture the USART's RxD falling edge. Can I route the pin (P0_29) to PINT and USART at the same time?

 

Thank you!

Labels (1)
0 Kudos
Reply
9 Replies

1,665 Views
wangyanjun
Contributor II

LPC54616J512BD100

0 Kudos
Reply

1,657 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

No, you can't config the pin as PINT and USART at the same time.

0 Kudos
Reply

1,651 Views
wangyanjun
Contributor II

I just test it.

I config P0_29 as USART RxD and PINT int0 input at the same time. When there is signal on the RxD pin, it can generate PINT interrupt and USART receive interrupt.

 

0 Kudos
Reply

1,644 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

you may get it work during debug. But we can't guarantee both of PINT and UART still work well in run mode or increase the communication speed. This usage is not suggested. 

0 Kudos
Reply

1,641 Views
wangyanjun
Contributor II

In run mode, it will not work?

I use PINT to capture UART start bit's falling edge only and the baudrate is 19200. Is this OK?

 

Thank you!

0 Kudos
Reply

1,638 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

 Because we don't suggest user use one pin as PINT and UART at the same time. You are not using part with our suggested way, so by checking, we can't guarantee it.

Don't have have another pin to get PINT interrupt? 

 

0 Kudos
Reply

1,635 Views
wangyanjun
Contributor II

For new design, I can use another pin as PINT. For existing product, I want to add new function by firmware update only.

0 Kudos
Reply

1,628 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

As I said this is not our recommended way of using part.

We can't guarantee the function work all well if you insist working this way. 

0 Kudos
Reply

1,670 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Please let me know your chip full part number. I will check.

Thanks,

Jun Zhang

0 Kudos
Reply