2023-10-13 02:46 AM
Hello everyone,
I try to connect the Nucleo-NFC08A1 board with a STM32F205VET6 via SPI. I'm also using the X-Cube NFC6 software extension and tried polling.
STM32F205VET6 NUCLEO-NFC08A1
SCK: PC0 - ST5 (Arduino Connectors)
MISO PC1 - ST6 (Arduino Connectors)
MOSI PC2 - ST7 (Arduino Connectors)
/SS PD0 - ST7 (Arduino Connectors)
IRQ PD1 - ST7 (Arduino Connectors)
I know its required to change the ports in platform.h but I could not found it. Can someone help me? Is there something else to change ?
Solved! Go to Solution.
2023-10-16 04:22 AM
Hi Brian,
I found the reason for my problem. You forgot to connect CN6.4. to +5V. Thank you for your help I hope you're doing good.
Rgds
2023-10-13 04:06 AM
Hi,
if you have used STM32CubeMX and the X-CUBE-NFC6 3.0.0 package and configured this through STM32CubeMX, there should be no need for modification. For example:
Can you elaborate more on your issue: is it a compilation issue or an execution issue? If it an execution issue, have you properly configured the PD1 as GPIO_EXTI1 and enabled the EXTI Line 1 interrupt in the NVIC configuration?
I would recommend to set the ST25R_SELFTEST and ST25R_SELFTEST_TIMER compilation switch and make sure that st25r3916Initialize returns no error.
Rgds
BT
2023-10-13 05:00 AM
Hi BT,
it's more like a execution because i tried to analyze the SPI with an Logic Analyzer and I don't receive any data.
Rgds
Best Regards
2023-10-13 05:08 AM
The Programm get's stuck when it tries to check the st25r3916CheckChipID(). It wants to read the Identyty register but did not get any value back.
2023-10-13 08:08 AM
Hi,
I suggest to check the SPI configuration. Typical configuration for SPI on X-NUCLEO-NFC08A1:
Feel free to share your ioc file.
Rgds
BT
2023-10-15 11:01 PM
Hi Brian,
I checked the configuration and everthing looks the same.
BT
2023-10-16 01:31 AM
Hi,
can you share some information regarding your Hardware setup:
Can you connect a logic analyzer on CN5.7/6/5/4 (SPI) and provide the log file?
Rgds
BT
2023-10-16 04:22 AM
Hi Brian,
I found the reason for my problem. You forgot to connect CN6.4. to +5V. Thank you for your help I hope you're doing good.
Rgds