Code: Select all
USB OTG 2.0 full-speed, LPM and BCD
Code: Select all
USB OTG 2.0 full-speed, LPM and BCD
Perhaps, but it wouldn't be able to supply any power to the USB device.Vitasam wrote: ↑Thu Oct 25, 2018 6:47 amAccording to ST datasheet, devices do support USB OTG:Am I correct that, in theory, DM42 can act as an USB host? So one can plug e.g. usb-2-uart adapter if needed SW support will be done to DM42 firmware?Code: Select all
USB OTG 2.0 full-speed, LPM and BCD
Yes, but form-factor of that USB-otg device may look like this with additional AAA batteries.ijabbott wrote: ↑Thu Oct 25, 2018 8:22 amPerhaps, but it wouldn't be able to supply any power to the USB device.Vitasam wrote: ↑Thu Oct 25, 2018 6:47 amAccording to ST datasheet, devices do support USB OTG:Am I correct that, in theory, DM42 can act as an USB host? So one can plug e.g. usb-2-uart adapter if needed SW support will be done to DM42 firmware?Code: Select all
USB OTG 2.0 full-speed, LPM and BCD
I don't think it's doable for DM42 because the USB data pins are not multiplexed with any UART TX or RX pins on the STM32L476RG. They are multiplexed with the CAN bus controller, so perhaps that's an option.Vitasam wrote: ↑Wed Nov 07, 2018 1:00 pmHere is the NumWorks calculator is controlling a modified elegoo rover over a serial port.
The calculator is connected to robot with the USB cable, but not using the USB protocol. The data lines of the USB port are remapped to an uart by the firmware.
Could be a very useful feature (if it doable) for DM42 too.