OM27462CDKP Development board PN7462 How to use USB & UART(HIF) at the Same Time?

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

OM27462CDKP Development board PN7462 How to use USB & UART(HIF) at the Same Time?

跳至解决方案
1,469 次查看
EE_Ark
Contributor II

Hi, I'm using 'OM27462CDKP Development board' 'PN7462'. I need to use USB interface and HSUART(Only RX and TX pins without flow control). I'll connect a ble module to UART.

 

After I review examples in "PN7462AU FW and SW Examples Full Version - v06.10.00", i saw "phExDoorAccess" uses UART and defines "#define NXPBUILD__PHHAL_HIF" in "APP_NxpBuild" header file.

In my project I already use USB interface for communication with PC and i defined "#define NXPBUILD__PHHAL_USB" in "APP_NxpBuild" header file.

If I define both "NXPBUILD__PHHAL_USB" and "NXPBUILD__PHHAL_HIF" in my project's "APP_NxpBuild" header file compiler gives an error "HIF and USB can not be combined."

 

Can I use UART(without flow control) and USB interface at the same time? If I can what changes do I need to make in the PN7462AU FW API?

 

Thanks in advance.

 

0 项奖励
回复
1 解答
1,458 次查看
fangfang
NXP TechSupport
NXP TechSupport

Hello,

>> Can I use UART(without flow control) and USB interface at the same time?
Unfortunately, UART and USB interface can't use at the same time.

fangfang_0-1636511314212.png

Have a nice day.

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,453 次查看
kralsemo06
Contributor I

Hello,

I have a technical question.

Can we deactive the usb in the embedded software and activate the uart and use it(2 pin ATX_A, ATX_B).

Waiting for your early reply.

Best regards,

0 项奖励
回复
1,459 次查看
fangfang
NXP TechSupport
NXP TechSupport

Hello,

>> Can I use UART(without flow control) and USB interface at the same time?
Unfortunately, UART and USB interface can't use at the same time.

fangfang_0-1636511314212.png

Have a nice day.

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------

0 项奖励
回复