BS2px parallel I/O?
Does the BS2 family have parallel I/O capability?
What I mean is can I output a variable to a group of I/O pins?
My design uses a quadrature rotary encoder that is decoded by a LS7366 chip and input to the the BS2px serially (SPI) using SHIFTIN / SHIFTOUT.
Synchronizing with a POLLIN from a sensor I am grabbing parts of the binary stream and wish to output a count to a 74154 one of sixteen chip to light 1 of 16 leds. I don't see an instruction that will allow the ability to, for instance, directly output a nibble to a group of 4 pins.
What have I missed?
What I mean is can I output a variable to a group of I/O pins?
My design uses a quadrature rotary encoder that is decoded by a LS7366 chip and input to the the BS2px serially (SPI) using SHIFTIN / SHIFTOUT.
Synchronizing with a POLLIN from a sensor I am grabbing parts of the binary stream and wish to output a count to a 74154 one of sixteen chip to light 1 of 16 leds. I don't see an instruction that will allow the ability to, for instance, directly output a nibble to a group of 4 pins.
What have I missed?
Comments
Have looked at the manual again, but I still am not clear on the mechanics of moving the contents of my variable (deltacount var nib) to 4 output pins for display on the 1 of 16 leds.