ASR Microelectronics ASR650x

Registry:

https://registry.platformio.org/platforms/heltecautomation/asrmicro650x

Configuration:

platform = asrmicro650x

ASR Microelectronics ASR650x series is highly intergrated and ultra low power SoC based on the PSoC 4000 series MCU (ARM Cortex M0+ Core) and Semtech SX1262 transceiver.

For more detailed information please visit vendor site.

Configuration

LoRaWAN

LoRaWAN protocol can be configured in “platformio.ini” (Project Configuration File) using the following syntax board_build.arduino.lorawan.* where * is an option from the following list:

Option

Description

Possible values

Default

region

Region definition

AS923_AS1, AS923_AS2, AU915, CN470, CN779, EU433, EU868, KR920, IN865, US915, US915_HYBRID

US915

class

Device class

CLASS_A, CLASS_C

CLASS_A

netmode

Activation method

OTAA, ABP

OTAA

adr

Adaptive Data Rate

ON, OFF

ON

uplinkmode

Uplink confirmed/unconfirmed messages

CONFIRMED, UNCONFIRMED

CONFIRMED

net_reserve

Don’t rejoin after reset

ON, OFF

OFF

at_support

AT commands support

ON, OFF

ON

rgb

RGB light for LoRaWAN status

ACTIVE, DEACTIVE

ACTIVE

preamble_length

Preamble length

8, 16 (For M00 and M00L)

8

debug_level

Print LoRaWAN relevant messages print to serial port

NONE, FREQ (Sending/receiving frequency), FREQ_AND_DIO (Sending/receiving frequency and DIO pin interrupt information)

NONE

Example

[env:cubecell_board]
platform = asrmicro650x
framework = arduino
board = cubecell_board
board_build.arduino.lorawan.region = EU433
board_build.arduino.lorawan.adr = OFF
board_build.arduino.lorawan.debug_level = FREQ_AND_DIO

More information about LoRaWAN configuration can be found in the official CubeCell documentation.

Examples

Examples are listed from ASR Microelectronics ASR650x development platform repository:

Stable and upstream versions

You can switch between stable releases of ASR Microelectronics ASR650x development platform and the latest upstream version using platform option in “platformio.ini” (Project Configuration File) as described below.

Stable

; Latest stable version
[env:latest_stable]
platform = asrmicro650x
board = ...

; Custom stable version
[env:custom_stable]
platform = asrmicro650x@x.y.z
board = ...

Upstream

[env:upstream_develop]
platform = https://github.com/HelTecAutomation/platform-asrmicro650x.git
board = ...

Packages

Name

Description

framework-arduinoasrmicro

Arduino Wiring-based Framework for ASR Microelectronics (Heltec core)

tool-cubecellelftool

CubeCell ELF tool

tool-cubecellflash

CubeCell Flash tool

tool-cubecellflash6601

CubeCell Flash tool for ASR6601

toolchain-gccarmnoneeabi

GNU toolchain for Arm Cortex-M and Cortex-R processors

Warning

Linux Users:

Windows Users:

Please check that you have a correctly installed USB driver from board manufacturer

Frameworks

Name

Description

Arduino

Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences

Boards

Note

  • You can list pre-configured boards by pio boards command

  • For more detailed board information please scroll the tables below by horizontally.

Heltec

Name

Debug

MCU

Frequency

Flash

RAM

Heltec CubeCell Capsule Solar Sensor (HTCC-AC02)

No

ASR6051

48MHz

128KB

16KB

Heltec CubeCell-1/2AA Node (HTCC-AB02A)

No

ASR6502

48MHz

128KB

16KB

Heltec CubeCell-Board (HTCC-AB01)

No

ASR6501

48MHz

128KB

16KB

Heltec CubeCell-Board PRO (HTCC-AB03)

No

ASR6601

48MHz

224KB

224KB

Heltec CubeCell-Board Plus (HTCC-AB02)

No

ASR6502

48MHz

128KB

16KB

Heltec CubeCell-Capsule (HTCC-AC01)

No

ASR6501

48MHz

128KB

16KB

Heltec CubeCell-GPS (HTCC-AB02S)

No

ASR6502

48MHz

128KB

16KB

Heltec CubeCell-Module (HTCC-AM01)

No

ASR6501

48MHz

128KB

16KB

Heltec CubeCell-Module Plus (HTCC-AM02)

No

ASR6502

48MHz

128KB

16KB