Skip to main content
Associate
March 25, 2026
Solved

STM32N6570-DK LTDC and JTAG Pin Conflict (JTDI/NRST) – Is Dual Usage Possible?

  • March 25, 2026
  • 1 reply
  • 140 views

Hi,

I am working with the STM32N6 series MCU on the STM32N6570-DK board and have encountered a pin multiplexing conflict.

As per the schematics and datasheet:

  • PA15 (JTDI) and PB4 (JNRST) are multiplexed with LTDC signals
  • These pins do not appear to have alternate mappings

My use case requires:

  • LTDC for driving the display
  • JTAG for debugging (full JTAG, not just SWD)

However, enabling LTDC conflicts with the JTAG interface, specifically JTDI.

I have a few questions:

  1. Is there any supported way to use both LTDC and full JTAG simultaneously on STM32N6?
  2. Are there any alternate pin mappings or remap options available that are not obvious from CubeMX?
  3. Is dynamic switching (e.g., using JTAG during debug and reconfiguring pins for LTDC at runtime) a viable or recommended approach?
  4. Are there any hardware workarounds or recommended debug strategies for this scenario?

I understand that switching to SWD avoids this issue, but I would like to confirm if full JTAG usage is fundamentally incompatible with LTDC on this device.

Thanks in advance for your guidance.

Best answer by mƎALLEm

Hello,

That's not possible to use the full JTAG pins in parallel with LTDC as LCD_R5 (PB15) and LCD_R3 (PB4) have no alternatives in other pins. Moreover, the RGB565 (the minimum required) needs the usage of LCD_R3 and LCD_R5 pins.

So you need to use  the serial wire debug (SWD) instead.

1 reply

mƎALLEm
mƎALLEmBest answer
Technical Moderator
March 25, 2026

Hello,

That's not possible to use the full JTAG pins in parallel with LTDC as LCD_R5 (PB15) and LCD_R3 (PB4) have no alternatives in other pins. Moreover, the RGB565 (the minimum required) needs the usage of LCD_R3 and LCD_R5 pins.

So you need to use  the serial wire debug (SWD) instead.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."