Skip to main content
Associate II
September 3, 2024
Solved

Possible bug in ST25NFC_Embedded_Lib_ST25R3911B_1.6.0

  • September 3, 2024
  • 1 reply
  • 638 views

We use ST25NFC_Embedded_Lib_ST25R3911B_1.6.0 for our current project.

There are some example inside.

In most example in stm32l4xx_hal_msp.c are the following code:

 

GPIO_InitStruct.Pin = GPIO_PIN_All & (!(GPIO_PIN_3));

HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);

 

But & (!(GPIO_PIN_ should be & (~(GPIO_PIN_

Please fix this in next release.

Otherwise an assert inside HAL_GPIO_Init trigger because GPIO_PIN_All & (!(GPIO_PIN_3)) results to 0

Do you ever test your code with assert_param() enabled?

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

Hi,

thanks for reporting again this error (see also https://community.st.com/t5/st25-nfc-rfid-tags-and-readers/possible-bug-in-st25nfc-embedded-lib-st25r3911b-1-5-0/td-p/649036).

I've added this in the list of fix for next release.

Sorry again for the inconvenience.

Rgds

BT

 

 

1 reply

Brian TIDAL
Brian TIDALBest answer
Technical Moderator
September 3, 2024

Hi,

thanks for reporting again this error (see also https://community.st.com/t5/st25-nfc-rfid-tags-and-readers/possible-bug-in-st25nfc-embedded-lib-st25r3911b-1-5-0/td-p/649036).

I've added this in the list of fix for next release.

Sorry again for the inconvenience.

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.