RFQ/BOM 0 登錄 / 註冊

選擇您的位置

用戶形象

How does STM32F1CUBE use partial remapping?

MCU
12月 24, 2020 by Diane 1251

How to set IO port remapping in STM32F103 series CUBE? What I want is to map tiM3_CH2 from PA7 to PB5. Can anyone help? Thank you

所有評論

user image

Gerard 發表於 December 24, 2020

Click the corresponding mappable IO port directly on CUBE.

0
user image

Karolina 發表於 December 24, 2020

I now want to map SPI1 to the corresponding pin of SPI3.

Because part of the program has been written, I don't want to use CUBE_MX to update the project again.

If you want to know what operations are required for remapping?

Now a new project is created and SPI1 is remapped. In the spi.c file, there are more __HAL_AFIO_REMAP_SPI1_ENABLE() functions. But I don’t know what else needs to be changed elsewhere.

0
user image

Martina 發表於 December 24, 2020

Change the register configuration,

0

寫一個答案

您需要登錄才能回覆。 登錄 | 註冊