Stm32f303re Nucleo board SPI1/SPI3 arduino headers

Limited support for STM32F3 based boards, e.f STM Discovery and Nucleo line
Post Reply
Posts: 1
Joined: Tue Dec 22, 2015 10:34 am

Stm32f303re Nucleo board SPI1/SPI3 arduino headers

Post by Rammohan » Tue Dec 22, 2015 11:04 am


I am working Stm32f303re Nucleo board and able to succeed interfacing an external device using SPI2 morpho header interface.
trying to do same with SPI1/SPI3 arduino header interface which is not working. After some investigation found below issue.

Some of SPI1 & SPI3 arduino pins(spi3_clk->PB3, spi1_miso, mosi & clk->PA5-7) are connected for Jtag connector. to use the JTAG and SW debug pins for spi1/spi3, we need to disable these ports by calling function disableDebugPorts(). but this we have to implement it in stm32f103 (another MCU on nucleo board) which is controlling jtag/SWD pins which are also used for SPI1/SPI3 arduino.

So my question is
1. how to disable j-tag ports to avail the gpio pins for spi1/spi3 and how can we flash the code on stm32f103 chip on nucleo stm32f3 board?
2. does any one succeeded to use Arduino header for SPI, if so please guide with some pointers.


Posts: 1674
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Stm32f303re Nucleo board SPI1/SPI3 arduino headers

Post by zmemw16 » Tue Dec 22, 2015 1:37 pm

maybe ... able#p5178

advanced search for 'jtag disable spi'


Post Reply