cancel
Showing results for 
Search instead for 
Did you mean: 

SPI1 MOSI pin won't remap to SPI3

mike2399
Associate II
Posted on December 04, 2014 at 16:23

Hi.

I'm using STM32F101RBT6 in a project, with custom PCB.  I need to remap the SPI1 signals to pins PB3/4/5 (which would be SPI3, only STM32F101 doesn't have one).  I also use remap to disable JTAG to free-up PB3/4 for this.  The ''normal'' SPI1 GPIO pins are in use for something else - driven directly by software.

I find that I can output SCK on PB3 as expected, but MOSI on PB5 seems stuck high.  All register contents seem correct when viewed.  If I disable remap and set the required pins to AF mode I can get the expected outputs from the SPI1 pins (PA5/6/7).  I can also set PB5 to GPIO output and drive it correctly.

I am using SPL version 3.4.0 and Ride7 IDE.

Are there any silicon or library bugs I should be aware of?

Any clues?

many thanks,

Mike.
10 REPLIES 10
aubin
Associate II
Posted on August 12, 2015 at 10:40

thanks very much John