I am using Raspberry pi os image provided by NXP (with PN7150 drivers and library pre built) for testing PN7150 NFC. I tried using nfcDemoApp but PN7150 doesn't respond. I am able to detect it's address 0x28 when I run i2cdetect command. Following is the log while running nfcDemoApp
./nfcDemoApp poll
NxpExtns: find found NXPLOG_TML_LOGLEVEL=(0x3)
NxpExtns: find found NXPLOG_FWDNLD_LOGLEVEL=(0x3)
NxpExtns: find found NXPLOG_NCIX_LOGLEVEL=(0x3)
NxpExtns: find found NXPLOG_NCIR_LOGLEVEL=(0x3)
NxpHal: Entering phNxpNciHal_init_monitor
NxpHal: Returning with SUCCESS
NxpTml: Opening port=/dev/pn544
NxpTml: phTmlNfc_i2c_reset(), VEN level 1
NxpTml: phTmlNfc_i2c_reset(), VEN level 0
NxpTml: phTmlNfc_i2c_reset(), VEN level 1
NxpTml: PN54X - Tml Reader Thread Started................
NxpTml: PN54X - Tml Writer Thread Started................
NxpTml: PN54X - Tml Writer Thread Running................
NxpHal: NxpTml: PN54X - Read requested.....
NxpTml: thread started
PN54X - Invoking I2C Read.....
NxpTml: PN54X - Write requested.....
NxpTml: PN54X - Invoking I2C Write.....
NxpNciX: len = 4 > 20000101
NxpTml: PN54X - I2C Write successful.....
NxpTml: PN54X - Posting Fresh Write message.....
NxpTml: PN54X - Tml Writer Thread Running................
NxpHal: write successful status = 0x0
NxpHal: Response timer started
NxpHal: Waiting after ext cmd sent
NxpHal: hal_extns_write_rsp_timeout_cb - write timeout!!!
NxpHal: Response timer stopped
NxpHal: Callback Status is failed!! Timer Expired!! Couldn't read it! 0xff
NxpHal: NCI_CORE_RESET: Failed
NxpHal: Power Cycle
NxpTml: phTmlNfc_i2c_reset(), VEN level 1
NxpTml: phTmlNfc_i2c_reset(), VEN level 0
NxpTml: phTmlNfc_i2c_reset(), VEN level 1
NxpHal: PN54X Reset - SUCCESS
NxpTml: PN54X - Write requested.....
NxpTml: PN54X - Invoking I2C Write.....
NxpNciX: len = 4 > 20000101
NxpTml: PN54X - I2C Write successful.....
NxpTml: PN54X - Posting Fresh Write message.....
NxpTml: PN54X - Tml Writer Thread Running................
NxpHal: write successful status = 0x0
NxpHal: Response timer started
NxpHal: Waiting after ext cmd sent
NxpHal: hal_extns_write_rsp_timeout_cb - write timeout!!!
NxpHal: Response timer stopped
NxpHal: Callback Status is failed!! Timer Expired!! Couldn't read it! 0xff
NxpHal: NCI_CORE_RESET: Failed
NxpHal: Power Cycle
NxpTml: phTmlNfc_i2c_reset(), VEN level 1
NxpTml: phTmlNfc_i2c_reset(), VEN level 0
NxpTml: phTmlNfc_i2c_reset(), VEN level 1
NxpHal: PN54X Reset - SUCCESS
NxpTml: PN54X - Write requested.....
NxpTml: PN54X - Invoking I2C Write.....
NxpNciX: len = 4 > 20000101
NxpTml: PN54X - I2C Write successful.....
NxpTml: PN54X - Posting Fresh Write message.....
NxpTml: PN54X - Tml Writer Thread Running................
NxpHal: write successful status = 0x0
NxpHal: Response timer started
NxpHal: Waiting after ext cmd sent
NxpHal: hal_extns_write_rsp_timeout_cb - write timeout!!!
NxpHal: Response timer stopped
NxpHal: Callback Status is failed!! Timer Expired!! Couldn't read it! 0xff
NxpHal: NCI_CORE_RESET: Failed
NxpHal: Power Cycle
NxpTml: phTmlNfc_i2c_reset(), VEN level 1
NxpTml: phTmlNfc_i2c_reset(), VEN level 0
NxpTml: phTmlNfc_i2c_reset(), VEN level 1
NxpHal: PN54X Reset - SUCCESS
NxpTml: PN54X - Write requested.....
NxpTml: PN54X - Invoking I2C Write.....
NxpNciX: len = 4 > 20000101
NxpTml: PN54X - I2C Write successful.....
NxpTml: PN54X - Posting Fresh Write message.....
NxpTml: PN54X - Tml Writer Thread Running................
NxpHal: write successful status = 0x0
NxpHal: Response timer started
NxpHal: Waiting after ext cmd sent
NxpHal: hal_extns_write_rsp_timeout_cb - write timeout!!!
NxpHal: Response timer stopped
NxpHal: Callback Status is failed!! Timer Expired!! Couldn't read it! 0xff
NxpHal: NCI_CORE_RESET: Failed
NxpTml: PN54X - Write request NOT enabled