Write N bytes to slave device with SC18IM700

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Write N bytes to slave device with SC18IM700

1,136件の閲覧回数
pierre_etienne
Contributor I

Hello everyone,

I'm trying to find out a solution to write more than 16 byte on the UART link on SC18IM700.

Indeed, if I transmit more than the size of the FIFO input buffer (16 bytes) when I am "Write N bytes to slave device", there are random informations which are transmitted to the I2C bus. So the component doesn't succeed to save all the bytes which are transmitted.

I've tried to put a delay (less than 655ms as explained in the dataseet) between each bytes transmitted in order to be sure that the component has enough time to read each byte before the buffer is full but it's similary as a writing without delay.

It's necessary to me to be able to send 33 bytes in one I2C frame but with this problem, I can only send 12 bytes (1 (Start )+ 1 (Adresse) + 1 (Nb bytes to write) + 1 (Stop) + 12 (Data N) = 16 bytes).

So have you got any idea to solve my problem ?

Tanks,

Pierre ETIENNE

タグ(4)
0 件の賞賛
返信
0 返答(返信)