Skip to main content
Visitor II
August 8, 2021
Solved

Connect nucleo l476rg with st25ru3993 hpev using stm cube ide

  • August 8, 2021
  • 3 replies
  • 951 views

How to connect nucleo l476rg with st25ru3993 hpev via spi communication to read the data of the tags? I am using stm cube ide.

    This topic has been closed for replies.
    Best answer by Nick K

    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

    3 replies

    ST Employee
    August 26, 2021

    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.

    https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/st25-nfc-rfid-eval-tools/st25-nfc-rfid-eval-boards/st25ru3993-hpev.html#cad-resources

    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.

    https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/st25-development-tools/stsw-st25ru-sdk.html

    BR

    Nick

    YChav.3Author
    Visitor II
    August 26, 2021

    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.

    Nick KAnswer
    ST Employee
    August 30, 2021

    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