cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

 I was trying to use the shift register of PSOC creator 1.0 and I wanted to know what is the easiest possible way of knowing by hardware when the parallel value loaded in the shift register has been shifted out completely.

   

Thank You

0 Likes
Reply
3 Replies
Esteemed Contributor II

Hi antimatter,

   

I would suggest to count the number of bits with a counter :reset with Load shift, count up with shift-clock,compare with bit-count.

   

Have fun

   

Bob

0 Likes
Reply
Anonymous
Not applicable

You can use SPI if you only need to shift data out with a shift clock.

0 Likes
Reply
Anonymous
Not applicable

Hi antimatter,

   

 

   

You can use counter component to keep track of the number of clocks that has elapsed (which is equal to the number of bits shifted). Interrupt on terminal count can be used as a trigger to load a new value into the Shift Register.

0 Likes
Reply