This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I2C block write issue in WINCE 6.0 on OMAP3530

hey friend.....

im able read/write single byte using I2CRead() and I2CWrite()...... but only problem is cannot write block of data... in which im interested....

for example my slave addr is 0x65, sub_addr_mode is 1(for 1 byte sub_addr), and data buffer is

buffer[29]={0xa,0x55,0x45,0xab................etc...........0x11};

but not able to send it at a stretch to the slave using single I2Cwrite(); i think I2cWrite() API has a limitation of writing single byte at a time.....my slave expects a STOP BIT only after completely writing all the 29 bytes of buffer[29]....

but a stop bit is coming just after writing the 1st data byte of buffer[29]....im able see this on the CRO.....i tried changing size of write by passing "count"=29  in 

   I2CWrite(hI2C, subAddress, buffer, count); but still not working....... the RETAILMSG still shows writecount=1 during the execution of the exe......

can u throw some light on it.....

once again im reminding u... that im able to do a SINGLE byte READ/WRITE...... this implies my communication channel between master n slave is through... opening the handle... setting slave addr... setting baud index...setting sub addr mode.. setting sub addr.... sending single byte is succeeding...

thnx in advance..... :)