2024-12-09 07:41 PM - edited 2024-12-09 10:52 PM
Dear ST Community
I recently purchased two sets of Nucleo-DRP1M1+NucleoG474, and now I want to implement FRS functionality on these two boards. Currently, I have set one of the default power roles to Source, enabled FRS_TX, and the other to Sink. After connecting the two devices together, FRS switching cannot be triggered, and when I was debugging on the Sink side, I found that the FRS interrupt in the code on the Sink side is in a blocked state, and I don't know how to turn it on.
Best regards.
I added the FRS macro definition, but there is a function error inside that I cannot find
2024-12-09 11:46 PM
Hello @AgoDream
I advise you to follow this article : How to manage fast role swap (FRS) in an STM32 - STMicroelectronics Community
This will help you on the management and implementation of FRS.
2024-12-10 12:47 AM - edited 2024-12-10 01:00 AM
Thank you very much for your reply. I have also carefully read the other article you provided.My DRP_Sink character sent an FR_Swap message, but DRP_Source does not support it.
The one above is DRP_Sink
The one above is DRP_Source