Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin numbers STM32 #2

Open
istyszy opened this issue Nov 6, 2018 · 1 comment
Open

Pin numbers STM32 #2

istyszy opened this issue Nov 6, 2018 · 1 comment

Comments

@istyszy
Copy link

istyszy commented Nov 6, 2018

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)

@hackaday3D
Copy link
Owner

hackaday3D commented Apr 5, 2019

The stm32 pin name as like PA0--PA15, so the pinmap are 0xA0--0xAF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants