i am new to working with psoc can anyone provide me walkthrough of how to shift data by using shiftregister available in psoc.
if i missed out any data assume and provide me a method. (pls i am having review today)
i want to connect some 5 registers in series together. does for all of them the 'load ' input must be used. how to give input to 'shift_in' input and how to see the output at 'shift_out' output pin.
basically i need to know how to write the coding to get some input and to shift them through a series of shift registers(say 5)
The SR has a FIFO that you write data into it, then use load to
place that data into the SR register that actually does the shifting.
So if you cascaded 5, you would have 5 writes to
load the data into the 5 SRs, then having tied the
loads (5) to a control register or LUT or whatever,
activate it to transfer the data into the SR. Then
clock it out.
To look at SR output simply tie a pin to it. If you
do not need to look at intermediate SR data out, just
use 1 SR, and load and shift it in 5 operations.
Even simpler, if you do not need high speed simply toggle a pin with
all the bytes of data, bit at a time, out to a pin.
Better late than never: Welcome in the forum!
When you right-click on the Shift Register component in the component catalog you are offered to find an example project. Adapt it to your environment and play around with it. Do you have got an development kit? Which one??
Sorry to contradict you, but there is an example: Open a PSoC5 project with Creator 3.1, right click on Shift Register (v2.30) component and select "Find Example Project".