Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | BasicX | shift register - simple q

Discussion forum for the BasicX family of microcontroller chips.

shift register - simple q - limorgarcia - Dec 9 0:20:00 2003

is it possible to shiftout "nothing" to a shift register? meaning if
i have a line of code that is shifting out bytes to several daizy-
chained shift registers, and then i need to shiftout data to only
the third shift register in the chain, is it possible without
effecting the other shift registers?
thank you





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: shift register - simple q - Tom Igoe - Dec 9 7:08:00 2003

No. You have to shift it a line of 0's (or 1's, depending on your
definition of nothing) On Dec 9, 2003, at 12:20 AM, limorgarcia wrote:

> is it possible to shiftout "nothing" to a shift register? meaning if
> i have a line of code that is shifting out bytes to several daizy-
> chained shift registers, and then i need to shiftout data to only
> the third shift register in the chain, is it possible without
> effecting the other shift registers?
> thank you > ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
> Printer at MyInks.com. Free s/h on orders $50 or more to the US &
> Canada.
> http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/dN_tlB/TM
> ---------------------------------------------------------------------
> ~- >
>
--
Tom Igoe




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: shift register - simple q - don_kinzer - Dec 9 12:04:00 2003

--- In , "limorgarcia" <limorgarcia@y...> wrote:
> is it possible to shiftout "nothing" to a shift register? meaning
if
> i have a line of code that is shifting out bytes to several daizy-
> chained shift registers, and then i need to shiftout data to only
> the third shift register in the chain, is it possible without
> effecting the other shift registers?

If this ability is a requirement, you could redesign the circuit so
that the shift registers are independently clocked. All the SRs
could share the same data line but you'd need a separate clock for
each. If you have the I/O pins available, the simplest way would be
to use a different I/O pin for each shift register clock. To reduce
the number of pins used, you can use a demultiplexer/decoder (e.g.
74LS138). Three I/O pins could specify which of 8 registers to clock
and a fourth pin would strobe the enable of the decoder to produce
the clock pulse.

Don


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: Re: shift register - simple q - Ken Arck - Dec 9 12:27:00 2003

At 05:04 PM 12/9/2003 -0000, you wrote:
> is it possible to shiftout "nothing" to a shift register? meaning
if > i have a line of code that is shifting out bytes to several daizy-
> chained shift registers, and then i need to shiftout data to only
> the third shift register in the chain, is it possible without
> effecting the other shift registers?

<---What you could do is to use a registers that have a latch control line
(like a 74HC595) and control each latch independently. That way, only the
one(s) you select to change states will, with the latched one remaining in
it's previous state.

Ken
------ Makers of state-of-the-art repeater controllers
and accessories.
http://www.ah6le.net/arcom/index.html
Our new Repeater Audio Delay (RAD) board is now shipping!
Compatible with many controllers!
AH6LE/R - IRLP Node 3000
http://www.irlp.net





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )