Hello NXP Team,
I am using the LPC55S3x (64-pin package) and have a question regarding pin multiplexing between PWM outputs and SWD debug functions.
In my hardware design, most GPIOs are already allocated, and I am using several pins for PWM outputs. However, I also require SWD debugging access (SWDIO / SWCLK) for firmware programming and debugging.
In the 64-pin package, the following pins are mapped as:
PIO0_0 → PWM1_B2
PIO0_9 → PWM1_A2
At the same time, these same pins are also required for:
PIO0_0 → SWCLK
PIO0_9 → SWDIO
Due to pin limitations in the 64-pin package, I do not have any alternative pins available for SWD.
My questions are:
Is it safe and recommended to share PIO0_0 and PIO0_9 between PWM and SWD?
Can these pins be used as SWD only during programming/debug, and then reconfigured as PWM during runtime?