Hey I'd like to remap the SPI1 interface (especially I want to operate the LCD display of the motor controller kit via a remaped SPI1 -> original it's SPI2). This is my code:
Probably a bit late but for anyone else who also gets driven crazy by this.
Section 2.4.7 of the errata sheet - I2C1 with SPI1 remapped and used in master mode: Description Conflict between the SPI1 MOSI signal and the I2C1 SMBALERT signal (even if SMBALERT is not used). Workaround Do not use SPI1 remapped in master mode and I2C1 together. When using SPI1 remapped, the I2C1 clock must be disabled.
I have the same problem with STM32F103RBT6. I have added this row:
GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE); I tried also this: GPIO_PinRemapConfig(GPIO_Remap_SWJ_Disable, ENABLE); But in result i have ONLY SCLK on PB3. I still have no MOSI & MISO. Why ? I work on Keil MCB-STM32 Board. On port PA (without remap) everything works OK.