cancel
Showing results for 
Search instead for 
Did you mean: 

Possible bug in ST25NFC_Embedded_Lib_ST25R3911B_1.6.0

CanRF
Associate II

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 discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Brian TIDAL
ST Employee

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.

View solution in original post

1 REPLY 1
Brian TIDAL
ST Employee

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.