As stated in data sheet,The P1_4 is the JTAG clock (SWCLK)by default,and the P1_5 is the JTAG data I/O (SWDIO) by default。
They Can also be used as GPIO pins。
How to use the JTAG Port as GPIO?
By the way,Can I use those Pins (SWCLK and SWDIO) as UART_TX and UART_Rx?
Device:
Hi jiangnanzhl,
是的,你可以使用它们GPIO的时候the SYS_CTRL_REG[DEBUGGER_ENABLE] bit is not set. Just configure them as you would do with other GPIOs in the periph_init() and you will be able to use them.
Thanks MT_dialog
OK, thanks