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,337 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,329 Views
wangyanjun
Contributor II

LPC54616J512BD100

0 Kudos
Reply

1,321 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,315 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,308 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,305 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,302 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,299 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,292 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,334 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

Thanks,

Jun Zhang

0 Kudos
Reply