Skip to main content
Visitor II
March 2, 2021
Solved

SPI interface for STM32L476VG

  • March 2, 2021
  • 185 replies
  • 63548 views

STM32L476VG is the MCU we are interfacing with ST25R3911B using SPI.

what we have understood from some search is that we need RFAL (abstraction layer) to interface with RF HAL.

Then once we integrate RFAL and RF HAL in our system workbench(ac6) project we need to build the integration then use SPI calls to read the register from RFID reader ST25R3911B

we wanted to use ISO-14443A standard to be configured and read the values.

where do we get the basic RFAL work space or code flow so that we shall use in our current project?

Kindly guide us and let us know are we in right path?

    This topic has been closed for replies.
    Best answer by Brian TIDAL

    Hi,

    X-CUBE-NFC5 package provides an NFC polling demo using the RFAL and running on NUCLEO-L476RG (MCU board) + X-NUCLEO-NFC05A1 (ST25R3911B expansion board). It can be a good starting point for a project based on SYM32L476VG.

    Rgds

    BT

    185 replies

    RShiv.1Author
    Visitor II
    May 21, 2021

    Hi BT,

    SPI init is succeeding whereas INT i s failing what could be the issue??..hardware NFC05A1...then how do we proceed from here??,,kindly help us on this.

    regards

    Ravi

    Technical Moderator
    May 21, 2021

    Hi,

    is the Gnd properly connected on the scope probe?

    Can you confirm that you have press the B1 reset push button on the STM32L476VG-DISCO  while probing?

    is the CN8.1 pin high or low?

    Have you properly connected ST25R3911B VDD_IO and VDD power supply?

    Rgds

    BT

    RShiv.1Author
    Visitor II
    May 21, 2021

    Hi BT,

    1.Yes, the GND is connected properly on the scope probe.

    2.Yes we have pressed the B1 reset push button on the STM32L476VG-DISCO.

    3.CN8.1 pin is low

    4.Yes we are seeing the green light in ST25R3911B  board..we are seeing SPI init passed as mentioned earlier.

    regards

    Ravi

    RShiv.1Author
    Visitor II
    May 21, 2021

    Hi BT,

    attaching the SPI CLK . for your reference we are seeing clk for every sec

    rgrds

    Ravi

    RShiv.1Author
    Visitor II
    May 21, 2021

    Hi BT,

    we are also getting MOSI and MISO line ...

    RShiv.1Author
    Visitor II
    May 21, 2021

    Hi BT,

    any pointers for us??

    Technical Moderator
    May 21, 2021

    Hi,

    Can you measure ST25R3911B VDD and VDDIO?

    Rgds

    BT

    RShiv.1Author
    Visitor II
    May 21, 2021

    Hi BT,

    voltage L200 is 3.27 V ....voltage at C203 is also 3.27 V...Kindly let us know if these are ok..

    thanks and regards

    Ravi

    RShiv.1Author
    Visitor II
    May 21, 2021

    Hi BT,

    Any obeservation here..kindly let us know.

    rgdrs

    Ravi

    Technical Moderator
    May 21, 2021

    Hi

    Can you check whether R200 is properly soldered on the X-NUCLEO-NFC05A1? can you probe INTR_11 on the board while resetting the MCU?

    Rgds

    BT