I am new to logic analyzers and I am trying to stumble my way through. I read your documentation but I’m still lost. Here is what I’m trying to do, I want to read the 8 bit data being fed serially to the 74HC595 chip and then I want to see the binary value of all 8 registers and then the final output 8 bit binary number.
I hooked up all 8 leads (and grounds) to the 8 pins on the 74HC595 that are data input points. I ran the software and I could see a high (1) pulse kind of cascading down from input 0 to 7. However I am unable to read the binary values (or hex). My programming code is sending a 0000 0001 (0x01) . I’m not seeing this high “1” in the data side of the program. I added a bunch of protocols because again I’m lost. Some resulted in showing binary 0000 0000 always.
in theory I think I should be seeing something like (again I could be way wrong here)
Sending 0x01 to input 0 which is 0b0000 0001
First run (its a for loop that runs 8 times shifting to the right >>)
Input 0: 0
Input 1: 0
Input 2: 0
Input 3: 0
Input 4: 0
Input 5: 0
Input 6: 0
Input 7: 1
Second run
Input 0: 1
Input 1: 0
Input 2: 0
Input 3: 0
Input 4: 0
Input 5: 0
Input 6: 0
Input 7: 0
Third run
Input 0: 0
Input 1: 1
Input 2: 0
Input 3: 0
Input 4: 0
Input 5: 0
Input 6: 0
Input 7: 0
and so on…
I have this hooked up to 8 LEDs, if I release the latch after each for iteration I get basically a line of leds light up and repeat (called in an infinite loop) they light up as such
LEDS:
i=1
OFF OFF OFF OFF OFF OFF OFF ON
i=2
OFF OFF OFF OFF OFF OFF ON OFF
…
until i=8 in the for loop that looks like
ON OFF OFF OFF OFF OFF OFF OFF
If i send the latch command after the entire for loop iterates only one LED lights up (last one) in essence 10000000
ON OFF OFF OFF OFF OFF OFF OFF
Problem I have is I want the LED’s to then go the opposite way and that doesn’t work at all, and I don’t know why. I tried using a new loop with value 0x80 which is 1000 000 and having it shift the opposite direction << and doing the same routine as above. In this case all LEDS light up and stay lit up if I want for the for loop to complete. If I have engage the latch after each i iteration I get more a trailing LED display
eg:
OFF OFF OFF OFF OFF OFF OFF ON call this point A
OFF OFF OFF OFF OFF OFF ON ON
OFF OFF OFF OFF OFF ON ON ON
…
Until the 8th interation
ON ON ON ON ON ON ON ON
then it resets to point A.
I wanted to use the logic analyzer to understand what is going on in the 74HC chip in binary, that is, what each of the 8 registers contain. I am unable to get any data in to display in the “data” column that contains values. Like I said I added a bunch of interfaces and some return on all binary 0’s. Channels 0-7 clear show a nice 0-1 transition then it moves to the next channel all the way down to channel 7. But I want to read this data in the “data” section on the right column. There are clearly values of 1 for all of the channels at some point but I don’t know how to collect this data.
This is running on a Raspberry pico 3.3V I have Logic8. Please help this was an expensive logic analyzer and I know it can do what I need it to, and its user error. Sorry! Please help. I have used it successfully for known protocols such as I2C to see the values in binary of the registers. But this isn’t really a protocol (or at least I dont know what its called). I’m sending a 8 bits to channel zero and a clock pulse that shifts them into the 74HC. Once its full you release the latch and all 8 outputs are sent in parallel.