FORUMS
Remove All Ads from XDA

Fun with resistors (home/car dock mode + more)

355 posts
Thanks Meter: 217
 
By TheBeano, Senior Member on 26th October 2010, 08:39 PM
Post Reply Email Thread
16th April 2015, 05:13 PM |#221  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by darkspr1te

No, each value triggers that one mode, be careful about injecting power when the device is a output power mode, something could get fried.

darkspr1te

Is there any way to force MHL mode by software, without using resistors?
 
 
16th April 2015, 05:19 PM |#222  
darkspr1te's Avatar
Senior Member
Thanks Meter: 539
 
More
There would be no point as the mhl output would not reach the usb, it would go nowhere.
27th January 2018, 11:26 PM |#223  
Senior Member
Thanks Meter: 286
 
More
Looks like the resistor(s) are actually inside the AnyWay box, instead of the usb-c plug.
https://dl.xda-developers.com/4/2/4/...&ts=1517095578
As you can see in the pinout diagram, line CC is connected to the DB25 header which in turn connected to the box.
So, if anyone has the AnyWay box, the usb-c test cable, and an ohm meter they can simply measure the resistance between ground and pin 23 of the DB25 header. This way we could replicate a test cable without the expensive test jig.

I have played around with the "standard" test resistor values (300k, 523k, 619k etc) between line CC and Gnd, but wasn't able to get any results, not even download mode using a 300k resistor which works on all micro-usb phones. Either usb-c is using different values or there's something else we're missing here.
However, an interesting observation I've made, is that when flashed with combination firmware, the phone accepts most of these low level uart/modem test commands through the usb-c modem port (not the usb-serial port!) via a standard terminal (sometimes they need to be sent a couple of time for it to take, and also dialed *#0*# for test mode):

AT+DEVROOTK=1,0
AT+GMM (Model number)
AT+HWINDICK (CPID S7 and newer)
AT+MSLSECUR=1,0
AT+PRECONFG=1,0
AT+SW=1,0
AT+VERSNAME=1,0
AT+AIRPLANEVALUE
AT+BATGETLEVEL?
AT+CIMI
AT+DEVCONINFO (Long info)
AT+FACTORST (Warning: Forces a factory reset!)
AT+FUS? (DL mode)
AT+GSN - IMEI
AT+IMEINUM
AT+SERIALNO
AT+SIZECHECK (Storage info)
AT+SIZECHECK=1,0 (Storage info)
AT+SVCIFPGM=1,1 (Short Info)
AT+SWDLMODE
AT+SWVER=1,0
AT+SWVERSION=1,0
AT+SYSSCOPE=1,0
AT+WPROTECT=1,0

Read commands:
AT+<command> - read
AT+<command>? - read
AT+<command>=1,0 - read
For example:
AT+PRECONFG=1,0 - reads CSC config

Write commands:
AT+<command>=2,<info> - write
For example:
AT+PRECONFG=2,XAS - writes CSC config

Hope someone steps up to the plate, and gives us the correct resistor value between CC and GND on usb-c
Thanks in advance.
2nd August 2018, 11:41 AM |#224  
Junior Member
Thanks Meter: 0
 
More
It seems a static topic.
Any idea anybody regarding to the resistor list for a usb-c?
I am interested for activating dock mode (car or home) on a smartphone.
8th August 2018, 05:59 AM |#225  
Senior Member
Thanks Meter: 34
 
More
Quote:
Originally Posted by TheBeano

Update 6 March 2011: Confirmed modes so far:
Desk Dock: 365K (also works with 1K)
Car Dock: 619K

in the OP ?
4th April 2019, 07:30 PM |#226  
Zibri's Avatar
Senior Member
Thanks Meter: 44
 
Donate to Me
More
Just for information, all values can be found on FSA9480 datasheet:

The FSA9480 is a USB port accessory detector and
switch. The FSA9480 is fully controlled using I2C and
enables USB data, stereo and mono audio, video,
microphone, and UART data to use a common
connector port. It is designed for compatibility with CEA-
936-A car kit adapters, USB 2.0 signaling, and USB
OTG (on-the-go). The architecture is designed to allow
audio signals to swing below ground so a common USB
and headphone jack can be used for personal media
players and portable peripheral devices.

https://media.digikey.com/pdf/Data%2...Fs/FSA9480.pdf


Note: on page 13 there are some other values I don't quite understand.
Can someone have a look?
Attached Thumbnails
Click image for larger version

Name:	fsa9480_resistor_values.png
Views:	48
Size:	192.4 KB
ID:	4736845  
The Following User Says Thank You to Zibri For This Useful Post: [ View ] Gift Zibri Ad-Free
5th April 2019, 08:53 AM |#227  
Senior Member
Thanks Meter: 34
 
More
Fairchild can write whatever descriptions they like. The true usage of them depends on the bootloader by Samsung.
And thanks for the datasheet. I should have guessed myself.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes