Feather M4 USB-to-serial

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
TeddyBonkers
 
Posts: 11
Joined: Tue Sep 14, 2021 3:21 pm

Feather M4 USB-to-serial

Post by TeddyBonkers »

Hi,

I need to develop an application which sends and receives data from PC. I'd like to use CircuitPython and have a Feather M4 CAN. My question is - can I disable the REPL and have access to a serial COM port over the USB? Sort of like using USB-HID bootloader on the STM32 Blue Pill board.

I know I can do that if using Arduino environment, but I'd like to use CircuitPython for my project.

Please excuse me if this has been asked before.

Thanks

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Feather M4 USB-to-serial

Post by mikeysklar »

@TeddyBonkers,

It looks like USB CDC which can be used to enable / disable console or data.

details here:

https://learn.adafruit.com/customizing- ... 3096590-12

https://circuitpython.readthedocs.io/en ... index.html

User avatar
TeddyBonkers
 
Posts: 11
Joined: Tue Sep 14, 2021 3:21 pm

Re: Feather M4 USB-to-serial

Post by TeddyBonkers »

Hi and thank you for the quick reply. Indeed that was what I was looking for, works great!

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”