Skip to content

Update Pins on MKS sBase#11357

Merged
thinkyhead merged 4 commits intoMarlinFirmware:bugfix-2.0.xfrom
forkoz:fix_sbase_pins
Jul 26, 2018
Merged

Update Pins on MKS sBase#11357
thinkyhead merged 4 commits intoMarlinFirmware:bugfix-2.0.xfrom
forkoz:fix_sbase_pins

Conversation

@forkoz
Copy link
Contributor

@forkoz forkoz commented Jul 24, 2018

Description

Fix invalid pin and add some comments.

Benefits

Easier identification of usable pins and some pin capabilities.

Related Issues

Don't be me and share end stops with the LCD.

Fix invalid pin and add some comments.
#define PIN_P0_17 P0_17
#define PIN_P0_16 P0_16
#define PIN_P0_14 P0_14
#define PIN_P0_14 P0_15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This definition seems a little strange. Should the define now read PIN_P0_15?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

//
// Connector J7
// Note: These pins are all shared with the EXP1/EXP2 Connector.
// Using them with an LCD connected or configured will lead to hangs & crashes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May be worth noting that although the cpu pins are shared, the J7 and EXP1 pins are not directly connected. The pins on EXP1 go via a level shifter (as do many of the pins on EXP1/EXP2).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's a better way to put it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think what you have is fine. Perhaps just add. "The connection to EXP1 goes via a level shifter."

I was a little confused by your original comment as I'd previously tested the J7 pins with a meter to see if they were shared with any other external connections and they did not seem to be. It was only when digging deeper that I noticed there is a level shifter on the EXP1 connection which means they do not show as shared with a simple meter check. Might save someone else the same confusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added digitally, if that doesn't make enough sense I'll just copy the above.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No that's fine!

forkoz and others added 3 commits July 24, 2018 16:23
@thinkyhead thinkyhead merged commit d1c6687 into MarlinFirmware:bugfix-2.0.x Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants