rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.52k stars 1.26k forks source link

SPI, using alternate or SPI2. How to do it. #782

Closed spherical-sound-society closed 4 years ago

spherical-sound-society commented 4 years ago

Hi,

Im using a library that employs SPI standard pins

PA7 - mosi PA5 - sclk

The data glitches from time to time. I would like use the alernate pins:

PB5 - mosi PB3 clk

Or SPI2 PB15 mosi2 PB13 clk2

How do I signal to use alternate pins?

Thanks you so much

stevstrong commented 4 years ago

This does not seems to be a bug, so please use the forum for such questions: www.stm32duino.com