This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

port TRF7970 for STM32



Hi all

I'm trying to port the TI TRF7970 sample code wrote on MSP to STM32 microcontroller. Now I can read UID correctly and the AUTHENTICATION is left. I added remaining Source, Header and Library files and compiled projct. it seems in mfc_app.c file, tag_header.h file included that I can't find it in sample code I have for MSP.

I searched a lot but could not find it anywhere. can someone please tell me how should I solve it?

Thank you

Behnam

  • Hi Behnam,

    Which TI sample code are you working with? The SDM Mifare Classic example? I need to know in order to look through the files and see what may be going on.
  • Hi Ralph 

    The one that works on RF7970EVM, SLOA214. it's not just about "tag_header.h", lot's of other header and library files are missed when I try to compile code. I know all of them are used for Authentication level, when I comment that line, every thing is ok and I read the UID. do you have any idea about the solution?

    Thank you

    Behnam

  • Hi Behnam,

    I imported the project into CCS in order to have a look at what might be going on. From what I can see, neither the mfc_app.c or the mifare.c files are 'included' for the build of the project, so you can remove those. That should take care of some of your errors.

    However, I think the real problem at hand here is the MifareCryptoLibrary.lib file which is made in CCS and would not be portable. The library was made in order to allow us to provide the firmware without needing to go through any export control checks. I believe - though I have to verify with the engineer who wrote this firmware - that if you go through the export control process we can share the source files for that .lib with you.

    We have another version of the firmware with the required export control checks: http://www.ti.com/tool/trf796x_trf7970x_mifare_12_2013

    If you request access to this firmware and are granted it, then provided I am correct about the .lib file, we can also share those files with you privately, so please sign up for approval for that firmware while I check with the engineer.

    I will also send you a friend request in order for us to be able to private message for private communication as well.

  • Thank you so much Ralph. so then I need to have the source codes
    I accepeted friend request, I would be gladful if can receive the firmware.
  • Thank you Josh, just filled the form, is it full firmware?