i am using SDM and DM1 for reading MIFARE CLASSIC DATA
and i am following sloa214 document
but i have problem
i can't see SDM BIT CLK Even though I set Mifare_SDM_config and Mifare_SDM_Enter and SDM_TXENABLE_ON
but SDM BIT CLK sometimes occurs.
I already check SPI Communicate for set it
and when MCU send auth command through TX Data , is AUTH COMMAND value right ?
auth1_command = 0x60;auth1_command = 0;CalculateParity(auth1_command, 2);CalculateCRC(auth1_command, 2);
DirectModeTransceive( DM_TX_PARITY | DM_RX_PARITY, auth1_command, 4, 0, auth1_response, &recv_bytes, &recv_bits);
AUTH COMMAND : [0 : 0x60][1 : 0x01][2 : 0x00][3 : 0x01]
I think the CRC calculation for the AUTH command is not ok.
For block = 0x00 it should be 0x60 0x00 0xF5 0x7B
for block = 0x01 it should be 0x60 0x01 0x7C 0x6A
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Helfried Vollbrecht:
Thank you !!
i solved it but i have another problem ....
i think Mifare_DM1_Recieve of sloa214 has some problem
I send data [ 0x60 0x00 0xF5 0x7B ] and
this is process of receiving but i Can't Read Data
Plaese Check Mifare_DM1_Recieve of sloa214
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.