Last year, we wrote about the Made-in-Russia Mikron MIK32 RISC-V microcontroller with features similar to STM32L0 Arm Cortex-M0+, and I was recently told that the first fully packed samples are expected for the end of autumn.
But it turns out there’s another Russian company that makes RISC-V microcontrollers, and for instance, the Milandr MDR32F02FI features the open-source BM-310 RISC-V MCU core and is specially designed for electricity meters. It is the second generation of the microcontroller with the first being based on Arm Cortex-M0 core and produced for over 5 years.
Milandr MDR32F02FI specifications:
- CPU – CloudBEAR BМ-310S 32-bit RISC-V core @ 60 MHz
- Memory – 112KB
- Storage – 256+8 KB flash, 16KB OTP
- Electricity meter function
- 7-channel 24-bit sigma-delta ADC
- Hardware unit for calculating power consumption
- Other Peripherals
- 5x UART, 3x SPI, 1x I2C
- Up to 55x GPIOs
- Instrumental ADC – 10-bit with temperature sensor
- 4x 32-bit timer blocks with 4x Event Capture channels and PWM
- Watchdog Timer
- CRC count block with variable polynomial
- Symmetric cryptographic algorithm calculation support block
- Random Number Generator Unit
- Tamper detection
- Supply voltage change detector unit (mains and battery)
- Frequency Change Detector Unit
- Optical detector unit
- Block generating noise in the power supply circuit
- Debug Interface – JTAG
- Misc – 512-byte battery domain RTC and tamper detection,
- Supply voltage
- Main – 2.2 to 3.6V
- ADC – 3.0 to 3.6V
- Battery-operated – 1.8 to 3.6V
- Package – QFN88 (10×10 mm)
- Temperature Range – -50°C to +85°C
- Process – 90 nm
Besides Milandr selecting a RISC-V core, it’s interesting to see the list of features preventing tampering with the electricity meter. Software development can be done with an Eclipse-based environment with a GCC compiler and debugging via OpenOCD and/or GDB through a J-Link debugger, or one of Milandr debuggers. Alternatively, it’s also possible to use IAR Embedded Workbench environment together with an I-jet Lite debug probe.
There are more details in a post detailing the microcontroller’s features on the Milandr website that appears to have been posted at the end of 2020, and the chip was named K1986BK025 instead of MDR32F02FI at that time. The company has also released a datasheet for the chip, which you’ll find on the product page.
As a side note, while I posted links to the English website, there are a few more microcontrollers on the Russian website, notably the К1986ВЕ92QI (aka MRD32F92QI) Arm Cortex-M3 MCU that should be compatible with STMicro STM32F103x.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.