ABCDE
1
Smoothie v2 chip comparison
2
3
FeatureLPC4330STM32H7Comment
4
Multiple coresYesYesIt is possible the Semaphore on STM would help with implementing on-second-core step generation
5
Main core typeM4M7https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M7.
6
Main core clock (Mhz)204400STM Has a CPU instruction cache of 16+16kB
7
Second core typeM0M4https://en.wikipedia.org/wiki/ARM_Cortex-M#Cortex-M4
8
Second core clock (Mhz)204200
9
Floating Point Unit32 bit
(single precision)
64 bit
(double precision )
See this link
10
RAM (kiloBytes)1641024Note the extra RAM can also be used to run code the same way as Flash. STM even has Tightly Coupled Memory, special RAM for time-critical code, perfect for step generation code to run super-extra fast.
11
In-chip flash (kiloBytes)2048
12
On-board flash (kiloBytes)80008000 QSPILPC with external flash: slower code access, extra cost/complexity/pin usage compared to STM. Still way faster than Smoothie v1.
13
GPIO pins164168
14
Interrupt-capable GPIO816STM: Any GPIO can be an interrupt but only 16 interrupts are available
15
Open-Drain-capable GPIOPossibly with a trickYeshttps://en.wikipedia.org/wiki/Open_collector
16
EthernetYes, 10/100Yes, 10/100
17
USB HS OTG (Host+Client)11 ( with additional PHY )USB2 / High Speed, 480Mb/s
18
USB FS OTG (Host+Client)11USB1 / Full Speed, 12Mb/s
19
ADC peripherals2x 10bit3x 16bit
20
ADC Channels per peripheral812
21
Total ADC pins1636Used for example to read thermistors. On v2, also monitor input voltages.
22
ADC data rate400k/s3600k/s
23
DACs1x 10bit2x 12bitOutputs a voltage between 0 and 5v. Used for example to control laser power supplies as an alternative to PWM signals
24
UART peripherals14Serial ports, used for example on v1 as the "Serial" debugging port
25
USART peripherals34USART is a Synchronous UART
26
Modbus functions18How many of the UART/USARTs above also have Modbus capabilities
27
CAN peripherals22
28
SPI peripherals36LPC does up to 16 bit frames, STM up to 32 bits on 3 SPI ports, 16 on the others
29
I2C peripherals24Fast (1Mhz): LPC 1 / STM 4
30
I2S peripherals24I2S is for sound
31
Single Wire peripheral SWPMI1wikipedia.org/Single_Wire_Protocol not wikipedia.org/1-Wire
32
SD Card InterfaceSDIO2x SDIOMuch faster than the SPI interface used to talk to the SD card on Smoothieboard v1 (50KB/s). In early testing on v2-prime-beta2, SD card speeds over 1MB/s were measured
33
SD Card Speed52 Mhz208MhzSTM describes up to 208MB/s for the 8-bit mode, in theory. In practice, we have seen faster speeds on STM32H7 than LPC4330, but the difference is not clearly measured yet.
34
DMA Controllers12DMA transfers data from one place in RAM/peripherals to another without keeping the cores busy
35
DMA Streams per Controller88
36
DMA Channels per Stream16115
37
MDMA Controllers (High Speed DMA)1
38
Chip dimensions (BGA), millimeters16x1613x13
39
Hardware semaphores (bits)32
40
32 bit timers2 State Configurable1 High Resolution,
2 General Purpose
STM: 4 outputs per General Purpose
41
16 bit timers4 General Purpose,
1 SysTick
2 Advanced Control,
10 General Purpose,
1 SysTick
STM: Timers can be synchronized, their large number opens the possibility of trying to use one timer per axis.
42
Independent PWM outputs420
43
Quadrature-encoder-reading-capable timers14
44
Watchdogs12
45
46
47
48
49
50
51
52