cancel
Showing results for 
Search instead for 
Did you mean: 

SPI interface for STM32L476VG

RShiv.1
Senior

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?

190 REPLIES 190
RShiv.1
Senior

Hi BT,

attaching for PA3 and PA5

RShiv.1
Senior

Hi BT,

attaching for PA4 ,PA2and PA6.

regards

Ravi

RShiv.1
Senior

Hi BT,

let me know if these connections are fine.

regards

Ravi

Brian TIDAL
ST Employee

Hi,

disconnect the ST25R3911B IRQ pin from the STM32L476VG-DISCO board and probe the IRQ on the X-NUCLEO-NFC05A1 with a scope (CN8 pin 1) : when resetting the MCU, you should see a falling interrupt just after few SPI exchanges following the MCU reset.

Do you see the interrupt?

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
RShiv.1
Senior

Hi BT,

No we are not seeing any activity after removing PA3 and connecting to CN8 pin 1 on the NFC side.

regards

Ravi

RShiv.1
Senior

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

Brian TIDAL
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
RShiv.1
Senior

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.1
Senior

Hi BT,

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

rgrds

Ravi

RShiv.1
Senior

Hi BT,

we are also getting MOSI and MISO line ...