AnsweredAssumed Answered

SC16IS750 Start/Stop Bits

Question asked by John McLaughlin on Jul 30, 2019
Latest reply on Jul 31, 2019 by Lisette Paulina Lozano Gomez

I have a setup where I have software running on a Green Hills INTEGRITY-178B RTOS, which talks to a number of I2C slaves over a serial port, which uses the SC16IS750 to convert serial data to I2C.

 

My question is, how do I create the start and stop bits needed to create an accurate I2C message? The application is written in C++, and I only know how to create a message buffer in bytes. So clearly, the first byte has to include the start bit, and the last byte has to include the stop bit. What should those bytes be?

Outcomes