I'm developing an application on a very low pin count uController (LPC-810M, 8 pins). So, it's necessary to use the same pin for both GPIO and SWCLK/SWDIO.
When debugging, there's no issue since there will be only 1 driver on the bus.
When not debugging and the pin is outputting a GPIO signal, there's the risk of short circuiting.
Can this be safely done?
I saw this infocenter.arm.com/help/index.…oc.dui0499b/CHDHDGGG.html, which says there's some current limiting protection inside the uController, but says nothing about the driver.
I already know RS-232 lets you short circuit the TX & RX pins indefinitely (I've tested this and the current is limited to 30mA). Is there such protection for the SWDIO & SWCLK on the J-Link?
When debugging, there's no issue since there will be only 1 driver on the bus.
When not debugging and the pin is outputting a GPIO signal, there's the risk of short circuiting.
Can this be safely done?
I saw this infocenter.arm.com/help/index.…oc.dui0499b/CHDHDGGG.html, which says there's some current limiting protection inside the uController, but says nothing about the driver.
I already know RS-232 lets you short circuit the TX & RX pins indefinitely (I've tested this and the current is limited to 30mA). Is there such protection for the SWDIO & SWCLK on the J-Link?