NFC PN5180 port to I.MX RT1050 pin define error

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

NFC PN5180 port to I.MX RT1050 pin define error

608 次查看
yen_chen
Contributor III

Hi ,all

I try to define NFC_BUSY pin in the DAL/boards/my setting project as below

nfc_1.pngYou can see my define pin PHDRIVER_PIN_BUSY ((GPIO_PORT_B<<8) | 19).

I think that is GPIO2_19,reference my open pin as below

nfc_2.pngand it will be pulled in the NxpNfcRdLib/phhalHw/src/pn5180/phhalHw_Pn5180.c

nfc_3.png

But in fact , the measurement from the meter has not been pulled up.

Is there any wrong pin setting?

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

595 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello, 

In the RT family, the pins are managed differently than in the Kinetis and LPC families. Here the concept of PORT does not exist. Due to this, there isn't an equivalent pin for GPIO_PORT_B8. The initialization of the pin that you are doing with the macro PHDRIVER_PIN_BUSY works on Kinetis and LPC but it won't work on the RT. I recommend you check the GPIO example projects that we provide within the SDK for the RT  to see how the configuration and initialization are made. 

Regards,
Victor 

0 项奖励
回复