Is there Matlab/Simulink support for the Arduino Due's Native USB port?

4 views (last 30 days)
The Arduino IDE has support for the Arduino Due's Native USB port, but I have not been able to make the Due's Native USB port work with Simulink. There is an application I am working on where it's highly desirable to run the Due in External mode from the Due's Native USB port, while keeping the Due's "regular" USB programming port open for other uses.
I am aware it is possible to make use of the three open serial ports on the Due, but this requires additional hardware (FTDI for example), which I'd prefer not to add given the design constraints I'm working under.
I'm curious if there is some official support from Mathworks coming in the future for this or perhaps a work around that someone would be willing to share.

Answers (1)

Girard Thomas
Girard Thomas on 6 Mar 2020
Hello,
I want to run a custon board based on ATMEL SAM3X (Arduino Due) programmed with Simulink (with a blank SAM3X without arduino firmware and if possible without the 16u2 chip).
I there a way to use the native programming port? Or a way to using a FDTI chip?
I can have the 16u2 on my board too, but I'm not sure it will work with a blank SAM3X too, and I don't know if it's possible to flash the arduino firmware on the SAM3X
For the Arduino Mega chip (ATmega2560) on a custon board, I can program it with simulink it using a FDTI but I need to flash the arduino firmware on the ATmega2560 first (with Arduino IDE). But I think it's impossible with SAM 3X.
Is someone had a solution?
Thank you

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!