element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MaaXBoard Hardware Design MaaXBoard-RT: support, forum - VCP UART for you
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 343 subscribers
  • Views 580 views
  • Users 0 members are here
  • USB VCP
  • Maaxboard RT
  • freertos
  • USB UART
  • sdk
Related

MaaXBoard-RT: support, forum - VCP UART for you

tjaekel
tjaekel over 2 years ago

After working on and using Arduino Portenta H7 and Teensy 4.1 - I am starting to work on AVNET MaaXBoard-RT board.
I have realized: forum (and support) is not very lively (for this -RT board).

Let's see:
Maybe, I can provide some help and support when working on this board.

Intentions:

I will port (convert) my project (a network SPI adapter, with GPIO INT handling, Pico-C as scripting engine, use it from host Python scripts,
used/needed for my (professional) office work).

Changing to MaaXBoard-RT is mainly caused by the performance and feature requirements I need:
more internal RAM (2MB), faster MCU (1GHz), faster external flash (8bit lane Hyperflash, 300 Mbps (?)), faster ETH (1Gbps) and
especially: a real HW debugger supported.
(I am not a big fan of the Arduino SW environment/IDE/LIB, their forums and how to get help there for my daily job).

Status

The AVNET "out-of-the-box" demo project 'GUI-Guider-Demo' is working, can be flashed and runs.
Find it here:

https://github.com/Avnet/MaaXBoard-RT-V3--Projects

Just: the AVNET user manual is a bit outdated: the file "board.h" should be the latest one (but it is in this GitHub project or in project below).
And the patching for this Flash Loader file was a bit tricky: I think you have to copy also in a sub-folder in your workspace (see the error messages when it fails).

So, the IDE works, the AVNET demo project works, the board works (flash loader and debugger).

Use SDK demos

I was able to compile, flash and run the EVK MIMXRT1070 CDC project:
just check carefully the documented differences and what to adapt.
This project was working almost without any changes (just patch the files and flash loader).

I need USB-C VCP UART.
(I want to get rid of the LPUART connected to debugger or USB-UART-dongle)
This project demonstrates how to have a FW which enables the USB-C device with a CDC class, for a USB VCP UART.
It works.
Just USB-C for power and UART.

Find my project here:

tjaekel/MaaXBoard-RT_cdc_vcom_freertos_cm7: MaaXBoard-RT VCP UART example (github.com)

MaaXBoard-RT with USB VCP UART

I have modified and extended this project:
instead of polling, if USB UART has received anything, I have added a FreeRTOS event.
This event is sent from the USB stack, when something was received, to release the App Task, now in blocking mode.

Not just one single USB-C to a host - the USB VCP UART is also way faster (as the debug UART).

Let's see how it goes with my project on MaaXBoard-RT.
Maybe, we will see us here more often.

  • Sign in to reply
  • Cancel
  • tjaekel
    tjaekel over 2 years ago

    Strange is just:

    I cannot send anything, even USB should be established (MCU runs, UART terminal (TeraTerm) finds USB VCP UART).
    I have to send any character first, to get the FW progressing (to "connect really").

    Not sure, if this is an USB VCP UART spec. issue or a code issue in my FW.

    I have also realized:
    If I do not send anything, after something was received - the next receive (e.g. for any key press) does not work.
    It looks right now as a "ping-ping" (handshake) issue:
    Before you can send - you have to receive anything.
    You cannot receive when nothing was send before.
    (always as "receive -- send - receive - ...")

    (looks more like a code issue, the state machine gets into a "deadlock"....? when not sending anything anymore...?)

    If you want to watch my progress - here is my GitHub project, using the latest USB VCP UART (for a command line):

    tjaekel/MaaXBoard-RT_SPIder: MaaXBoard-RT SPIder framework (github.com)

    Have fun with the MaaXBoard-RT (a great one).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube