2022-10-19 01:42 AM
2022-10-19 01:51 AM
have a look at this AN4899
Is your pin defined as gpio?
2022-10-21 04:49 AM
You can put a debug point after you toggle your pins, after it stops on debug point; you can see pin status from "Special Function Registers (SFRs)" screen. You can open that tab from Window-> Show View -> SFRs.
In SFRs screen you can check the Input Data Register (IDR) or Output Data Register (ORD) and verify that you're doing it right.
Best regards,
AC