This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Implementing SWD over a Type A to C USB cable

Hi,

I want to implement SWD (and potentially UART lines) over a type A to C USB cable to talk to the NRF52832 on our board.

Currently, we only want to sink power only with no USB data. We also don't need to pass USB spec, as we are just using the receptacle for nice ID.

Does anyone have any idea of what 5-6 lines would be safe to pass through SWD and UART lines? I was thinking to use the SBU lines plus D+/D- (maybe even the SS Tx lines on the UFP side) but I am not sure how it would work if they plug it into a computer port.

Thanks!

Parents
  • I might still be misunderstanding your intentions, but

    1. There are no UART lines in USB cables. If you want to communicate with an nRF52832 through USB you will have to use some sort of USB to UART converter.
    2. There are no SWD lines in USB cables. To use SWD you will need some sort of MCU to convert USB to SWD.
    3. The USB Vbus voltage is 5V. You cannot power an nRF52832 device with 5V without a voltage converter regulating the voltage down to < 3.6V.

    In case you are not aware the nRF52840 has USB and can be powered from Vbus.

Reply
  • I might still be misunderstanding your intentions, but

    1. There are no UART lines in USB cables. If you want to communicate with an nRF52832 through USB you will have to use some sort of USB to UART converter.
    2. There are no SWD lines in USB cables. To use SWD you will need some sort of MCU to convert USB to SWD.
    3. The USB Vbus voltage is 5V. You cannot power an nRF52832 device with 5V without a voltage converter regulating the voltage down to < 3.6V.

    In case you are not aware the nRF52840 has USB and can be powered from Vbus.

Children
No Data
Related