makerbase-mks / MKS-SGEN_L-V2

MKS SGEN_L V2.0 is powerful 32-bit 3D printer control board. The CPU is LPC1769 120MHZ, SGEN_L V2 hardware Integrated 4KB EEPROM, 5AXIS and dual Z interface, has 2 way FANs and Dc12/24V out interface, support TMC UART and SPI mode...
https://www.aliexpress.com/item/4001283346331.html?spm=a2g0o.store_home.slider_165457030.0
GNU General Public License v3.0
71 stars 28 forks source link

MKS SGEN L V2 + Fysetc Mini12864 #15

Closed LeandroMarceddu closed 3 years ago

LeandroMarceddu commented 3 years ago

Hi. I've been using this combo and I'm trying to figure out the pins and how to get it to work. I'm not that good in electronics, so if you would be able to help me that would be good.

makerbase-mks commented 3 years ago

Can you provide Fysetc Mini12864 pin map?

LeandroMarceddu commented 3 years ago

Can you provide Fysetc Mini12864 pin map?

Yes I can. https://wiki.fysetc.com/Mini12864_Panel/

LeandroMarceddu commented 3 years ago

bump

LeandroMarceddu commented 3 years ago

Fixed it myself.

Just plug the connectors in the right way. These are the pins:

[board_pins] aliases:

EXP1 header

EXP1_1=P1.31, EXP1_3=P0.18, EXP1_5=P0.15, EXP1_7=P1.0,  EXP1_9=<GND>,
EXP1_2=P1.30, EXP1_4=P0.16, EXP1_6=P0.17, EXP1_8=P1.22, EXP1_10=<5V>,
# EXP2 header
EXP2_1=P0.8, EXP2_3=P3.25, EXP2_5=P3.26, EXP2_7=P0.27, EXP2_9=<GND>,
EXP2_2=P0.7, EXP2_4=P0.28, EXP2_6=P0.9,  EXP2_8=<RST>, EXP2_10=<NC>
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp1"