This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Here is my problem:
I would like to use a STM32F2 CPU at 1.8v vcore, but for my chosen CPU, the USB core operates at the same voltage. I cannot chose a CPU with an independent USB voltage domain because of the other peripherals I need to use.
I thought it would be a simple matter of finding "some chip" to translate 1.8v to 3.3v, and I happened across the txs0202 which seemed to be exactly what I wanted. I did not understand at the time that the physical interface for "IC-USB" is different than regular USB 2.0.
I have now read the spec and I think I understand that this is why I cant get the TXS0202 chip to work despite trying everything.
I am kind of surprised that although every major manufacturer offers specific level shifting ICs for every protocol under the sun (I2C, SPI, etc, etc), The TXS0202 is the only I can find on the internet that mentions "USB" anywhere. Am I doing something wrong in my search? Is there another word for this type of thing?
My main question is multipart:
a) Am I correct that the TXS0202 is not compatible with regular USB, since it implements the "IC-USB" interface which has different value reistors?
b) Is there any way I could "hack" something together with this part? I tried adding my own 15k pull-down resistors on the device-facing side but it didnt really help anything.
c) is there any similar product designed for /regular/ USB from any manufacturer anywhere, or could I just use a standard "vanilla" LSF0102, with or without some extra resistors?
Thank you for taking a look at this issue.
I think you meant SN74AVC2T872 , not "SN74AVC2T672"? I had looked at this part before as well, but I didn't like the idea of a "direction control" signal, as I am pretty unclear on USB low-level stuff and I don't know how to generate such a signal from my CPU. I just did a quick search, and could not find any obvious "just use this bit here" type of answer. Is there anywhere where I can find information on how set up a hardware direction signal on an STM32F CPU? or for USB in general? For a beginner?
I did not realize that the txs0202 does "not provide any dc drive of its own". I'm also not sure if that is a problem or not. Does that mean it has internal pull-up resistors to provide high-level drive voltage, much like an LSF0102, except the pull up resistors are internal?
Since the SN74AVC2T872 is meant for the IC-USB standard, Im not sure if i see what advantage it has over a "plain old" LSF0102? Neither of them work with the standard I am using (I want regular USB, NOT IC-USB), but both of them do work with similar standards. This is from the LSF0102 datasheet:
"If either output is push-pull, data must be unidirectional or the outputs must be tri-state and be controlled by some direction-control mechanism to prevent HIGH-to-LOW contentions in either direction. If both outputs are open-drain, no direction control is needed."
And it goes on to detail an application for level shifting a "MDIO" signal, which seems to have a similar PHY to USB.. Much like MDIO I believe that the USB drivers themselves will automatically tristate depending on the direction, so it seems like the datasheet is telling me that this LSF part will do automatic bi-directional USB level shifting just fine, up to 100MHz.
Honestly Im still pretty confused as to why something like the txs0202 wouldn't work, or why the SN74AVC2T872 might if they implement exactly the same standard, but since the SN74AVC2T872 has a very tiny package and I dont have an x-ray machine, and since I cant find an easy way to generate a direction control signal, Im tempted to just try the LSF0102 part to see if I can get anything working.