Forum › MIFARE SmartCard IC`s › MIFARE DESFire › Using PN512 to communicate with Mifare Desfire EV1 card › Re: Using PN512 to communicate with Mifare Desfire EV1 card
Hi Renke,
Thank for your feedback.
I've used my embedded sytem PN512 to communicate with Desfire EV1 successfully with: REQA, CL1, CL2, RATS, PSS..
It means that my config for PN512 is OK.
However, I can not implement the native commands as: SelectApplication, GetVersion....
My code is:
void PICC_Select(void)
{
Write_PN512(0x0A,0x80); // Flush FIFO
Write_PN512(0x09,0x5A); // Native command, select PICC
Write_PN512(0x09,0x00);
Write_PN512(0x09,0x00);
Write_PN512(0x09,0x00);
//
Write_PN512(0x12,0x00); // Disable TX,RX CRC
Write_PN512(0x13,0x00);
Write_PN512(0x0D,0x80); // Transmit
//
Read_PN512(0x0A); // check response from PICC: get 0x00 -> It means there is no answer from PICC? It should be 1
}
Now, I'm using the native commands set of Desfire (MF3ICD40) instead of Desfire EV1 (MF3ICD41).
Is it OK? I dont't find the native commands set of Desfire EV1 in Internet.
Could you help me about the native commands set of Desfire EV1?
Beas regards,
Trong Quyen
Thank for your feedback.
I've used my embedded sytem PN512 to communicate with Desfire EV1 successfully with: REQA, CL1, CL2, RATS, PSS..
It means that my config for PN512 is OK.
However, I can not implement the native commands as: SelectApplication, GetVersion....
My code is:
void PICC_Select(void)
{
Write_PN512(0x0A,0x80); // Flush FIFO
Write_PN512(0x09,0x5A); // Native command, select PICC
Write_PN512(0x09,0x00);
Write_PN512(0x09,0x00);
Write_PN512(0x09,0x00);
//
Write_PN512(0x12,0x00); // Disable TX,RX CRC
Write_PN512(0x13,0x00);
Write_PN512(0x0D,0x80); // Transmit
//
Read_PN512(0x0A); // check response from PICC: get 0x00 -> It means there is no answer from PICC? It should be 1
}
Now, I'm using the native commands set of Desfire (MF3ICD40) instead of Desfire EV1 (MF3ICD41).
Is it OK? I dont't find the native commands set of Desfire EV1 in Internet.
Could you help me about the native commands set of Desfire EV1?
Beas regards,
Trong Quyen
+ 0
|
- 0