2023-04-02 07:49 PM
Hello.I have a question.I use the STM8L MCU to design my product.In the product, I also the ST25DV04K tag. Now I cannot receive the GPO signal in the stm8l15x_it.c.In the official demo about STM32F4,GPO signal is received by the function called BSP_GPO_Callback.But in my STM8L,I cannot use the official demo.So,how to solve the problem?
Solved! Go to Solution.
2023-04-03 12:57 AM
Hi @wxuan.1,
There is no example with ST25DV and STM8L available on st.com, all examples are provided with STM32, but you can find here examples with STM8L and EXTI, Then you need to use a global variable (As buttons in examples) in the interrupt handler (and as it is done in BSP_GPO_Callback).
Hope this can help you.
Best Regards.
2023-04-02 09:06 PM
Figure out how to get an interrupt from a GPIO pin. Perhaps find an example and apply it here.
2023-04-02 11:05 PM
In fact,I can not find a simple example about ST25DV for STM8L.
2023-04-03 12:57 AM
Hi @wxuan.1,
There is no example with ST25DV and STM8L available on st.com, all examples are provided with STM32, but you can find here examples with STM8L and EXTI, Then you need to use a global variable (As buttons in examples) in the interrupt handler (and as it is done in BSP_GPO_Callback).
Hope this can help you.
Best Regards.