MFRC630 Authentication Mifare classic 1k

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MFRC630 Authentication Mifare classic 1k

718 次查看
ihsan
Contributor I

I use MFRC630 chip with Mifare Classic 1k. 

I use UART interface between mcu and mfrc630. And i read card uid. but when i try to write and read a block, i could not read and write.

I set the Transmit CRC and receiver CRC. But when i read the interrupt register 1, the chip send 0x47. we get error register and status register equals zero. 

Here is the pseudo code of authentication:

-Load Key

-IRQ0EN

-IRQ1EN

 -Timer0config

-IRQ0Clear

-IRQ1Clear

-MFAuthent(MFAuthent Command is consisted of 60h or 61h, (block address), (card serial number byte0),(card serial number byte1), (card serial number byte2),(card serial number byte3))

-Set Rx and Tx CRC(CRC16)

-IRQ0EN

-IRQ1EN

-Timer0config

-IRQ0Clear

-IRQ1Clear

-Mifare Read Block.

 

标记 (1)
0 项奖励
回复
1 回复

683 次查看
Fabian_R
NXP TechSupport
NXP TechSupport

Hello ihsan,

My apologies for the delay in answering back, thank you for using our products.

Please check our documentation for using MFRC630 without the library:

https://www.nxp.com/docs/en/application-note/AN12657.pdf

Or if you prefer, migrate the library for the MCU you are using:

https://www.nxp.com/docs/en/application-note/AN11256.pdf

Here is the link to the Reader Library:

https://www.nxp.com/design/designs/nfc-reader-library-software-support-for-nfc-frontend-solutions:NF...

Best Regards,
Fabian
0 项奖励
回复