MEGAWIN microcontrollers
From 8051 to Cortex-M3
When we choose an appropriate microcontroller for a project, foremost we tend to look at all available functions, efficiency and the energy demand. When the project proceeds to the production stage, the cost of each component becomes more important. Taiwanese company Megawin Technology offers many microcontrollers with the fast 8051 core, rich set of peripheral circuits and circuits with the Cortex-M0 and Cortex-M3 cores compatible with other manufacturers solutions, often characterised by better parameters and available in better prices.
Taiwanese company Megawin Technology was established in 1999 by a group of specialists in the design and sale of integrated circuits. Thanks to continuous development actions, their microcontrollers offer is constantly expanded. Recently, the MGEQ1C064AD48 circuit has been added to the offer, it meets the stringent manufacturing requirements and obtained the AEC-Q100 (Grade 2) qualification. Below we present the most interesting Megawin Technology circuits, intended for various applications.
The MG32F02 (Cortex-M0) series
Circuits are based on the ARM Cortex-M0 core and are characterised by an excellent resistance against interferences. They contain complex PWM generators with a centre/edge-align of a period and dead time control, fast I/O modules and fast comparators (ACMP), which can be applied in complex electrotechnical control systems with many sets of fast peripheral devices, such as UART, SPI, I²C and CRC. They allow a flexible choice of alternative pinout functions. They are also equipped with an External memory bus (EMB) supporting LCD-TFT displays interfaces, which can be used in small and medium panels in automotive, industrial and medical applications. Maximum frequency of the circuits amounts to 48MHz, they accept operating voltage from the 1,8V~5,5V range, are equipped with the SWD debugging interface and capacity of Flash memory and SRAM can range up to 132kB (Flash) and 16kB (SRAM). Summary of models is shown on figure 1, and basic parameters of selected versions are summarised in table 1. There are also available versions equipped with the USB 2.0 interface working at a 12 Mb/s rate, compliant with the USB v.1.1/2.0 specification. These are the USB Line – MG32F03U064 and MG32F03U064 circuits. Yet another version of circuits from this family is the Value Line, namely the MG32F03V032 model available in small TSSOP20 and QFN32 housings. Detailed information on the family of circuits with the Cortex-M0 core can be found at : http://www.megawin.com.tw/en-global/product/index/Cortex_M0.
Table 1. Summary of the most important parameters of selected circuits from the MG32F03A (Cortex-M0) series
|
MCU version
|
MG32F03A032
|
MG32F03A072
|
MG32F03A132
|
Flash memory
|
32 kB
|
64 kB
|
128 kB
|
SRAM
|
4 kB
|
8 kB
|
16 kB
|
Supply voltage
|
1,8V~5,5 V
|
Frequency/RTC
|
48 MHz/Yes
|
ADC/DAC/Analog comparator
|
12-channel, 12-bit, 800 ksps/n o n e /none
|
16-channel, 12-bit, 400 ksps/1-channel, 10-bit/4-channel comparator
|
Timers/PWM
|
2×16-bit + 3×32-bit/4-channel PWM
|
2×16-bit + 5×32-bit/8-channel PWM
|
UART/SPI/I²C/LIN
|
2/1/1/2
|
4/1/2/3
|
4/1/2/4
|
DMA/EMB/CRC
|
1/none/none
|
3/16-bit (SRAM, NOR, NAND, LCD)/CRC32
|
Housing
|
TSSOP20, QFN32, LQFP48
|
LQFP48/64
|
LQFP64/80
|
I/O ports
|
17/29/44
|
44/59
|
59/73
|
Operating temperature
|
–40°C ~ 105°C
|
–40°C ~ 85°C
|
The MG32F10x (Cortex-M3) series
Circuits based on the ARM Cortex-M3 core are characterised by high speed and excellent computational efficiency. However, full capabilities of circuits with this core are achieved only by the cooperation with the fast Flash memories. Flash memory in Megawin circuits supports fast access to the cache memory, thanks to which the read latency is significantly reduced. The MG32F10x series microcontrollers are destined for such applications as: controlling various kinds of robots and drones, POS machines and other solutions requiring highly efficient MCU. Maximum frequency of the circuits amounts to 96MHz, operating voltage is in the range of 2V~3,6V, memory capacity of Flash and SRAM ranges from 96kB to 256kB (Flash) and 28kB to 36kB (SRAM) in various combinations. Other key features and parameters are:
- 64-bytes cache memory for managing instructions and data bus,
- single cycle multiplication and hardware division unit,
- POR (power-on reset), PDR (power-down reset) and PVD (programmable voltage detector),
- internal oscillators RC 8 MHz, RC 48 MHz, RC 32 kHz,
- 32 kHz oscillator for RTC with a calibration possibility,
- low power:operation mode – about 105μA/MHz; stopmode – about 18,5 μA; standby mode – about 4,5 μA; RTC – about 1,1 μA (every value at a 3,3 V operating voltage),
- LED driver – possibility to direct supply of 56 LED diodes.
- SWD debugging interface,
- 7 timer-counter circuits,
- up to 11 communication interfaces,
- full speed USB 2.0 interface,
- DMA controller,
- CRC calculation unit,
- 96-bit unique identifier,
- RNG block – random numbers generator.
In Megawin’s offer there are available circuits that are compatible with the STM components in terms of housing and pinout diagram. These circuits, among others, are: MG32F103C9T6, MG32F103CBT6, Detailed information on the family of circuits with the Cortex-M3 core can be found at: http://www.megawin.com.tw/en-global/product/index/Cortex_M3
Summary
Megawin’s offer also includes many microcontrollers compatible with the 8051 – these are the MG82F series circuits (figure 2) equipped with many fast peripheral blocks. On the other hand, the MPC89L/E51/52/53/54/58/515 series are circuits compatible with the Atmel AT89, and the MG87FL/E2051/4051 series are a fully compatible Atmel AT89S/C2051/4051 series equivalents.
Another series are the MG84F circuits – solutions based on the 8051 equipped with the USB interface. Moreover, the manufacturer also took care of tools (figure 3) and software. The authorised Megawin distributor in Poland is Micros -https://www.micros.com.pl/en/microcontrollers-and-memory-devices/.
|