CLRC663 Programming Guide via UART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CLRC663 Programming Guide via UART

4,844 Views
danieltruong
Contributor IV

Hi everyone,

I'm using the RFID controller chip CLRC663 with an UART connection to a NXP microcontroller. Not sure how to program this chip to do what it is supposed to do.

Can anybody recommend what sort of documentation (like a programming guide) that has not only the instruction set (command set) but also typical examples given how to set up the chip, perform the right protocol in order to read in the MIFARE cards properly?

I read thru Section 7.10 of the main datasheet (CLRC663.pdf) posted on the NXP web site. It has a table of command set and good to use as a reference, but it is not a "programming guide" at all.

Thanks,

Daniel

0 Kudos
3 Replies

2,573 Views
shermandowell
Contributor I

In the case that you couldn't decode the app notes (I can't).  Here is a working spi library that operates with using an Arduino Uno to control the CLRC663 chip on the CLEV6630B dev board.  Additionally, I have removed the 0 ohm resistors connecting the SPI bus to the on board microcontroller and have all jumpers on board set to 5V logic level for the Uno communication. Hope this helps.

GitHub - iwanders/MFRC630: A library for NXP's MFRC630 NFC IC. 

0 Kudos

2,573 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Daniel,

    Following documents and software & tools are recommended to you !

(1) documents

High-performance multi-protocol NFC frontend|NXP 

---Application Notes (15)

   ---CLRC663, MFRC631, MFRC630, SLRC610 PC-Serial RS232 Quick Start Guide

   ---Using the RS232 serial evaluation boards on a USB port

   ---CLRC663, MFRC631, MFRC630, SLRC610 Software Design Guide for NXP®RDLib

   There are 15 application notes here, you can check if others can help you!

(2)Software

High-performance multi-protocol NFC frontend|NXP 

---CLRC663 redboard scripts(REV 1.0)

---PCSerial, SW(REV 1.0)

Best Regards,

Weidong

0 Kudos

2,573 Views
vince2
Contributor I

I know it's been a while, but this is exactly what I'm looking for, but these links are 404, and I can't find them anywhere on the NXP documentation site, or on the internet at all.

Is using UART on linux still a supported method to use the CLRC663?

I'm trying to use the CLRC663 on an intel board in linux. SPI is unavailable, so I'd like to connect via USB and communicate via UART, but I can't find any documentation that will help me. 

The "redboard scripts" link does run, but on my windows machine with my 'blue board' it doesn't seem to work and just slowly steps through. See the output below from the 15693 Inventory script where it tries to read a tag - I do not see a match for the tag's UID: BD 4A 04 08 01 78 16 E0 which I can read correctly using the NFC Cockpit application.


Any help would be greatly appreciated

//< Read FIFO, UID
GR 04 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 05 // data == FC // (Status: 0x0104)
GR 06 // data == FC // (Status: 0x0104)
GR 07 // data == FC // (Status: 0x0104)
GR 04 // data == FC // (Status: 0x0104)
GR 0A // data == FC // (Status: 0x0104)
GR 2E // data == FC // (Status: 0x0104)
SR 2E 08 // (Status: 0x0104)
GR 0C // data == FC // (Status: 0x0104)
GR 2E // data == FC // (Status: 0x0104)
SR 2E 08 // (Status: 0x0104)

0 Kudos