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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,577 次查看
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!

标签 (1)
0 项奖励
回复
9 回复数

1,569 次查看
wangyanjun
Contributor II

LPC54616J512BD100

0 项奖励
回复

1,561 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,555 次查看
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 项奖励
回复

1,548 次查看
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 项奖励
回复

1,545 次查看
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 项奖励
回复

1,542 次查看
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 项奖励
回复

1,539 次查看
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 项奖励
回复

1,532 次查看
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 项奖励
回复

1,574 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

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

Thanks,

Jun Zhang

0 项奖励
回复