2013-05-27 01:58 AM
Hi ST,
is it possible to generate SSPLIT or CSPLIT token on USB FS device? And if so, what is the endpoint channel configuration for such token.Using STM32F207IGT6.Split packet described here: Thank you,T.Kamenicky #split-csplit-ssplit-hub-fs-usb #tusb2046b2013-05-27 01:19 PM
> is it possible to generate SSPLIT or CSPLIT token on USB FS device?
Hah? Split transaction is available just on HS bus, applied just between HS host and HS hub. It carries payload of FS/LS transaction on HS bus, for a transaction translator on the hub. Why do you need it on a FS host, which can put FS/LS transaction directly to the bus? Even if a FS host could, who would listen it on the FS/LS bus? Tsuneo2013-05-28 01:00 AM
Hi,
the FS host is directly connected via DP,DM to TUSB2046B The FS devices works just fine thru mentioned hub. But LS devices needs LS communication, and this can be achieved only with SPLIT transaction thru HUB. With SPLIT token we tell to the HUB that the connected device on the other side is communicating on lower speed. This will use the transmit translator inside hub.I know that HS host has such feature, but i dont have free IO pins to connect it to the HS host, thus it is connected to FS host.RegardsT.Kamenicky2013-05-28 02:50 AM
TUSB2046B is a Full-/Low-speed hub.
Therefore, it has nothing to do with split transaction / Transaction Translator, which are just for High-speed hub. > But LS devices needs LS communication, and this can be achieved only with SPLIT transaction thru HUB. Ah, you mean ''PRE'' (Preamble) PID. As of PRE, refer to the USB2.0 spec, usb_20.pdf p235 ''Figure 8-48 Low-speed Transaction'' in chapter ''8.6.5 Low-speed Transactions'' http://www.usb.org/developers/docs/usb_20_040413.zip On the OTG_FS host, set the bit 17, LSDEV, on OTG_FS_HCCHARx for the pipe to the LS device. With this LSDEV, and with Full-speed connection at the root hub, the OTG_FS host recognizes that the LS transaction should pass through a hub. And then, the host puts PRE PID before downstream packets of LS transactions. Tsuneo2013-05-28 06:10 AM
Tsuneo, big thank you, you solved my problem, you was right.
Please send me your address via PM i will send you a big bottle of Tennesse Whiskey, you sir deserve it.RegardsT.Kamenicky2013-10-01 04:01 AM
Out of curiosity, how would one do on the HS side? I.e. communicating to a low speed device through a high speed bus on the HS host port. Guess the answer lies in the OTG_HS_HCSPLTx channel register somewhere. Anyone ever did this?