5 years, 8 months ago.

Having trouble getting MAX32630FTHR to work with mbed 5.12.1 any examples out there ?

Specifically getting USBSerial to work. I see older examples use what looks like a separate USBDevice lib but mbed 5.12.1 has that under mbed-os\usb. Also, various samples have issues with how call backs are used in the USB lib. I may have worked a combination of mbed 5.11.5 and the older USBSerial but wow it is rough navigating what libs work with what. Even the MaximOfficial samples use old mbed revisions, eg. temp samples as of this post use 5.6.4... I'm too new to mbed to know if this is a big deal or not and am looking for guidance. Eventually I'll be working on the SD Card but that seems even harder to find compaibility than the USBSerial libs.

I really want to start using maxim products so thanks for any tips !

Question relating to:

Maxim's microcontrollers provide low-power, efficient, and secure solutions for challenging embedded applications.

Really dug into it. I have the board working with mos 5.12.1 SD Storage. Sent a plea for help to Maxim on porting from the previous USB implementation to the new way 5.12 does it. It compiles but it says there is no USB hardware because the MAX32630FTHR hasn't been ported yet....working on it but I'm new to mbed ;)

posted by psion prime 20 Apr 2019

Maxim support responded to an email that an engineer is looking into the USB problem. I also noticed if MBED_TRAP_ERRORS_ENABLED=1 in the debug profile is not removed, a run time error happens when a USBSerial object is created.

posted by psion prime 08 May 2019

2 Answers

5 years, 8 months ago.

I have similar issues with serial, no answer, not sure if anyone is supporting these boards.

https://os.mbed.com/questions/84655/Serial-port-Tx-problem/

5 years, 2 months ago.

Hi, the usb serial example was updated to mbed 5.14 https://os.mbed.com/teams/MaximIntegrated/code/FTHR_USB_serial/

Hi David, have you tried using buffered serial example:

https://os.mbed.com/users/sam_grove/code/BufferedSerial/

Also I had problems with the baud rate working at 921600, is this problem fixed now?

Paul

posted by Paul Staron 02 Oct 2019

Hi David, after importing the updated example it is still bundled with an old mbed-os version. After updating the mbed-os version to 5.14 the online compiler throws various errors during compilation like: - unknown type name 'FunctionPointer' - or: use of undeclared identifier 'wait'

posted by Peter Bankuti 04 Oct 2019

Hi Peter, Paul I wrote a JIra for the team to look at the buffered serial, higher baud rate and the bundling of the older mbed libraries.

Thanks, David

posted by David Jung 04 Oct 2019