Question
Disabling JTAG on STM32L151
Posted on May 05, 2012 at 18:46
I'm using STM32L151R8. I have SPI slave on SPI1 pins PB3-PB5 and CS on PA15. The SPI doesn't seem to work and i need to double check the warning about disabling the JTAG pins.
But STM32L151xx reference manual has funny text in chapter 24.4.2 Flexible SWJ-DP pin assignment:''For more details on how to disable SWJ-DP port pins, please refer to Section 24.4.2: Flexible SWJ-DP pin assignment.''.This leads back to the same chapter which doesn't say how should the JTAG is disabled.I have read that F1 series have function for that:GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable | GPIO_Remap_SWJ_NoJTRST, ENABLE);But how it is supposed to be done in STM32L151 ?? #stm32l-stm32l151-jtag-disable #stm32l151-spi1-problem #off-topic
