2023-05-05 02:12 PM
I have program for CAN bus and NFC08a1 but when i combine i get several errors. All i want to do is get the reading from the nfc reader and send them on can. does anyone know how to do that?
Solved! Go to Solution.
2023-05-15 01:16 PM
jusr send you in private message
2023-05-16 04:14 AM
Hi,
SPI clock does not have any data. Wrong pin probed by your logic analyzer?
The rest seems to hint on basic communication operational. However ISR is not correctly executed. INT line stays high for a long time and gets only cleared by RFAL when detecting a timeout after some milliseconds.
Regards, Ulysses
2023-05-17 01:13 PM
Hey Ulysses, I was able to figure out the pin i was using the wrong pin.
2023-05-22 06:50 AM
Issue solved.
To ensure that the compiled driver meets the user intended device, it is required to add a pre-processor instruction defining the targeted ST25R device (e.g. ST25R3916B).
This needs to be globally defined as a compiler define (i.e. the RFAL source code should ***not**** be modified to add this define at source file level).
BT
2023-07-07 06:08 AM
@Brian TIDAL Could you please share exactly that define name? (to compile code for ST25R3916B instead of ST25R3916)
2023-07-07 07:31 AM
Hi @Lex,
the define is ST25R3916B. Make sure to use the latest RFAL package (STSW-ST25RFAL002) or the latest X-CUBE-NFC6 or the latest ST25 embedded NFC library. X-CUBE-NFC6 and ST25 embedded NFC library come with demo projects for X-NUCLEO-NFC08A1 (ST25R3916B expansion board) that already contains the proper define.
Rgds
BT