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
    About the element14 Community
  • 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
Analog Devices
  • Products
  • Manufacturers
  • Analog Devices
  • More
  • Cancel
Analog Devices
Blog Using the MAX32630FTHR to read the 1V8 serial output from the Arduino Q debug port
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Analog Devices to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: BigG
  • Date Created: 11 May 2026 12:01 PM Date Created
  • Views 511 views
  • Likes 5 likes
  • Comments 1 comment
  • max32630fthr
  • useVDDIO
  • debug
  • maxim_blog
  • Arduino Q
Related
Recommended

Using the MAX32630FTHR to read the 1V8 serial output from the Arduino Q debug port

BigG
BigG
11 May 2026

Introduction

The MAX32630FTHR chip comes with a very handy feature. You can set the logic level for any GPIO in software. You can define your logic level either at 3V3 level (default) or at 1V8 logic level with the following commands: useVDDIOH(pin_no) for 3V3 and useVDDIO(pin_no) for 1v8.

image

Little did I realise that I would find a useful application for this feature so soon.

Arduino Q debug port

Over the weekend I decided to set up my Arduino Q board. This did not go smoothly. I found that my board would not always boot up correctly (see video). So, when I did get access to the board I decided to do a full system upgrade. This then locked me out the board, so to speak, on reboot as the HDMI stopped working. A quick SSH into the board confirmed that all was fine but it did prompt me to look at whether you get access to a debug UART port, like with a Rasberry Pi board for example.

source: Arduino docs

The official Arduino Q users manual webpage confirmed that you do have access to a debug UART via the JCTL header pins. The gotcha is that this is 1V8 logic. Of course you can simply use a logic level shifter to handle this, as the JCTL connector includes a handy +1V8 VOUT pin. But this is all rather messy, in my opinion.

To solve this, I simply grabbed my MAX32630FTHR feather board and flashed it with the standard Arduino passthrough example with a couple of code amendments.

source mbed website

I needed to use "Serial2" at 1V8 logic, which is provided on pins P3_0 and P3_1. I decided to also start with 115200 baud rate, but as I'm not constrained by the speed of the logic level shifter, I could go push this higher if needs be.

/*
  SerialPassthrough sketch

   created 23 May 2016
  by Erik Nyquist

  https://docs.arduino.cc/built-in-examples/communication/SerialPassthrough/
*/

void setup() {
  Serial.begin(115200);

  // set the 1v8 logic for P3_0 and P3_1
  useVDDIO(P3_0);
  useVDDIO(P3_1);

  Serial2.begin(115200);
}

void loop() {
  if (Serial.available()) {        // If anything comes in Serial (USB),
    Serial2.write(Serial.read());  // read it and send it out Serial1 (pins 0 & 1)
  }

  if (Serial2.available()) {       // If anything comes in Serial1 (pins 0 & 1)
    Serial.write(Serial2.read());  // read it and send it out Serial (USB)
  }
}

And that's it. You then connect the two boards with 3 wires (for RXD, TXD, and GND):

image

And here's the result. It works a charm.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

What makes this really handy is that I can now search in real time for keywords etc. The MAX32630FTHR ARM Cortex M4 is well suited for this.

  • Sign in to reply
  • ralphjy
    ralphjy 1 month ago

    Nice feature.  I didn’t realize that the MAX32630 had the capability to set voltages levels.  Of course,  I don’t have one so can’t try it Disappointed.  I’m waiting for the BugHopper to be available.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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