74HC165 Parallel to Serial
Gaudware
Posts: 18
I was wanting to know if any one could tell me how to use this with the propeller chip
Any help will helpful, Thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Diamonddredges.com
Gaudware.net84.net
Any help will helpful, Thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Diamonddredges.com
Gaudware.net84.net
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Diamonddredges.com
Gaudware.net84.net
@Leon: are you sure that THIS chip will work with an SPI-object ?
it's NOT specified as an SPI-device with PINs named
SCLK — Serial Clock (output from master)
MOSI/SIMO — Master Output, Slave Input (output from master)
MISO/SOMI — Master Input, Slave Output (output from slave)
I guess that it will NOT work with the SPI-protocol
could you say a explicit YES or NO that a 74HC165 which has
Pins named
PL - asynchronous parallel load input (active LOW)
CP - clock input (LOW-to-HIGH edge-triggered)
@Gaudware:
This is the description in the datasheet how the bits are transferred
from the chip to the serial output
When the parallel load
(PL) input is LOW, parallel data from the D0 to
D7 inputs are loaded into the register asynchronously.
When PL is HIGH, data enters the register serially at the
Ds input and shifts one place to the right
(Q0 ® Q1 ® Q2, etc.) with each positive-going clock
transition. This feature allows parallel-to-serial converter
expansion by tying the Q7 output to the DS input of the
succeeding stage.
The clock input is a gated-OR structure which allows one
input to be used as an active LOW clock enable (CE) input.
The pin assignment for the CP and CE inputs is arbitrary
and can be reversed for layout convenience. The
LOW-to-HIGH transition of input CE should only take
place while CP HIGH for predictable operation. Either the
CP or the CE should be HIGH before the
LOW-to-HIGH transition of PL to prevent shifting the data
when PL is activated.
As the datasheet has charateristics listed for Vcc = 2V it MIGHT work at 3.3V but I#m not sure
there are other CMOS-chips that explicit work properly with a supply-voltage of 2.8V - 5V
and for the 74HC597 which has the same functionality as the 74HC165 there already exists an object in the obex
best regards
Stefan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Diamonddredges.com
Gaudware.net84.net
I think it's similar in operation to the 74HC595 (ser-par), which is definitely an SPI device.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle