From: "Peter Hüwe" <PeterHuewe-Mmb7MZpHnFY@public.gmane.org>
To: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: I2C Master with limited transmission sizes
Date: Tue, 19 Nov 2013 00:03:03 +0100 [thread overview]
Message-ID: <201311190003.03429.PeterHuewe@gmx.de> (raw)
In-Reply-To: <20131117111524.GB3093@katana>
Hi Wolfram,
thanks for your answer.
> > I'm currently writing a driver for a cheap usb-to-i2c master device,
> > which unfortunately can only write 31 bytes (+slave addr) and read 32
> > bytes.
>
> Which one?
CH341 based ones like this one http://wch-ic.com/download/down.asp?id=114
They go for about ~12 USD on ebay so quite affordable.
lsusb shows it as
ID 1a86:5512 QinHeng Electronics CH341 in EPP/MEM/I2C mode, EPP/I2C adapter
> If you have control over sending start/stop bits, you could omit the
> stop condition unless you transfered all of the 32 byte chunks and issue
> the stop at the end.
This should be possible - I'll give it a try.
Once I've finished my testing I'll post it here for review.
Thanks,
Peter
prev parent reply other threads:[~2013-11-18 23:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-16 3:38 I2C Master with limited transmission sizes Peter Hüwe
[not found] ` <201311160438.36636.PeterHuewe-Mmb7MZpHnFY@public.gmane.org>
2013-11-17 11:15 ` Wolfram Sang
2013-11-18 23:03 ` Peter Hüwe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201311190003.03429.PeterHuewe@gmx.de \
--to=peterhuewe-mmb7mzphnfy@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).