JTAG port use as I/O

Hi,
I use my own design (architecture like due with ATSAM3X8E). I would like to use JTAG pins PB28 to PB31 as digital outputs. I can't get there so far. if anyone has an idea to help me... thanks in advance.
David.

What are you doing now?
Are you trying to use bare-hardware IO, or trying to access them via the Arduino functions?

Huh. The data sheet says quite clearly:

SWJ-DP pins can be used as standard I/Os to provide users with more general input/output pins when the debug port is not needed in the end application. Mode selection between SWJ-DP mode (System IO mode) and general IO mode is performed through the AHB Matrix Special Function Registers (MATRIX_SFR). Configuration of the pad for pull-up, triggers, debouncing and glitch filters is possible regardless of the mode.

And then the supposed MATRIX_SFR register(s) are never mentioned again (in datasheet or in .h files.) :frowning:

thank you for reply.
I've seen this problem before, that's why I'm asking here...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.