Re: Accessing I2C-Bus via ELV USB-I2C

Axel Rau <[email protected]> Wed, 5 Oct 2022 13:55:22 +0200
Newsgroups gmane.os.freebsd.devel.hardware
Message-ID <752FCC61-496D-40C5-8A99-143F15B1EE84__19878.5947098926$1664970950$gmane$org@Chaos1.DE>
--Apple-Mail=_5E42947A-F854-4C69-8415-B0726CD1FFE1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8



> Am 04.10.2022 um 13:43 schrieb Hans Petter Selasky <[email protected]>:
>=20
> Did you clear the endpoint halt condition (for RX BULK endpoint and TX =
BULK endpoint), to reset the so-called USB data-toggle, before starting =
to communicate with the device? Else you risk loosing a USB packet?

If I do not want to touch th USB stuff, can I get the same effect by =
close/open of the serial device?

Axel
=2D--
PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius


--Apple-Mail=_5E42947A-F854-4C69-8415-B0726CD1FFE1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbs=
p-mode: space; line-break: after-white-space;" class=3D""><br class=3D"">=
<div><br class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">=
Am 04.10.2022 um 13:43 schrieb Hans Petter Selasky &lt;<a href=3D"mailto:=
[email protected]" class=3D"">[email protected]</a>&gt;:</div><br class=3D"Ap=
ple-interchange-newline"><div class=3D""><span style=3D"caret-color: =
rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">Did you clear the endpoint halt condition (for RX BULK =
endpoint and TX BULK endpoint), to reset the so-called USB data-toggle, =
before starting to communicate with the device? Else you risk loosing a =
USB packet?</span><br class=3D""></div></blockquote><br class=3D""></div>=
<div>If I do not want to touch th USB stuff, can I get the same effect =
by close/open of the serial device?</div><div><br class=3D""></div><div>A=
xel</div><div><span style=3D"orphans: 2; text-align: -webkit-auto; =
widows: 2;" class=3D"">---</span></div><div class=3D""><div dir=3D"auto" =
style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;" class=3D""><div dir=3D"auto" style=3D"car=
et-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoratio=
n: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;" class=3D""><div style=3D"color: rgb(0, 0, 0); =
letter-spacing: normal; text-align: start; text-indent: 0px; text-transfo=
rm: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-wid=
th: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;" class=3D""><div style=3D"color: rgb(0, 0, 0); =
letter-spacing: normal; text-align: start; text-indent: 0px; text-transfo=
rm: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-wid=
th: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;" class=3D""><div style=3D"color: rgb(0, 0, 0); =
font-family: Helvetica; font-style: normal; font-variant-ligatures: =
normal; font-variant-position: normal; font-variant-caps: normal; =
font-variant-numeric: normal; font-variant-alternates: normal; font-varia=
nt-east-asian: normal; font-weight: normal; letter-spacing: normal; =
line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: =
0px; text-transform: none; white-space: normal; widows: 2; word-spacing: =
0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-=
mode: space; line-break: after-white-space;" class=3D""><div class=3D"">P=
GP-Key:&nbsp;CDE74120 &nbsp;=E2=98=80 &nbsp;computing @ chaos claudius</d=
iv></div></div></div></div></div>
</div>
<br class=3D""></body></html>

--Apple-Mail=_5E42947A-F854-4C69-8415-B0726CD1FFE1--