Difference between revisions of "Colibri MCU1"

From Stm32World Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Components and Modules]][[Category:Modules]][[Category:Colibri]]{{metadesc|Colirbi MCU1 module}}
+
[[Category:Components and Modules]][[Category:Modules]][[Category:Colibri]]{{metadesc|Colibri MCU1 module}}
Colibri MCU1 is a processor board for the Colibri 3 and compatible carrier boards. It is simply a RAKwireless RAK3172 module on the Colibri form factor.
+
[[File:Colibri-mcu1-revB-render-front.png|180px|thumb]]
 +
[[File:Colibri-mcu1-revB-render-iso.png|180px|thumb]]
 +
 
 +
[[Colibri]] MCU1 is a processor board for the [[Colibri-3]] and compatible carrier boards. It is simply a RAKwireless RAK3172 module on the Colibri form factor.
  
 
The RAK3172 contains a STM32WLE5CC mcu, which has 64kB RAM and 256kB Flash memory. The LoraWAN stack occupies about half of that, and the remaining space can be used for application programs.
 
The RAK3172 contains a STM32WLE5CC mcu, which has 64kB RAM and 256kB Flash memory. The LoraWAN stack occupies about half of that, and the remaining space can be used for application programs.
Line 22: Line 25:
 
== Arduino ==
 
== Arduino ==
 
The Colibri MCU1 can be programmed with the Arduino IDE. The support for this is provided by RAKwireless. See [https://docs.rakwireless.com/Product-Categories/wisduo/RAK3172-Module/Quickstart/#-board-support-package-in-arduino-ide RAKwireless website.]
 
The Colibri MCU1 can be programmed with the Arduino IDE. The support for this is provided by RAKwireless. See [https://docs.rakwireless.com/Product-Categories/wisduo/RAK3172-Module/Quickstart/#-board-support-package-in-arduino-ide RAKwireless website.]
 +
 +
 +
= Documentation =
 +
* [[File:Colibri-mcu1-RevB-schematics.pdf|thumb|Colibri MCU1 schematics]]
 +
* [[File:Colibri-mcu1-RevB-pcb.pdf|thumb|Colibri MCU1 PCB layout]]

Latest revision as of 10:26, 20 July 2023

Colibri-mcu1-revB-render-front.png
Colibri-mcu1-revB-render-iso.png

Colibri MCU1 is a processor board for the Colibri-3 and compatible carrier boards. It is simply a RAKwireless RAK3172 module on the Colibri form factor.

The RAK3172 contains a STM32WLE5CC mcu, which has 64kB RAM and 256kB Flash memory. The LoraWAN stack occupies about half of that, and the remaining space can be used for application programs.

Programming

Low Level

The standard SWDIO/SWCLK pins are available in the pin header together with USART1 for effective development environment.

Colibri Forth

We are undertaking to put a small Forth (zForth) in the standard LoraWAN stack for this module, so that you can add custom functionality without creating a new Flash image. Forth is a somewhat alien programming language, but has been used successfully both on Nasa missions as well as deep inside CPUs, such as SPARC, and very popular for games in the 1980s.

Colibri MCU1 standard image intends to execute Colibri Forth in the following way;

1. 2kB of EEPROM is reserved for a custom Forth program. This is executed at lower priority at the max interval of every 50ms. 2. Each Colibri expansion module has a 24LC16 EEPROM. The first 128 bytes are reserved for calibration parameters, the remaining 1920 bytes is a Forth program that is executed by the host MCU, to interact with the expansion module and preparing a packet to be sent via LoraWAN, so Uplink message on fPort 2. 3. Colibri modules that has an on-board STM32F030 (currently Colibri PID and Colibri RS485u) has an additional 2kB of EEPROM containing a Forth program that the on-board STM32F030 will execute.

All these Forth programs can be uploaded in the field via LoraWAN (so called) Downlink communications.

Arduino

The Colibri MCU1 can be programmed with the Arduino IDE. The support for this is provided by RAKwireless. See RAKwireless website.


Documentation