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.

SN74LV8153: Serial Input Frame

Part Number: SN74LV8153

In datasheet they mentioned the serial protocol should like mentioned below.

These are the data which has been written in Putty serial terminal software

00000111110000011111 - includes both 1st & 2nd frame. But, the output toggles differently.

00-start bit for 1st frame.

000-address of the Convertor

1111-D0 to D3 Data bits

1- Stop Bit

01-Start bit for 2nd frame

000 - address of the convertor

1111-D4 to D7 Data bits

1- Stop Bit.

  • Hi Nermal,

    We are going to need a little more detail. What outputs are you seeing, and how is it behaving besides behaving "differently". 

    00000111110000011111
    01-Start bit for 2nd frame

    In the first you include a different start bit than what you indicated below.

    I can't see what you linked from the customer support, but I am looking at the datasheet for the serial communication.

    Regards,

    Owen

  • Assuming that the byte D contains the eight desired data bits, the two bytes that are to be sent over the UART can be computed like this:

    uart1 = (D << 4)   | 0x01;
    uart2 = (D & 0xf0) | 0x01;

    (The extra start and stop bits are generated by the UART.)

    PuTTY is not capable of sending binary data. When you type anything, PuTTY sends the values of the characters in the current encoding; the ASCII values of "0" and "1" are 48 and 49.