Re: Accessing I2C-Bus via ELV USB-I2C

Hans Petter Selasky <[email protected]> Mon, 3 Oct 2022 17:57:29 +0200
Newsgroups gmane.os.freebsd.devel.hardware,gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
On 10/3/22 17:50, Axel Rau wrote:
> 15:46:38.539679 usbus1.3 DONE-CTRL-EP=00000000,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0
>   frame[0] WRITE 8 bytes

Hi,

For USB control transfers frame[0] contains a copy of the SETUP packet. 
Maybe the total length exceeds the internal buffer, so that the USB 
control transfer gets split into multiple parts.

Can you show the full sequence from the SUBM-CTRL-EP ?

FYI: The frame[0] never contains any data payload for USB control transfers.

--HPS