Avenger96: Difference between revisions

From Wiki-DB
Jump to navigationJump to search
Ageisreiter (talk | contribs)
No edit summary
Ageisreiter (talk | contribs)
 
(233 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''The Avenger96 board is the official DHCOR STM32MP1 reference design!'''
{|
{|
|
|
Line 8: Line 10:


== Introduction ==
== Introduction ==
*[[COM Avenger96Board Introduction|Introduction]]
The AVENGER Board is a 96Boards compliant consumer edition board based on the STM32MP15 series of SoCs. The STM32MP15 series
 
is a highly integrated multi-market applications processor designed to enable secure and portable applications within the Internet of Things.
== Hardware ==
AVENGER board features Dual-core Arm® Cortex®-A7 processors operating at up to 650 MHz, Single core Arm® Cortex® M4 operating up to
*[[COM Avenger96Board Hardware|Hardware]]
209 MHz. In addition, an extensive set of interfaces and connectivity peripherals are included to interface to cameras, touch-screen displays,
MMC/SD cards and media processor engine. It also fully supports wireless communication, including WLAN and BLE.


== Technical Details ==
{| class="wikitable" align="center" |  style="width: 100%; color: #000000; background: #f3f3f3;" valign="top" |
{| class="wikitable" align="center" |  style="width: 100%; color: #000000; background: #f3f3f3;" valign="top" |
|-
|-
Line 21: Line 25:
* '''STM32MP157AAC
* '''STM32MP157AAC
**2x ARM® Cortex-A7 up to 650 MHz
**2x ARM® Cortex-A7 up to 650 MHz
**1x ARM® Cortex-M4 up to 200 MHz  
**1x ARM® Cortex-M4 up to 209 MHz  
'''
'''
* 2D/3D graphics accelerator
*'''GPU''' 1x 3D GPU Vivante®  @ 533 MHz - OpenGL® ES 2.0
* 0 - 512 MByte NAND flash memory (8 bit bus width) or 2 - 16 GByte eMMC flash
*'''PMIC''' STPMIC1A
* 2 MB SPI boot flash
*'''DDR3 DRAM''' 1024 Mbyte  @ 533 MHz
* 256 - 2048 MByte DDR3-1066 or DDR3-800
*'''eMMC Flash''' 8 Gbyte, v4.51 interface
* On-board microSD card socket
*'''NOR Flash''' 2 Mbyte, Quad SPI interface
* SD/MMC card interface, 4 bit SDIO
*'''EEPROM''' 128 byte
* LC display controller, 24 bit colors, 2048x1536 pixels
*'''microSD Socket''' UHS-I speed grade, v3.01
* LVDS 4-channel, max. 165 Mpixels/s
*'''USB Host''' 2x type A, 2.0 high-speed
* On-board touch controller for 4-wire resistive touch screens
*'''USB OTG''' 1x type micro-AB, 2.0 high-speed
* Ethernet controller 10/100 Mbit, IEEE1588 conform
*'''HDMI''' WXGA (1366x768) @ 60 fps, HDMI 1.4
* USB 2.0 OTG high-speed
*'''WiFi / Bluetooth'''
* USB 2.0 host high speed
**WiFi 5 GHz & 2.4GHz IEEE 802.11a / b / g / n / ac
* Full function UART
**Bluetooth® v4.2 (BR/EDR/BLE)
* Standard UART with hardware handshake support
**PCB antenna
* Standard UART
*'''Ethernet''' 10 / 100 / 1000 Mbit/s, IEEE 802.3-compliant
|valign="top" style="border: 0pt;" |  
|valign="top" style="border: 0pt;" |
* CAN interface
*'''Push-Buttons''' Power and reset
* 2 x SPI interface
*'''Battery Socket''' CR1216, CR1220 and CR1225
* 2 x I2CTM interface  
*'''LEDs'''
* I²S Audio codec (1 x microphone, 1 x Line in, 1x Line out)
**4x green user controlled LEDs
* Real-time clock (I2CTM connection), low power temperature compensated
**1x blue Bluetooth enabled
* 12 bit analog input
**1x yellow WiFi enabled
* 1 kbit EEPROM with integrated MAC address
**1x red power supply okay
* 16 bit address/databus interface on SODIMM-200 socket
*'''Boot Mode''' 3 bit boot mode switch
* PWM channel
*'''Debug Interface''' JTAG interface via tag-connect
* 23 GPIOs
*'''Supply (SYS_DCIN)''' 8 - 18 VDC
* JTAG debug connection via FFC plug connector
*'''Temperature Range''' 0 - 40 °C
* Industrial temperature range (-40°C to +85°C)
*'''Dimensions ''' 100 x 85 mm
* SODIMM-200 socket with DHCOM pin assignment
*'''Expansion Connectors''' 
**2 x UART
**2 x I2C
**1 x I2S
**1 x SPI
**12 x GPIOs (also useable as 2x CAN, 2x ADC)
**1 x MIPI-CSI2
**1 x MIPI-DSI
|}
|}
== Product Change Notifications (PCN) ==
==== DHCOR STM32MP15====
* [[media:PCN_DHCOR-STM32MP1-001_R01_2022-10-07.pdf|PCN_DHCOR-STM32MP1-001_R01_2022-10-07.pdf (New default bootloader, based on testbench configuration)]]
* [[media:PCN_DHCOR-STM32MP15-002_R01_2024-05-15.pdf|PCN_DHCOR-STM32MP15-002_R01_2024-05-15.pdf (SPI flash write-protect information)]]


== Downloads ==
== Downloads ==
==== Documents ====
* [https://github.com/dh-electronics/kas-dhsom/releases/tag/2023-08-28 DH Mainline based starter image 2023-09-20 (based on 6.1.54 Linux Kernel)]
* [https://www.dropbox.com/s/byk52tai49e7vi8/U-boot-2015.10_iMX6_V1.1.0.6.zip?dl=0 Getting-Started]
 
== Documentation ==
* [[media:DOC_Getting-Started-588-200_R05_2024-07-17.pdf|Getting-Started with Avenger96 (R05)]]
* [[media:USM_DHCOR-STM32MP1_R05_2019-12-12.pdf|DHCOR STM32MP1 User Manual R05 <span style="color:#FF0000">'''IMPORTANT: Please have a look at NEW chapter 24. Hardware design checklist'''</span>]]
* More about the STM32 MPU is on the [[Avenger96#Links | Links section]]
 
== Design Files ==
* [https://www.dropbox.com/s/u8nihe1xd6ysk3v/SCH_588-200-HS00008-public_R07_2019-08-01.pdf?dl=0 Avenger96 Schematic]
* [https://www.dropbox.com/s/1gyb53slm50uu80/BOM_588-200-HS00008-public_R07_2019-08-01.xlsx?dl=0 Avenger96 Bill of Material]
* [https://www.dropbox.com/s/78otmzqqbw0fkio/588-200_TOP_ASSEMBLY__R04_2019-04-12.pdf?dl=0 Avenger96 Assembly Top]
* [https://www.dropbox.com/s/su226xkonru494t/588-200_BOTTOM_ASSEMBLY__R04_2019-04-12.pdf?dl=0 Avenger96 Assembly Bottom]
* [https://www.dropbox.com/s/orku1po5d7gywwd/BRD_588-200-with-DHCOR_2020-06-22.STEP?dl=1 Avenger96 3D STEP file]
* [https://www.dropbox.com/s/yjx9l0qj9ja0de8/DHCOR-STM32MP1-Design-Symbols_2019-10-16.zip?dl=0 DHCOR STM32MP1 Allegro/Orcad schematic and layout symbols (release date: 16.10.2019) '''Now with Allegro *.brd file and 3D information''']
* [https://www.dropbox.com/s/s4n5j9wzhhrv6so/DHCOR_STM32MP1_3D_STEP_586-100_R02.zip?dl=0 DHCOR STM32MP1 3D STEP file]
* [[media:Stm32mp15xx-dhcor-avenger96_2023-04-18.zip | Avenger96 CubeMX configuration (release date: 18.04.2023)]]
 
== Software ==
=== DH Mainline based Linux ===
* [https://github.com/dh-electronics/kas-dhsom Build your own Yocto Scarthgap LTS via kas (GitHub)]
* [https://github.com/dh-electronics/meta-dhsom-stm32-bsp Yocto BSP meta layer (Github)]
* [[Default Bootloader "stm32mp15xx-dhcor-testbench" | Default Bootloader "stm32mp15xx-dhcor-testbench" programmed with delivered DHCOR module]]
* [[DHCOR_STM32MP1_Linux| Linux and bootloader documentation]]
:<span style="color:#008000">'''NEW How to start with custom DHCOR design?'''</span>
:The patch below is an example patch which applies on top of u-boot v2021.01 and implements a custom board derived from 3V3 option of DHCOR STM32MP1 SoM. That's pretty much all you have to change to implement the board. But, please tweak the DTs esp. where there are the FIXME comments.
:[https://www.dropbox.com/s/zg6f9h1vms6lxdg/0001-ARM-dts-stm32-Add-DHCOR-based-FOO-board-u-boot-v2021.01.patch?dl=0 '''NEW''' 0001-ARM-dts-stm32-Add-DHCOR-based-FOO-board-u-boot-v2021.01.patch]
* [[Add Yocto SDK with QT5 to QT Creator | Start with Qt]]
* [[Debugging_M4_on_STM32MP15xxxx|STM32MP1: Debugging M4]]
* [https://wiki.dh-electronics.com/index.php/STM32MP1_Browser_Performance STM32MP1 Browser Performance]
* [[DHSOM device tree structure | DHSOM device tree structure]]
 
=== OpenSTLinux ===
: <span style="color:#FF0000"> '''This project is NOT maintained from DH electronics!!! Please use the "DH Mainline based Linux" version for your project. The OpenSTLinux should only be used for testing!!!'''</span>
* '''Info:'''
:- Based on OpenSTLinux v3.0
:- GPU support based on original vivante GPU driver.
:- Based on kernel 5.10.x and Yocto version dunfell
* [https://github.com/dh-electronics/manifest-av96 Yocto meta layer (Github)]
:DH electronics Github contains the meta-av96 layer for ST SDK. Please see readme.txt which describes the build process.
 
* [https://www.dropbox.com/s/5c8s7sxtienyfip/Avenger96_v7.0_2021-10-29.img.zip?dl=0 OpenSTLinux-3.0 based on Yocto Dunfell LTS and Linux 5.10.10 - v7.0 Starter Image] (Supported by Arrow Electronics)
:[[Starter Image Changelog]]
: This Image includes four different bootmodes to support some additional mezzanine boars. [https://wiki.dh-electronics.com/index.php/Starter_Image_Bootmode Click here to learn, how to change them.]
 
:'''X-LINUX-AI OpenSTLinux Expansion Package:''' Description: Expansion Package that targets artificial intelligence for STM32MP1 Series devices.
* [https://wiki.st.com/stm32mpu/wiki/X-LINUX-AI_OpenSTLinux_Expansion_Package '''NEW''' X-LINUX-AI OpenSTLinux Expansion Package]
* [https://wiki.st.com/stm32mpu/wiki/How_to_install_X-LINUX-AI_v2.0.0_on_Avenger96_board '''NEW''' How to install X-LINUX-AI v2.0.0 on Avenger96 board]
 
== Useful instructions ==
==== How to test OV5640 camera ====
To use the D3 mezzanine board with AV96 and the OV5640 camera, one has to apply the correct DTO first:
STM32MP> setenv loaddtos '#conf-stm32mp157a-avenger96.dtb#conf-stm32mp15xx-avenger96-overlay-ov5640-x7.dtbo'; boot
 
Afterward it is possible to stream frames from the camera:
$ XDG_RUNTIME_DIR=/var/run/user/$(id -u weston)/ gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! queue ! waylandsink
 
==== How to load U-Boot with dfu-util ====
*[[U-Boot recovery for STM32MP1 DHSOM via DFU |U-Boot recovery for STM32MP1 DHSOM via DFU]]
 
==== SPI Flash and eMMC Image Programming via UMS (universal mass storage) ====
*[[Avenger96 UMS Image Programming | Avenger96 UMS Image Programming]]
 
==== SPI Flash and eMMC Image Programming via Cube Programmer (OLD) ====
*[[Avenger96 Image Programming | Avenger96 Image Programming]]
 
==== How to calibrate resistive touchscreens ====
*[[Calibration of resistive touchscreens]]
 
== Mezzanine Boards by DH electronics ==
 
==== DSI Display Adaptor Board ====
You can easily add an DSI display to your Avenger96 with the help of the DSI Display Adaptor Board.
The display can be activated easily on our Mainline Image with a device tree overlay as described [[DHCOR_STM32MP1_Linux| here]].
To get one of the boards, simply reach out to us and we'll prepare one for you.
 
[[File:DSI Display Adaptor Board.jpg|400px|DSI Display Adaptor Board]]
 
== Links ==
* [https://wiki.st.com/stm32mpu/wiki/Main_Page STM32 MPU wiki]
* [https://wiki.st.com/stm32mpu/wiki/Category:Device_tree_configuration STM32 MPU wiki - Device tree configuration]
* [https://wiki.st.com/stm32mpu/index.php/STM32MP15_resources STM32MP15 resources]
* [https://www.96boards.org 96Boards]

Latest revision as of 06:44, 17 July 2024

The Avenger96 board is the official DHCOR STM32MP1 reference design!

COM Avenger96Board

Introduction

The AVENGER Board is a 96Boards compliant consumer edition board based on the STM32MP15 series of SoCs. The STM32MP15 series is a highly integrated multi-market applications processor designed to enable secure and portable applications within the Internet of Things. AVENGER board features Dual-core Arm® Cortex®-A7 processors operating at up to 650 MHz, Single core Arm® Cortex® M4 operating up to 209 MHz. In addition, an extensive set of interfaces and connectivity peripherals are included to interface to cameras, touch-screen displays, MMC/SD cards and media processor engine. It also fully supports wireless communication, including WLAN and BLE.

Technical Details

  • STM32MP157AAC
    • 2x ARM® Cortex-A7 up to 650 MHz
    • 1x ARM® Cortex-M4 up to 209 MHz

  • GPU 1x 3D GPU Vivante® @ 533 MHz - OpenGL® ES 2.0
  • PMIC STPMIC1A
  • DDR3 DRAM 1024 Mbyte @ 533 MHz
  • eMMC Flash 8 Gbyte, v4.51 interface
  • NOR Flash 2 Mbyte, Quad SPI interface
  • EEPROM 128 byte
  • microSD Socket UHS-I speed grade, v3.01
  • USB Host 2x type A, 2.0 high-speed
  • USB OTG 1x type micro-AB, 2.0 high-speed
  • HDMI WXGA (1366x768) @ 60 fps, HDMI 1.4
  • WiFi / Bluetooth
    • WiFi 5 GHz & 2.4GHz IEEE 802.11a / b / g / n / ac
    • Bluetooth® v4.2 (BR/EDR/BLE)
    • PCB antenna
  • Ethernet 10 / 100 / 1000 Mbit/s, IEEE 802.3-compliant
  • Push-Buttons Power and reset
  • Battery Socket CR1216, CR1220 and CR1225
  • LEDs
    • 4x green user controlled LEDs
    • 1x blue Bluetooth enabled
    • 1x yellow WiFi enabled
    • 1x red power supply okay
  • Boot Mode 3 bit boot mode switch
  • Debug Interface JTAG interface via tag-connect
  • Supply (SYS_DCIN) 8 - 18 VDC
  • Temperature Range 0 - 40 °C
  • Dimensions 100 x 85 mm
  • Expansion Connectors
    • 2 x UART
    • 2 x I2C
    • 1 x I2S
    • 1 x SPI
    • 12 x GPIOs (also useable as 2x CAN, 2x ADC)
    • 1 x MIPI-CSI2
    • 1 x MIPI-DSI

Product Change Notifications (PCN)

DHCOR STM32MP15

Downloads

Documentation

Design Files

Software

DH Mainline based Linux

NEW How to start with custom DHCOR design?
The patch below is an example patch which applies on top of u-boot v2021.01 and implements a custom board derived from 3V3 option of DHCOR STM32MP1 SoM. That's pretty much all you have to change to implement the board. But, please tweak the DTs esp. where there are the FIXME comments.
NEW 0001-ARM-dts-stm32-Add-DHCOR-based-FOO-board-u-boot-v2021.01.patch

OpenSTLinux

This project is NOT maintained from DH electronics!!! Please use the "DH Mainline based Linux" version for your project. The OpenSTLinux should only be used for testing!!!
  • Info:
- Based on OpenSTLinux v3.0
- GPU support based on original vivante GPU driver.
- Based on kernel 5.10.x and Yocto version dunfell
DH electronics Github contains the meta-av96 layer for ST SDK. Please see readme.txt which describes the build process.
Starter Image Changelog
This Image includes four different bootmodes to support some additional mezzanine boars. Click here to learn, how to change them.
X-LINUX-AI OpenSTLinux Expansion Package: Description: Expansion Package that targets artificial intelligence for STM32MP1 Series devices.

Useful instructions

How to test OV5640 camera

To use the D3 mezzanine board with AV96 and the OV5640 camera, one has to apply the correct DTO first:

STM32MP> setenv loaddtos '#conf-stm32mp157a-avenger96.dtb#conf-stm32mp15xx-avenger96-overlay-ov5640-x7.dtbo'; boot

Afterward it is possible to stream frames from the camera:

$ XDG_RUNTIME_DIR=/var/run/user/$(id -u weston)/ gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! queue ! waylandsink

How to load U-Boot with dfu-util

SPI Flash and eMMC Image Programming via UMS (universal mass storage)

SPI Flash and eMMC Image Programming via Cube Programmer (OLD)

How to calibrate resistive touchscreens

Mezzanine Boards by DH electronics

DSI Display Adaptor Board

You can easily add an DSI display to your Avenger96 with the help of the DSI Display Adaptor Board. The display can be activated easily on our Mainline Image with a device tree overlay as described here. To get one of the boards, simply reach out to us and we'll prepare one for you.

DSI Display Adaptor Board

Links