May 13, 2013 #1 X xilinx1001 Member level 3 Joined Apr 3, 2013 Messages 60 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,781 Hi, I am getting data of 9 bits from range sensor. I can transfer only 1 byte(8 bits) of data at a time. So, how can I transfer 9 bits of data like 8bits one time and another 8 bits another time Thanks in advance
Hi, I am getting data of 9 bits from range sensor. I can transfer only 1 byte(8 bits) of data at a time. So, how can I transfer 9 bits of data like 8bits one time and another 8 bits another time Thanks in advance
May 13, 2013 #2 barry Advanced Member level 7 Joined Mar 31, 2005 Messages 6,333 Helped 1,194 Reputation 2,400 Reaction score 1,389 Trophy points 1,393 Location California, USA Activity points 34,475 You only transmit fixed-length data. If you need to transmit 9 bits, then you are going to have to transmit two bytes with the second byte containing 7 dummy bits.
You only transmit fixed-length data. If you need to transmit 9 bits, then you are going to have to transmit two bytes with the second byte containing 7 dummy bits.