AnsweredAssumed Answered

PN7150 does not seem to be performing any discovery

Question asked by Shaheen Mahomed on Sep 19, 2016
Latest reply on Oct 20, 2016 by Jorge_Gonzalez

Hi

I am  trying to interface an STM32F4 uProcessor to a PN7150.  I have the PN7150 with the Arduino SBC kit and have connected the STM32F4 to the SBC kit successfully.  I am able to RESET and INIT the PN7150 anf, following the User Manual, have gotten to the point where I send the Discovery Command and get back a STATUS_OK response.  I am not able to detect any cards or see any polling activity on the antenna of the SBC.

 

I have set up the discovery map  for T1T, T2T, T3T and ISO_DEP cards
uint8_t disc_map_command[] = { 0x21, 0x00, 0x0D, 0x04, 0x01, 0x01, 0x01, 0x02, 0x01, 0x01,  0x03, 0x01, 0x01, 0x04, 0x01, 0x02};

 

I'm not changing the configuration parameters and then I send the Discovery command

uint8_t disc_command[] = { 0x21, 0x03, 0x09, 0x04, 0x00, 0x01, 0x01, 0x01, 0x02, 0x01, 0x06, 0x01};

 

I dont see anything on the antenna indicating polling taking place, and there is no change in the IRQ to indicate a message from the NFCC when placing a card is placed in the antenna field.

 

Am i supposed to send the discovery command every time i would like to poll or is a single command supposed to initiate polling and make the NFCC poll cyclically?

 

How do i confirm that the NFCC is polling and what should i expect when a card is detected?

 

Thanks for any assistance you can provide to get this working.

Shaheen Mahomed

Outcomes