2025-01-02 07:09 PM
Hello Devs,
I already configured X-CUBE-SUBG2:
SPI1:
USART1:
But program still wait for tx done at line 228 in app_custom_s2lp_fifo_tx.c
Please help me how to integrate s2lp and my stm32u0. Thank you.
Regards,
Zan
2025-01-02 10:49 PM - edited 2025-01-03 06:20 AM
2025-01-02 11:01 PM
Hi Tesla,
Yup that one. i didn't find a way to implement it on stm32 using x-cube-subg2. may you help me? Thank you.
Regards,
Zan
2025-01-03 06:23 AM
Not specifically.
Perhaps share how you've wired this up.
Start by coding a simple SPI app to access the S2LP registers, and confirm those read/write correctly. Dump registers, and start debugging why the code you have is hanging up. If access to the device is not viable you'll need to debug the hardware and wiring.