Thalhammer / simcom_dam

Examples for simcoms downloadable modules (Qualcomm SoC)
27 stars 13 forks source link

DAM sample program #11

Open ambu-jslvs opened 4 years ago

ambu-jslvs commented 4 years ago

Hi,

When I use QAPI_UART_PORT_003_E for UART interface init, where can I see the output. Can you please help with this very basic.

wintuvogga commented 3 years ago

Hi you need to solder UART3_RX and UART3_TX to pin 50 and 49. you can then use FT232 USB to serial converter to get the log into PC on putty or any serial terminal. check this image: https://velascosys.com/public/device.jpeg

Thalhammer commented 3 years ago

Sorry for the late reply, somehow I missed the issue. wintuvogga is right, depending on your board you need to solder directly to the chip. Since the pinout is pretty small make sure you dont bridge any nearby pins by accident. If you dont want to modify the board you can also redirect the console to the USB port, however I would only choose this method as a last resort when in a hurry as for some reason I do not understand yet the chip keeps resetting if you try to write to usb and usb is not plugged in. You also cant detect if USB is present without any external hardware (I know the chip can, but I have not figured out how yet), which means you need to compile/disable those outputs after development.