2024-01-17 03:27 PM
Hey all,
It is a very basic question and I would appreciate some help on this. I am working with M24LR-Discovery Tool kit and I want to detect my own tag with the RF Transceiver. I downloaded the Software source code STSW-95HF002. and understood whats happening in it.
Now, I edited the code as per my requirements and want to build it. I imported the Files in STM32CUME IDE (the downloaded source code does not come with ".project" file) and want to build the project and again program the controller. How can I do it? I am not able to find the appropriate build configuration for the project. I imported the project as File -> Import -> General -> Projects from Folder and Archive
How can I do the same for TrueStudio?
Just some small backgrounfd: The tool kit comes with a MB1054B-CR95HF Transceiver which has a STM32F103C8T6 controller onboard and I just have to program that. Thanks in advance :)
Solved! Go to Solution.
2024-01-18 05:52 AM
Hi,
"What I want to do: Read Tag and Print data On windows console frequently" This can be achieved in different ways:
Rgds
BT
2024-01-18 01:35 AM
Hi,
Be aware that the M24LR-Discovery evaluation kit is in "Not Recommended for New Development" (NRND) state. TrueStudio is as well in NRND state.
The RF transceiver board is based on CR95HF and it supports ISO14443A/B, Felica(TM) and ISO15693 technologies. The firmware of the board supports those technologies and the "CR95HF development software - 2.3.1" PC application provides tabs to demonstrate those technologies. Can you provide more information about the tag you would like to use (manufacturer and model) and about your use case?
Regarding your question about building projects:
Rgds
BT
2024-01-18 01:53 AM - edited 2024-01-18 02:22 AM
Hey, thanks for you reply. The tag I am detecting is ISO14443A standard manufactured by Nordic nRF52833.
I want to develop a simple program to ping the tag and get the data and print it on console. Its a learning project for myself to get started with NFC. Hence, what SDK would you recommend? I would like to program the onboard STM32F103 using STM32CUBE IDE.
I am more concerned about the PIN configurations of on board MCU.
Also, can you tell me shortly how can I import it and build the project? That would be super helpful :)
best,
2024-01-18 04:39 AM
Hi,
the MB1054B RF transceiver board is designed to work with an host PC over USB. Hence when using this board, the application runs on a PC and communicates with the RF transceiver board through a DLL over USB. It is not designed as a firmware development board. What you have seen inside the STSW-95HF002 package is C code and VB code that is intended to run on a PC through the CR95HF.DLL so definitively not using STM32CubeIDE and not requiring RF transceiver board firmware modification.
"I want to develop a simple program to ping the tag and get the data [...]." Where this program will run: on the Host PC or on the RF transceiver board?
"[...]and print it on console." On which console? do you mean that your application will be a windows console application and that you will printf the data on the stdout?
"I would like to program the onboard STM32F103 using STM32CUBE IDE." the RF transceiver board does not have a embedded STlink and therefore an external STLink with a 20-pins connectors would be needed.
If your intention is to have a firmware application, I strongly recommend to use an X-NUCLEO-NFC03A1 (CR95HF) connected to an NUCLEO-L476RG MCU board and to use the ST25 embedded NFC library package that provides ready to use firmware demos for STM32CubeIDE.
Rgds
BT
2024-01-18 05:31 AM
Okay now some things are getting clear to me. I will just clearly state what I was doing and what I want to achieve.
What I want to do: Read Tag and Print data On windows console frequently
How was I thinking to do it: Use STSW-M24LR007 to program the on board MCU (which you said that it is not designed to for firmware development board) and take the data received from the tag and send serially to windows and print it on console.
What I want to do: Receive data from the tag and put it on windows console.
"Where this program will run: on the Host PC or on the RF transceiver board?" -- where should it run according to you? It is confusing for me as I just started working on it for the first time. Is running the program using the C code and CR95HF.DLL is feasible. Because this makes my problem less complex. So is there any way I can modify the source.h and .cpp files in STSW-95HF002 package and compile to make an executable? Is this possible?
So, how can I do it? I used the STSW-95HF002, but I want to add functions for ISO14443A and modifiy the main loop. But then, I need to compile it to get the executable right? How can I do it? Any ideas please? Am I going in the wrong direction? Some help would be really appreciated. :)
best,
Ken
2024-01-18 05:52 AM
Hi,
"What I want to do: Read Tag and Print data On windows console frequently" This can be achieved in different ways:
Rgds
BT
2024-01-18 06:13 AM
Thanks. I will tryout these options. :)