marlin_stm32
marlin_stm32 copied to clipboard
Pin numbers STM32
Hello, I made an adapter board for the BluePill to fit on the ramps 1.4. I have some knowledge of micro controllers but i cannot figure out the pins values from your bord config:
#define X_MIN_PIN 0xDB//0xE5 #ifndef X_MAX_PIN #define X_MAX_PIN 0xBE//0xE4
Blue pill pin-outs are noted as PA-15 PB0-15 and so on. Where did you get thees values in hex a? Also how flexible is your port? Does it support hardware SPI and I2C?
My configuration is as follows: -STM32F103C8(CB) <STM32F407VET6 - Future upgrade> -Modified RAMPS -TMC2130 (SPI mode) -I2C Display (4x20) 2004 -SPI Card Reader module -Single analog pin - 5 button Navigation keys -esp8266(future add-on, for connection over WiFi)
The stm32 pin name as like PA0--PA15, so the pinmap are 0xA0--0xAF