STEVAL-3DP001V1 Discovery board for 3D printer including 6-axis stepper motor driver based on the L6474H Data brief current control and protection (up to 6 axes; phase current up to 3 Ar.m.s; micro-stepping digital end stop) Integrated debug solution; STLINKV2 embedded RoHS compliant Description Features Ready for the next generation of 3D printers Multiple extruders support (up to 3): 12 V; up to 8 A; temperature and fan control; LED display Multiple peripheral support and easy interfacing Hot chamber and multi-zone heating bed, with high power capability: 12 V or 24 V; up to 20 A; temperature control; LED display High efficiency and small footprint thanks to low Rds(on) MOSFETs Open source firmware available Main peripherals supported: USB and microSD modules embedded WiFi module embedded with web server available External LCD/keypad Based on STSPIN L6474 stepper motor driver with unique features in terms of April 2016 The STEVAL-3DP001V1 is a complete and integrated solution for driving all 3D printers on the market, including Delta models requiring more complex computation. The solution is ideal for both beginners and experienced users. It is autonomous and can be used with a software interface or with custom firmware thanks to the embedded STM32 microcontroller based on the ARM 32-bit Cortex M4 core. The STEVAL3DP001V1 is designed to drive 3D printers providing several axes (6 motors), several extruders (1 to 3), and multi-zone heating bed (1 to 3). The STEVAL-3DP001V1 features integrated WiFi connectivity, enabling the user to drive a 3D printer using a smartphone or tablet. The solution is also designed to work with 3D printer tools, such as Pronterface. USB connectivity is available through Virtual COM port, mini USB OTG and Dongle USB A. Moreover, the board includes a complete debug solution (STLINK-V2), a tool that is appreciated by developers. The STEVAL-3DP001V1 allows connection to another board (e.g. Raspberry board or user board), with a connector that provides drive power (5 V - 3.3 V) and digital interface (SPI-I2CADC-GPIOS-SD-USB). DocID029165 Rev 1 For further information contact your local STMicroelectronics sales office 1/11 www.st.com Board specifications 1 STEVAL-3DP001V1 Board specifications Table 1: STEVAL-3DP001V1 specifications 2/11 Parameters Value Supply voltage 12 V Extruder supply voltage (VDD_power) 12 V Motor supply voltage (VDD_power) 12 V Bed supply voltage 12 V or 24 V Logic supply voltage (VDD_5V) 5V Logic supply current (VDD_5V) Up to 1.5 A Logic supply voltage (VDD_3V3) 3.3 V Logic supply voltage (VDD_3V3) Up to 1 A USB dongle supply voltage 5V USB dongle supply voltage Up to 0.5 A Operating temperature 0 to 85 °C DocID029165 Rev 1 STEVAL-3DP001V1 2 Schematic diagrams Schematic diagrams Figure 1: STEVAL-3DP001V1 circuit schematic: Power supply DocID029165 Rev 1 3/11 SPI_z-E1 SPI_CS SPI_SCK 23 19 20 18 25 3 24 22 CS CK SDI SDO STCK STBY_RES FLAG BUSY_SYNC ADCIN DIR OSCOUT OSCIN R14 10K NP R18 SPI_E1-E2 SPI_CS SPI_SCK E1_PWM E1_RESE T ALL_FLAG E1_DIR 23 19 20 18 25 3 24 22 5 4 8 7 100NF C38 VDD_3V3 U/E1 MOTOR NP R11 SPI_x-y VDD_3V3 SPI_MOSI X_PW M X_RESE T ALL_FLAG X_DIR 5 4 8 7 100NF C19 VDD_3V3 17 6 VDD VREG 21 17 6 CS CK SDI SDO 2 U6 L6474H STCK STBY_RES FLAG BUSY_SYNC ADCIN DIR OSCOUT OSCIN 11 VBOOT 2 11 DGND VDD VREG U9 L6474H D12 BAR43 C17 10NF C15 1 220NF 2 26 12 16 X MOTOR DGND 21 CP 10 EPAD 3 CP 3 OUT2B OUT1B OUT2A OUT1A VSA VSA VSB VSB C37 10NF C34 1 220NF OUT2B OUT1B OUT2A OUT1A 15 14 28 1 15 14 28 1 C40 100NF C39 100NF C21 100NF C20 100NF J2 SPI_x-y 1 2 3 4 J5 SPI_E1-E2 Y_DIR 23 19 20 18 CS CK SDI SDO SPI_CS SPI_SCK NP R16 SPI_E2-E3 23 19 20 18 25 3 24 22 5 4 8 7 100NF C42 VDD_3V3 E2_PWM E2_RESE T ALL_FLAG E2_DIR 2 STCK STBY_RES FLAG BUSY_SYNC ADCIN DIR OSCOUT OSCIN V/E2 MOTOR VDD_3V3 R15 10K 5 4 8 7 25 3 24 22 100NF C23 VDD_3V3 NP R12 SPI_y-z SPI_CS SPI_SCK Y_PWM Y_RESE T ALL_FLAG CON SCREW 4POS 2.54mn C41 33UF R9 10K VDD_3V3 CON SCREW 4POS 2.54mn VDD_POWER 1 2 3 4 C22 33UF VDD_POWER Y MOTOR 17 6 VDD VREG 21 AGND PGND PGND 9 13 27 2 26 12 16 29 VBOOT 10 EPA D 29 D10 BAR43 U7 L6474H CS CK SDI SDO STCK STBY_RES FLAG BUSY_SYNC ADCIN DIR OSCOUT OSCIN 29 DGND 17 6 3 10 C16 C18 10NF 2 CP 11 VDD VREG EPAD 11 1 220NF OUT2B OUT1B OUT2A OUT1A D13 BAR43 U10 L6474H VBOOT C35 10NF C32 C25 C26 1 220NF 15 14 28 1 OUT2B OUT1B OUT2A OUT1A 15 14 28 1 C44 100NF J3 1 2 3 4 J6 SPI_E2-E3 CS CK SDI SDO STCK STBY_RES FLAG BUSY_SYNC ADCIN DIR OSCOUT OSCIN R34 10K SPI_CS SPI_SCK E3_PWM E3_RESE T ALL_FLAG E3_DIR NP R17 SPI_MISO VDD_3V3 23 19 20 18 25 3 24 22 5 4 8 7 100NF C46 VDD_3V3 2 D11 BAR43 U8 L6474H W/E3 MOTOR 23 19 20 18 25 3 24 22 5 4 8 7 100NF C28 VDD_3V3 NP R10 SPI_z-E1 SPI_CS SPI_SCK Z_PWM Z_RESE T ALL_FLAG Z_DIR CON SCREW 4POS 2.54mn C45 33UF VDD_POW ER SPI_y-z R13 10K VDD_3V3 CON SCREW 4POS 2.54mn C43 1 2 3 4 C27 33UF 100NF 100NF 100NF VDD_POWER Z MOTOR 17 6 VDD VREG D9 BAR43 29 VSA VSA VSB VSB AGND PGND PGND 9 13 27 10 EPAD 3 CP VBOOT DGND 21 2 26 12 16 VSA VSA VSB VSB 9 13 27 AGND PGND PGND 2 26 12 16 VSA VSA VSB VSB AGND PGND PGND 9 13 27 DGND 21 11 17 6 CS CK SDI SDO STCK STBY_RES FLAG BUSY_SYNC ADCIN DIR OSCOUT OSCIN 10 C14 C24 10NF 2 3 CP 11 VBOOT VDD VREG 1 220NF 2 26 12 16 U11 L6474H D14 BAR43 C36 10NF C33 OUT2B OUT1B OUT2A OUT1A 3 CP EPA D 29 DGND 21 VBOOT VSA VSA VSB VSB AGND PGND PGND 9 13 27 10 EPA D 29 1 220NF 15 14 28 1 OUT2B OUT1B OUT2A OUT1A C29 33UF VDD_POWER 15 14 28 1 C49 33UF VDD_POW ER 1 2 3 4 J7 CON SCREW 4POS 2.54mn C48 100NF C47 J4 100NF 1 2 3 4 CON SCREW 4POS 2.54mn C31 100NF C30 100NF 2 26 12 16 VSA VSA VSB VSB DocID029165 Rev 1 AGND PGND PGND 4/11 9 13 27 Schematic diagrams Figure 2: STEVAL-3DP001V1 circuit schematic: Motors STEVAL-3DP001V1 GSPG310316 1150SG BED_HEAT_1 3 2 1 DocID029165 Rev 1 OUT VCC 4 5 J9 100NF C54 4 3 2 1 CON SCREW 4POS 2.54mn SN74LVC1G125DCKR GND IN OEn U12 VDD_5V R25 NP R19 1K Q1 STL220N3LLH7 C50 10UF R20 1K 3 2 1 C51 10UF AVDD_3V3 BED_HEAT_2 U13 OUT VCC C52 10UF R21 1K 5 4 100NF C55 BED_THERMISTOR_3 BED_THERMISTOR_2 BED_THERMISTOR_1 SN74LVC1G125DCKR GND IN OEn R26 NP D16 GREEN 6 VDD_5V 5 D15 GREEN 4 R23 2.2K 3 R22 2.2K 2 VDD_BED 1 CON SCREW 6POS 6.35mn J8 VDD_BED VDD_BED BED_HEAT_3 STL220N3LLH7 Q2 3 2 1 OUT VCC SN74LVC1G125DCKR GND IN OEn U14 4 5 100NF C53 VDD_5V R27 NP D17 GREEN R24 2.2K VDD_BED STL220N3LLH7 Q3 STEVAL-3DP001V1 Figure 3: STEVAL-3DP001V1 circuit schematic: BEDS control Schematic diagrams GSPG3103161335SG 5/11 OUT VCC OUT VCC R53 NP R52 NP R49 0R VDD_3V3 R54 NP J13 4 R40 NP D21 BAT30KFILM VDD_5V 5 D18 GREEN 1 2 4 C56 10UF Q7 STT 6N3LLH6 3 1 100NF 100NF 4 C60 3 C59 2 5 100NF C61 6 CON SCREW 6POS 2.54mn J16 V_STOP W_STOP Y_STOP X_STOP OUT VCC 3 2 1 OUT VCC 4 5 4 5 D19 GREEN VDD_5V R41 NP D22 BAT30KFILM 1 2 GND GND J18 1 C63 100NF 4 100NF 3 C62 2 5 100NF C64 6 CON SCREW 6POS 2.54mn 4 C57 10UF R50 0R R56 NP R55 NP R57 NP R51 0R VDD_3V3 E3_FAN 3 2 1 OUT VCC 3 2 1 OUT VCC 4 5 1 2 3 4 CON-1x4 J24 SN74LVC1G125DCKR GND IN OEn U20 SN74LVC1G125DCKR GND IN OEn U17 4 5 J15 D20 GREEN VDD_5V IR_OUT IR_ON R42 NP D23 BAT30KFILM VDD_POW ER 2 4 C58 10UF C76 NP VDD_POWER GND 4 3 2 1 CON SCREW 4POS 2.54mn J17 6 5 4 3 2 1 J12 D33 ESDA6V1-5W 6 E1_THERMISTOR E2_THERMISTOR E3_THERMISTOR CON SCREW 6POS 6.35mn IR DETECTION Q9 STT 6N3LLH6 3 AVDD_3V3 1 R39 1K AVDD_3V3 Q6 STL8N10F7 CON SCREW 4POS 2.54mn R33 NP 1K R30 VDD_POW ER VDD_5V E3 CONTROL E2_THERMISTOR R47 0R VDD_3V3 VDD_3V3 Q8 STT6N3LLH6 3 R38 1K AVDD_3V3 E3_HEAT_PWM Q5 STL8N10F7 J14 CON SCREW 4POS 2.54mn R32 NP VDD_POW ER VDD_5V 1K R29 VDD_POW ER CONTRO L U-V-W END STOP SN74LVC1G125DCKR GND IN OEn U19 SN74LVC1G125DCKR GND IN OEn U16 D31 D32 ESDA6V1-5W6 ESDA6V1-5W 6 IR_OUT U_STOP Z_STOP BED_THERMISTOR_2 BED_THERMISTOR_3 BED_THERMISTOR_1 3 2 1 E2 CONTROL E1_THERMISTOR E2_FAN R37 1K AVDD_3V3 E2_HEAT_PWM Q4 STL8N10F7 CON SCREW 4POS 2.54mn R31 NP VDD_POW ER 4 5 VDD_5V 1K R28 X-Y-Z END STOP SN74LVC1G125DCKR GND IN OEn U18 SN74LVC1G125DCKR GND IN OEn R48 0R VDD_3V3 3 2 1 3 2 1 R46 0R VDD_3V3 E1_FAN E1_HEAT_PW M U15 E1 CONTROL VDD_POWER 1 3 4 5 6 2 I/O1 I/O2 I/O3 I/O4 I/O5 1 3 4 5 6 DocID029165 Rev 1 I/O1 I/O2 I/O3 I/O4 I/O5 1 3 4 5 6 I/O1 I/O2 I/O3 I/O4 I/O5 2 6/11 2 Schematic diagrams Figure 4: STEVAL-3DP001V1 circuit schematic: Controls STEVAL-3DP001V1 GSPG3103161345SG R67 NP SHELL SHELL SHELL SHELL SD_CARD_DETECT R61 0R 6 7 8 9 1 2 3 4 5 SDIO_D2 SDIO_D3 SDIO_CMD SDIO_CK SDIO_D0 SDIO_D1 USB_VCC USBDM USBDP ID USB_GND 1 2 3 4 5 6 7 8 I/O2#4 VBUS I/O1#6 4 5 6 R60 R58 0R 0R OTG_DP OTG_DM WP/CD RDAT3 DAT2_In DAT3_In CMD_In CLK_In DAT0_In DAT1_In GND RDATA_VCC VCC DAT2_Ex DAT3_Ex CMD_Ex CLK_Ex DAT0_Ex DAT1_Ex 16 15 14 13 12 11 10 9 MICRO SD CONNECTO R USBLC6-2SC6 I/O2#3 GND I/O1#1 U21 U23 EMIF06-MSD02N16 3 2 1 VUSB VDD_5V C68 100NF VDD_3V3 C66 100NF 0R R43 SD_CD SD_DAT2 SD_DAT3 SD_CMD SD_CLK SD_DAT0 SD_DAT1 9 10 1 2 3 4 5 6 7 8 WIFI_RESET WIFI_BOOT UART2_CTS UART2_RTS UART2_RX UART2_TX 1 2 3 4 USBDM USBDP 3 2 10 9 6 8 RXD1 RESET D24 VDD_3V3 BOOT0 RTS1 CTS1 TXD1 I/O2#4 VBUS I/O1#6 R64 R65 220R 220R D25 USBLC6-2SC6 I/O2#3 GND I/O1#1 U22 GREEN 3 2 1 USB DONGLE A CONNECTOR NOTE : WIFI RESET OPEN DRAI N MICRO-SD GND CD DAT2 CD_DAT3 CMD VDD CLK VSS DAT0 DAT1 J21 R63 1M USB_VCC USBDM USBDP USB_GND J19 CN-USB-A SHELL2 SHELL1 6 5 J20 Only one connector at the same time GREEN USB PC MINI-USB connector 17 PERIPHERAL S 14 POWER ON 5 R59 R62 R66 220R OTG_DP OTG_DM GPIO[0] GPIO[1] GPIO[2] GPIO[3] GPIO[4] GPIO[5] GPIO[6] GPIO[7] GPIO[8] GPIO[9] GPIO[11] GPIO[12] GPIO[15] 16 17 19 1 18 20 22 13 4 7 11 12 21 U24 SPWF01SA C67 10UF VDD_5V WIFI_WAKEUP C65 100NF 0R R44 VUSB_DONGLE WIFI MODULE 100R 100R VDD_3V3 GREEN D26 4 5 6 RUN 15 LINK-UP GND 23 GND 25 24 DocID029165 Rev 1 VDD STEVAL-3DP001V1 Figure 5: STEVAL-3DP001V1 circuit schematic: Peripherals Schematic diagrams GSPG3103161415SG 7/11 C75 18PF USER KEY RESET MCU 4 2 25MHZ 3 1M 1 Y1 R69 BOOT C78 1 2 1 2 SW2 SW1 3 4 3 4 100NF C85 10NF C84 10NF R72 10K ALL_FLAG D6 ESDA5V3L RESET_MCU E1_THERMISTOR E2_THERMISTOR E3_THERMISTOR USER_KEY AVDD_3V3 C80 E1_DIR E1_RESET Z_RESET E3_DIR E3_RESET E2_RESET E2_PWM E2_DIR R71 10K VDD_3V3 RESET_MCU Z_DIR IR_ON BED_THERMISTOR_1 BED_THERMISTOR_2 C70 100NF VDD_3V3 C79 1UF C74 4.7UF VDD_3V3 RED R70 220R D27 VDD_3V3 VDD_3V3 100NF C77 18PF C69 10NF STLINK_RESET J22 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 100NF VDD_3V3C71 NOTE : WIFI RESET OPEN DRAI N PE2 PE3 PE4 PE5 PE6 VBAT PC13 PC14 PC15 VSS VDD PH0 PH1 NRESET PC0 PC1 PC2 PC3 VDD VSSA VREF+ VDDA PA0 PA1 PA2 VDD VSS VCAP_2 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PB15 PB14 PB13 PB12 U25 STM32F401VE C83 100NF VDD_3V3 2.2UF C81 JTAG_TMS/SWDIO OTG_DP OTG_DM UART1_RX UART1_TX V_STOP SDIO_D1 SDIO_D0 E1_HEAT_PWM Z_PWM BED_HEAT_3 BED_HEAT_1 BED_HEAT_2 E1_PWM U_STOP Z_STOP Y_STOP X_STOP USER_SPI2_MOSI USER_SPI2_MISO USER_SPI2_SCK USER_SPI2_NSS C72 100NF VDD_3V3 UART1_TX UART1_RX USER_3 USER_4 BED_HEAT_1 BED_HEAT_2 BED_HEAT_3 USER_2 W_STOP U_STOP Y_STOP BED_THERMISTOR_3 BED_THERMISTOR_1 SD_DAT0 VUSB_DONGLE SD_CMD SD_DAT2 USER_SPI2_MISO USER_SPI2_SCK C82 100NF VDD_3V3 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 MICROCONTROLLER BED_THERMISTOR_3 R68 10K 1 USER_2 USER_1 E3_PWM SPI_CS SPI_SCK SPI_MISO SPI_MOSI E1_FAN E2_FAN E2_HEAT_PWM E3_HEAT_PWM VDD_3V3 2 USER_I2C1_SDA USER_I2C1_SCL WIFI_WAKEUP USER_4 JTAG_TDO/SWO USER_3 UART2_RX UART2_TX UART2_RTS UART2_CTS SDIO_CMD IR_OUT W_STOP SDIO_CK SDIO_D3 SDIO_D2 SD_CARD_DETECT JTAG_TCK/SWCLK 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 VDD VSS PE1 PE0 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PC12 PC11 PC10 PA15 PA14 PA3 VSS VDD PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PB10 VCAP1 VSS VDD 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 DocID029165 Rev 1 USER_KEY E3_FAN Y_DIR Y_RESET WIFI_RESET WIFI_BOOT X_RESET X_PWM X_DIR Y_PWM 8/11 3 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 CON-2x20 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 J23 C73 2.2UF V_STOP Z_STOP X_STOP BED_THERMISTOR_2 SD_DAT1 SD_CLK SD_DAT3 SD_CD USER_SPI2_NSS USER_SPI2_MOSI OTG_DM OTG_DP USER_I2C1_SCL USER_I2C1_SDA E3_FAN VDD_5V VDD_3V3 E2_FAN E1_FAN USER_1 Schematic diagrams Figure 6: STEVAL-3DP001V1 circuit schematic: Microcontroller STEVAL-3DP001V1 GSPG3103161450SG DocID029165 Rev 1 1 2 3 4 CON-1x4 J10 R78 0R 6 7 8 9 UART1_TX UART1_RX C90 100NF C88 10PF Y2 3V3_STLINK STM_RST R88 100K 3V3_STLINK R83 4.7K R79 100K 1 2 3 4 5 JTAG_TCK/SWCLK USB_VCC USBDM USBDP ID USB_GND R81 4.7K VDD_3V3 SHELL SHELL SHELL SHELL J11 mini USB STLINK-V 2 R35 R36 I/O2#3 GND C91 100NF C92 100NF C89 10PF 8MHz 4 5 6 C94 100NF 100K R89 USB_RENUM USB_DM1 USB_DP1 LED_STLINK C93 100NF STM_JTMS STM_JTCK 0R 0R I/O2#4 VBUS I/O1#6 USBLC6-2SC6 I/O1#1 U26 JTAG_TDO/SWO N1 N2 3 2 1 9 24 36 48 1 7 44 5 6 29 30 31 32 33 34 37 38 10 11 12 13 14 15 16 17 1.5K R75 VSSA VSS_1 VSS_2 VSS_3 PC13-TAMPER-RTC PC14-OSC32_IN PC15-OSC32_OUT PB8 PB9 PB10 PB11 PB12 PB13 PB14 PB15 8 23 35 47 2 3 4 45 46 21 22 25 26 27 28 18 19 20 39 40 41 42 43 R76100R 36K PB0 PB1 PB2/BOOT1 PB3/JTDO PB4/JNTRST PB5 PB6 PB7 Q10 BC847 R73 10K R74 5V_STLINK 3V3_STLINK STM32F103CBT6 LQFP48 VDDA VDD_1 VDD_2 VDD_3 VBAT NRST BOOT0 OSCIN/PD0 OSCOUT/PD1 PA8 PA9 PA10 PA11 PA12 PA13 PA14 PA15 PA0-W KUP PA1 PA2 PA3 PA4 PA5 PA6 PA7 U27 USB_DP1 100NF USB_DM1 C86 5V_STLINK R87 100R R90 NP PWR_ENn Board Ident R91 10K JTAG_TCK/SWCLK T_SWDIO_IN PWR_EXT R82 0R 3V3_STLINK 3V3_STLINK JTAG_TMS/SWDIO R86 4.7K R85 2.7K VDD_5V RED GREEN D30 D29 COM 100R 330R R80 R77 STLINK_RESET LED_STLINK USB_RENUM STLINK V2 STEVAL-3DP001V1 Figure 7: STEVAL-3DP001V1 circuit schematic: STLINK V2 Schematic diagrams GSPG3103161530SG 9/11 Revision history 3 STEVAL-3DP001V1 Revision history Table 2: Document revision history 10/11 Date Version Changes 12-Apr-2016 1 Initial release. DocID029165 Rev 1 STEVAL-3DP001V1 IMPORTANT NOTICE – PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’ products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. © 2016 STMicroelectronics – All rights reserved DocID029165 Rev 1 11/11