AnsweredAssumed Answered

NUCLEO-L476RG/IDB04A1 ITM and SPI

Question asked by vanson.simon on Dec 14, 2015
Hello,

I use a IDB04A1 bluetooth shield on a STM32L476RG Nucleo board and I want to redirect the standard output through the ITM port to see my printf in Keil uVision.

The problem is that the SWOTRACE pin of the ITM port and the SCLK pin of the SPI1 looks both connected to GPIOB_3 (cf datasheets).

The printf I put before SPI init is printed but not the following one. Because the IDB04A1 is a shield i can't change the SPI's pins.

Am I wrong ? If not, is there a way to send this printf without using an UART to USB convertor ?

Simon Vanson

Outcomes