2024-09-03 12:21 AM
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?
Solved! Go to Solution.
2024-09-03 12:35 AM
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
2024-09-03 12:35 AM
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