2018-07-24 02:38 AM
I'm using a ST25R3911B-DISCO for a project and I need to use the UART interface, instead of the USB one and the software provided by ST, to send commands (like INVENTORY, READ BLOCK, WRITE BLOCK) and receive the corresponding information.
Is it possible with this board? And if it is, how can I proceed to implement it?
Thanks in advance,
Eduardo
Solved! Go to Solution.
2018-08-03 03:18 AM
Hi Eduardo,
If you implement a USB CDC class and install a VCP driver (usbser.sys) on the PC you could be able to do this. But nothing of it is supported in the existing firmware.
Regards, Ulysses.
2018-07-30 05:49 AM
Hi Eduardo,
the ST25R3911B-DISCO does not have an ST-Link and as such also no UART->USB(PC) bridge. You may be better off with the XNUCLEO-NFC05A1 which does already do some logging through UART. This should be easily extendable to also perform some actions on (UART) request.
Regards, Ulysses
2018-07-31 10:20 AM
Thank you for your answer but I still don't understand completely.
I want to send and receive data from the UART in order for the board to be seen by the computer as a COM port because with that I can make my own app in Visual Studio to work with the board.
Even if I modify the firmware of the board, it's still impossible to work through the UART?
Regards,
Eduardo
2018-08-03 03:18 AM
Hi Eduardo,
If you implement a USB CDC class and install a VCP driver (usbser.sys) on the PC you could be able to do this. But nothing of it is supported in the existing firmware.
Regards, Ulysses.
2018-11-17 05:30 AM
Dear Eduardo
I already have your problem and I need just to know about the command and details to be send by my com port in my own software not in st25r3911b discovery gui .
have you found it way ?
2018-12-05 11:35 AM
I have the same issue. Apparently one of the solutions is you have to implement the UART support using the source code of the firmware and flash to the MCU (if you are an embedded developer by chance)
Another one is to write your own application with Eclipse/Java using the provided SDK.
It is pity that this is not ready by the original firmware for a such nice design. It is just pity.
I will have to look for alternatives which are supporting UART/TTL/SPI/I2C natively.
2018-12-07 03:54 AM
Hi,
there is maybe a somewhat easy path to achieve this: You could use the XNUCLEO-NFC05A1 + X-CUBE-NFC5: This solution provides some simple demo to show communication with tags and does logging on UART (through ST-Link VCP).
Adding a few commands from host to device should not be too complicated.
How does that sound to you?
Regards, Ulysses
2018-12-07 04:43 AM
Hi Ulysses,
I appreciate your response on my remarks. I have already read your similar suggestion above earlier.
That would be an option of course although the design is not that neat as that ST25R3911B-DISCO.
It has a nice product-look rather than a prototype board.
And My colleagues have already bought three of those ST25R3911B-DISCO.
Because, they were thinking, if the UART pins (GND, TX, RX, VCC) are exposed/featured from the PCB, it is supposed to work via this option as well out of the box. But, this turns out to be a disappointment now.
I would prefer ST makes an alternative-or-upgrade firmware to support UART originally. That wouldn't be that difficult for you guys I believe.
2018-12-07 04:59 AM
Hi,
it would need some effort for which we have currently don't have the resources. There are major efforts included: testing, signed driver, solution for USB/serial converter, documentation, GUI update, etc.
Regards, Ulysses
2018-12-07 05:07 AM
Fair enough Ulysses, then I should hope, some enthusiast people can contribute this and be kind to share with the community who considers to use ST25R3911B-DISCO with UART.