Serial Debug on SC13048

I want the USB for COM CDC for my Application and move the debug to UART1.
It is not clear to me what to do with the MOD pin, I tried a bunch of things

https://docs.ghielectronics.com/software/tinyclr/tutorials/device-info.html

image

I would measure the voltage on the MOD pin in the factory state. If it is 3.3v the I would ground the pin for serial debug. If zero, apply 3.3v.

Looks like this page is missing that info Debugging

A low on the pin will change the interface to serial.

Thanks, everything works, debugging on UART-1 works.
USB comes up as a COM port on the PC.

CDC is typically limited to 64 KBytes/second
is that 512kbps

1 Like