2021-08-08 03:29 PM
How to connect nucleo l476rg with st25ru3993 hpev via spi communication to read the data of the tags? I am using stm cube ide.
Solved! Go to Solution.
2021-08-30 02:08 AM
If you plan to remove the onboard STM32L4 MCU and replace with an external MCU you have to adopt any changes in the HW (pin connection) in the FW.
E.g.: for a new connections for SPI (towards ST25RU3993 and Tuning circuit) and also for the GPIOs that control PA switch and and .. Please have a look to the schematic of the HPEV board.
This can be done with the STM32CubeMX file that is part of the FW source code.
To develop, debug and build your new FW for your own HW setup you could use STM32CubeIDE for example. Within this IDE you can also flash your FW through the ST-Link V2 from your Nucleo board to your own STM32L4 MCU.
The minimal set of commands to configure the HW and send a Gen2 Inventory command to retrieve TAG EPC's can be found in the SDK sample source code.
By using the SDK the application SW will be notified when TAGs are read. When retrieving this notification you get also the EPC information for example.
Nick
2021-08-26 06:31 AM
Hi,
ST provide the schematic of the ST25RU3993 HPEV board as reference design.
You can download the schematic in pdf format or for Altium Designer.
The schematic demonstrates the SPI connection between the ST25RU3993 and the STM32L476RG and other components to build up your own RAIN compatible UHF reader.
ST also provides a SDK package, including the FW source code of the HPEV board. The FW source code demonstrate the usage of the ST25RU3993 Reader IC with the STM32L4 MCU, including the SPI communication to perform Gen2 commands to read TAGs.
BR
Nick
2021-08-26 09:34 AM
Thanks Nick.
But I want to connect external nucleo L476RG to ST25RU3993 HPEV board.
So, Can you let me know which type of code I must refer to flash the external nucleo L476RG to read the scan tags of ST25RU3993 HPEV board and print on console.
2021-08-30 02:08 AM
If you plan to remove the onboard STM32L4 MCU and replace with an external MCU you have to adopt any changes in the HW (pin connection) in the FW.
E.g.: for a new connections for SPI (towards ST25RU3993 and Tuning circuit) and also for the GPIOs that control PA switch and and .. Please have a look to the schematic of the HPEV board.
This can be done with the STM32CubeMX file that is part of the FW source code.
To develop, debug and build your new FW for your own HW setup you could use STM32CubeIDE for example. Within this IDE you can also flash your FW through the ST-Link V2 from your Nucleo board to your own STM32L4 MCU.
The minimal set of commands to configure the HW and send a Gen2 Inventory command to retrieve TAG EPC's can be found in the SDK sample source code.
By using the SDK the application SW will be notified when TAGs are read. When retrieving this notification you get also the EPC information for example.
Nick