Jean,

On Tue, Jan 17, 2012 at 20:36:55, Jean Delvare wrote:
> On Tue, 17 Jan 2012 14:49:01 +0000, Srinivasan, Nageswari wrote:
> > We have a slave device which requires more than 500 registers
> > to be configured. (kind of bulk write) So, looking for an option
> > of configuring all of them in single command.
> 
> How long will it take? You should ask yourself if it really OK to block
> the bus for so long.
> 
> What happens if you configure the chip in several goes? The time
> penalty shouldn't be that big and I can't believe a chip can't be
> configured one register after the other (or at least group by group.)
> 
> If you really have to do it all in one go (and even if not) you should
> check if the chip supports register address pointer autoincrement
> (or block writes.) This would let you write several register values in
> one message, so you no longer have to send 500 messages, plus this
> would be faster than your current strategy.
> 

Thanks. Will try these options.

> -- 


> Jean Delvare
>

Nageswari 

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to