Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HackRF One: Replace micro-USB with USB type C #1392

Open
raleighlittles opened this issue Dec 22, 2023 · 8 comments
Open

HackRF One: Replace micro-USB with USB type C #1392

raleighlittles opened this issue Dec 22, 2023 · 8 comments
Labels
enhancement potential new feature

Comments

@raleighlittles
Copy link

What feature would you like to see and why?

Can someone update the HackRF One to use a USB-c connector instead of a microUSB? The pinout and everything else can stay the same (no interface updates, etc), I just need it to have the USB-c connector.

Thanks for your consideration.

@raleighlittles raleighlittles added the enhancement potential new feature label Dec 22, 2023
@M0rn1ng574r
Copy link

What feature would you like to see and why?

Can someone update the HackRF One to use a USB-c connector instead of a microUSB? The pinout and everything else can stay the same (no interface updates, etc), I just need it to have the USB-c connector.

Thanks for your consideration.

It's a very good idea, I thought the same thing, technically it's possible for charging, but wouldn't there be a problem for data transmission?

1 similar comment
@M0rn1ng574r
Copy link

What feature would you like to see and why?

Can someone update the HackRF One to use a USB-c connector instead of a microUSB? The pinout and everything else can stay the same (no interface updates, etc), I just need it to have the USB-c connector.

Thanks for your consideration.

It's a very good idea, I thought the same thing, technically it's possible for charging, but wouldn't there be a problem for data transmission?

@raleighlittles
Copy link
Author

raleighlittles commented Dec 25, 2023

@M0rn1ng574r No, there shouldn't be a problem, USB-c is backwards compatible with the USB 2.0 interface.

image

You would just need to remove the micro USB connector, replace it with a USB-c one, and then reroute the 4 standard USB pins: VBUS, GND, D+ and D-. The other pins can just be set to low (I think, not 100% sure, but they can be unused).

It's a very good idea, I thought the same thing, technically it's possible for charging, but wouldn't there be a problem for data transmission?

@CRD716
Copy link

CRD716 commented Mar 5, 2024

Wonder if there would be any use for a 3.1 speed connection.

@straithe straithe changed the title [Minor] HackRF One: Replace micro-USB with USB type C HackRF One: Replace micro-USB with USB type C Mar 14, 2024
@tdjastrzebski
Copy link

tdjastrzebski commented Apr 14, 2024

Changing connector to USB-C would be a very simple and very appreciated improvement.
Let's face it, USB-C gained wide acceptance everywhere and in 2024 it is really time to move forward.
Anyone who says that adapter can be used clearly misses the point.

Note that with some more improvements this may allow for higher power supply voltage and higher output power. Ofc, probably this would not be a small change. In any case, more current can be drawn.

Data transfer speed increase is an option but it is not required since USB-C is backwards compatible. Probably this would be a major change anyway which would require MPU upgrade.

@straithe
Copy link
Member

USB-C is not a simple change to the board. As you've mentioned, there is a difference in power supply. That change alone would require a lot more engineering work than substituting one type of USB connector for another. If you want to understand the depth of changes required I recommend doing a deep dive into the different USB spec documents: https://usb.org/documents

@raleighlittles
Copy link
Author

@straithe I explained this in my original comment above.. the goal of this feature request was really just to replace the connector itself. You can use the USB-c connector with the legacy USB 2.0 interface. Moving to the USB 3.0+ interface would, as you pointed out, require engineering work, but simply switching the connector type would just be a part replacement. All you would have to do is add a second set of V, G, D+, D- pin routes.

@tdjastrzebski
Copy link

tdjastrzebski commented Apr 15, 2024

@straithe The change required to use full USB-C power delivery (PD) potential in sink mode, that is, ability to negotiate higher voltage and/or higher current is not a small change, likely additional chip like TPS25730 would be required to avoid dealing with CC lines directly and all the non-trivial UCPD logic/communication.

However, the above is just an option and I am not saying it is a desired option.
The desired modification is just a simple USB socket type change which is much easier to implement, would require just two 5.1k CC1/CC2 pull-down resistors with parallel 330pF capacitors for compliance and overshoot protection circuit (5.1V TVS diode and RC snubber). To be super safe, half of the LS24062RQ23 chip could be used for additional over voltage/over current protection. I think that is all what would be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement potential new feature
Projects
None yet
Development

No branches or pull requests

6 participants
@raleighlittles @straithe @tdjastrzebski @CRD716 @M0rn1ng574r and others