AnsweredAssumed Answered

CLRC663 NFC Reader Library

Question asked by AI KE on Feb 21, 2019
Latest reply on Mar 1, 2019 by AI KE

CLRC663 hardware connection mode is SPI

CLRC663 hardware connection mode is SPI 

 

 

 

 

Red box

The code in the red box as shown in the figure has encountered a problem.
The code provided by NXP.Hello, the problem is this: the original solution
was STM32+RC663. All functions are normal.
Now it is changed to the solution of CC2640+RC663, which can be used as a
card reader to read data of a TAG and write data to the tag. There is a
problem with calling the activation card function:

       / / activate card function
       status = phpalSli15693_ActivateCard(&palSli, bOption, bFlags,
                                                                    bAfi, pMask, bMaskLength,
                                                                    &bDsfid, pUid, &bMoreCardsAvaliable);

Every time this function is called, CC2640 (Microcontrollers) will crash, it doesn’t work.
If this function of the activation card is blocked, there will be no problem.
because the UID of the tag must be obtained by activating this function of the card,
this function of the activation card directly calls the code of NXP,  I don't know how

to solve this problem.              

1.Find only the script in serial mode, and want the simple operation register in SPI mode

to get the reference code of UID.

2. Want to know if NXP has a simple protocol command document for registers, so you

can write your own code to get the UID of the tag.
3, whether this activation function takes up memory and has a large array, causing the
Microcontrollers(CC2640) to crash, or it can be solved by modifying the code in this function.
Look forward to your reply.

 

每次调用这个函数就会导致CC2640(单片机)死机,屏蔽掉这个激活卡的函数,
就没有问题,但是必须通过激活卡这个函数,来获取标签的UID,因为这个激
活卡的函数是直接调用NXP的代码,所以现在不知道这块可能需要怎么解决。
1,只找到串口通信方式的脚本,想要SPI方式的简单操作寄存器来获取UID的参考代码。

2,想知道NXP有没有寄存器的简单的协议命令文档,这样可以自己写代码,
来获取标签的UID。

3,这个激活函数是不是占用了内存,有大数组之内的,
导致单片机死机,或者就在这个函数里面修改代码能解决。

Outcomes