AnsweredAssumed Answered

LCRC663 can not get respond

Question asked by 臣柱 宣 on Jan 10, 2018
Latest reply on Jan 16, 2018 by Kan_Li

our company use lcrc663 as an NFC device to read Mifare1 card。

the mcu is IMX6Q,the driver write by myself can send REQA(0x26) and get ATQA (0x04 0x00)from PICC.

but send anticollision (0x93,0x20) can not get respond from picc.

 

my driver set register as follows:

[ 35.056201] lcrc663-get addr= 0x00 ,reg =0x00
[ 35.056274] lcrc663-get addr= 0x01 ,reg =0x40
[ 35.056348] lcrc663-get addr= 0x02 ,reg =0xA0
[ 35.056421] lcrc663-get addr= 0x03 ,reg =0x1F
[ 35.056494] lcrc663-get addr= 0x04 ,reg =0x00
[ 35.056567] lcrc663-get addr= 0x05 ,reg =0x00
[ 35.056639] lcrc663-get addr= 0x06 ,reg =0x3C
[ 35.056712] lcrc663-get addr= 0x07 ,reg =0x40
[ 35.056785] lcrc663-get addr= 0x08 ,reg =0x07
[ 35.056858] lcrc663-get addr= 0x09 ,reg =0x7F
[ 35.056932] lcrc663-get addr= 0x0A ,reg =0x00
[ 35.057005] lcrc663-get addr= 0x0B ,reg =0x00
[ 35.057078] lcrc663-get addr= 0x0C ,reg =0x80
[ 35.057152] lcrc663-get addr= 0x0D ,reg =0x00

 

other rigister value is set as 106k 14443A by loadreg and loadprotocol cmd.

the only diffrence between send REQA and Anticollision is 

TxDataNum  (address 2Eh this register change from 0x0f to0x08

Can you help me to find where is the problem? thankyou

Outcomes