|
Hi everyone I ll be very grateful if u advice me which 68hc11 microcontroller is the best for controlling 40 soleniod valves in a simple industrial application (40 output ports). Actually , I worked on the evaluation board and i am not expert in selection yet. I need to give my proposal to my company as soon as possiple because the suggested controller is PLC. thx all. --------------------------------- |
|
|
|
Hi Samer, > I ll be very grateful if u advice me which 68hc11 > microcontroller is the best for controlling 40 soleniod > valves in a simple industrial application (40 output ports). Hook up 5 74HC573 octal latches to drive the solenoid driver circuit. If the solenoids are faily low current (<350 ma), you can drive them with octal darlinton arrays such as the Allegro 29xx series. Check www.allegromicro.com. They also have some latched serial drivers that could be accessed through the SPI port, making the latches unnecessary. And some drivers are good to 1 amp. Good luck, Bob Furber __________________________________________________________ Connect your micro to the internet the easy way www.microcommander.com Microcontroller with an obscenity of I/O & features ..in a small footprint www.steroidmicros.com __________________________________________________________ |
|
Bob's method-- 74HC573 and octal darlington arrays such as Toshiba TD62083 or Allegro/ON ULN2804--would work fine. But as Bob also suggests, it might save chip count, cost, and real estate to use a SPI serial bus driver. Suggest you consider five each TI TPI16C595-- provided it can handle your loads. This device has a SPI input, an internal 8-bit latch, and open-drain drivers. The cost is very reasonable. As for which flavor of 68HC11-- I would stick with the most popular variants to maximize product life. Probably would choose the 68HC11E1 with external flash or EPROM, or 68HC711E9 OTP. Best regards, Kerry Berland Silicon Engines 2101 Oxford Road Des Plaines, IL 60018 USA 847-803-6860 Fax 847-803-6870 ----- Original Message ----- From: Bob Furber To: Sent: Sunday, September 01, 2002 1:20 PM Subject: RE: [m68HC11] 40 output ports Hi Samer, > I ll be very grateful if u advice me which 68hc11 > microcontroller is the best for controlling 40 soleniod > valves in a simple industrial application (40 output ports). Hook up 5 74HC573 octal latches to drive the solenoid driver circuit. If the solenoids are faily low current (<350 ma), you can drive them with octal darlinton arrays such as the Allegro 29xx series. Check www.allegromicro.com. They also have some latched serial drivers that could be accessed through the SPI port, making the latches unnecessary. And some drivers are good to 1 amp. Good luck, Bob Furber __________________________________________________________ Connect your micro to the internet the easy way www.microcommander.com Microcontroller with an obscenity of I/O & features ..in a small footprint www.steroidmicros.com __________________________________________________________ Yahoo! Groups Sponsor ADVERTISEMENT To unsubscribe from this group, send an email to: Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] |
|
Correction, TI part number is TPI6C595. ----- Original Message ----- From: Kerry Berland To: Sent: Tuesday, September 03, 2002 11:40 AM Subject: Re: [m68HC11] 40 output ports Bob's method-- 74HC573 and octal darlington arrays such as Toshiba TD62083 or Allegro/ON ULN2804--would work fine. But as Bob also suggests, it might save chip count, cost, and real estate to use a SPI serial bus driver. Suggest you consider five each TI TPI16C595-- provided it can handle your loads. This device has a SPI input, an internal 8-bit latch, and open-drain drivers. The cost is very reasonable. As for which flavor of 68HC11-- I would stick with the most popular variants to maximize product life. Probably would choose the 68HC11E1 with external flash or EPROM, or 68HC711E9 OTP. Best regards, Kerry Berland Silicon Engines 2101 Oxford Road Des Plaines, IL 60018 USA 847-803-6860 Fax 847-803-6870 ----- Original Message ----- From: Bob Furber To: Sent: Sunday, September 01, 2002 1:20 PM Subject: RE: [m68HC11] 40 output ports Hi Samer, > I ll be very grateful if u advice me which 68hc11 > microcontroller is the best for controlling 40 soleniod > valves in a simple industrial application (40 output ports). Hook up 5 74HC573 octal latches to drive the solenoid driver circuit. If the solenoids are faily low current (<350 ma), you can drive them with octal darlinton arrays such as the Allegro 29xx series. Check www.allegromicro.com. They also have some latched serial drivers that could be accessed through the SPI port, making the latches unnecessary. And some drivers are good to 1 amp. Good luck, Bob Furber __________________________________________________________ Connect your micro to the internet the easy way www.microcommander.com Microcontroller with an obscenity of I/O & features ..in a small footprint www.steroidmicros.com __________________________________________________________ Yahoo! Groups Sponsor ADVERTISEMENT To unsubscribe from this group, send an email to: Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] |
|
Man...I guess I need another cup of coffee. Thanks for the correction. Kerry Berland ----- Original Message ----- From: Carl Barnes To: Sent: Tuesday, September 03, 2002 12:27 PM Subject: Re: [m68HC11] 40 output ports One more slight correction (missing "C"): TPIC6C595 Best regards, Carl Barnes www.technologicalarts.com modular 68HC11 and 68HC12 boards Kerry Berland wrote: > > Correction, TI part number is TPI6C595. > ----- Original Message ----- > From: Kerry Berland > To: > Sent: Tuesday, September 03, 2002 11:40 AM > Subject: Re: [m68HC11] 40 output ports > > Bob's method-- 74HC573 and octal darlington arrays > such as Toshiba TD62083 or Allegro/ON ULN2804--would > work fine. But as Bob also suggests, it might save > chip count, cost, and real estate to use a SPI > serial bus driver. Suggest you consider five each > TI TPI16C595-- provided it can handle your loads. > This device has a SPI input, an internal 8-bit latch, > and open-drain drivers. The cost is very reasonable. > > As for which flavor of 68HC11-- I would stick with the > most popular variants to maximize product life. > Probably would choose the 68HC11E1 with external > flash or EPROM, or 68HC711E9 OTP. > > Best regards, > > Kerry Berland > > Silicon Engines > 2101 Oxford Road > Des Plaines, IL 60018 USA > 847-803-6860 > Fax 847-803-6870 > > ----- Original Message ----- > From: Bob Furber > To: > Sent: Sunday, September 01, 2002 1:20 PM > Subject: RE: [m68HC11] 40 output ports > > Hi Samer, > > > I ll be very grateful if u advice me which 68hc11 > > microcontroller is the best for controlling 40 soleniod > > valves in a simple industrial application (40 output > ports). > > Hook up 5 74HC573 octal latches to drive the solenoid driver > circuit. If the solenoids are faily low current (<350 ma), > you can drive them with octal darlinton arrays such as the > Allegro 29xx series. Check www.allegromicro.com. They also > have some latched serial drivers that could be accessed > through the SPI port, making the latches unnecessary. And > some drivers are good to 1 amp. > > Good luck, > > Bob Furber > > __________________________________________________________ > > Connect your micro to the internet the easy way > www.microcommander.com > > Microcontroller with an obscenity of I/O & features > ..in a small footprint www.steroidmicros.com > __________________________________________________________ > > Yahoo! Groups Sponsor > ADVERTISEMENT > > > To unsubscribe from this group, send an email to: > Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service. > > [Non-text portions of this message have been removed] > > Yahoo! Groups Sponsor > ADVERTISEMENT > To unsubscribe from this group, send an email to: > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. Yahoo! Groups Sponsor ADVERTISEMENT To unsubscribe from this group, send an email to: Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] |
|
One more slight correction (missing "C"): TPIC6C595 Best regards, Carl Barnes www.technologicalarts.com modular 68HC11 and 68HC12 boards Kerry Berland wrote: > > Correction, TI part number is TPI6C595. > ----- Original Message ----- > From: Kerry Berland > To: > Sent: Tuesday, September 03, 2002 11:40 AM > Subject: Re: [m68HC11] 40 output ports > > Bob's method-- 74HC573 and octal darlington arrays > such as Toshiba TD62083 or Allegro/ON ULN2804--would > work fine. But as Bob also suggests, it might save > chip count, cost, and real estate to use a SPI > serial bus driver. Suggest you consider five each > TI TPI16C595-- provided it can handle your loads. > This device has a SPI input, an internal 8-bit latch, > and open-drain drivers. The cost is very reasonable. > > As for which flavor of 68HC11-- I would stick with the > most popular variants to maximize product life. > Probably would choose the 68HC11E1 with external > flash or EPROM, or 68HC711E9 OTP. > > Best regards, > > Kerry Berland > > Silicon Engines > 2101 Oxford Road > Des Plaines, IL 60018 USA > 847-803-6860 > Fax 847-803-6870 > > ----- Original Message ----- > From: Bob Furber > To: > Sent: Sunday, September 01, 2002 1:20 PM > Subject: RE: [m68HC11] 40 output ports > > Hi Samer, > > > I ll be very grateful if u advice me which 68hc11 > > microcontroller is the best for controlling 40 soleniod > > valves in a simple industrial application (40 output > ports). > > Hook up 5 74HC573 octal latches to drive the solenoid driver > circuit. If the solenoids are faily low current (<350 ma), > you can drive them with octal darlinton arrays such as the > Allegro 29xx series. Check www.allegromicro.com. They also > have some latched serial drivers that could be accessed > through the SPI port, making the latches unnecessary. And > some drivers are good to 1 amp. > > Good luck, > > Bob Furber > > __________________________________________________________ > > Connect your micro to the internet the easy way > www.microcommander.com > > Microcontroller with an obscenity of I/O & features > ..in a small footprint www.steroidmicros.com > __________________________________________________________ > > Yahoo! Groups Sponsor > ADVERTISEMENT > > > To unsubscribe from this group, send an email to: > Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service. > > [Non-text portions of this message have been removed] > > Yahoo! Groups Sponsor > ADVERTISEMENT > To unsubscribe from this group, send an email to: > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. |
|
ST also does this part: STPIC6C595M See link: http://us.st.com/stonline/books/pdf/docs/7726.pdf Regards, Alec ---------------------------------------- Alec Bath East Region Field Applications Engineer ST Microelectronics, PSD & NVRAM Memory Products 10 Maguire Road Bldg #1, 3rd Floor Lexington, MA 02421 781-402-8793 www.st.com/psd www.st.com/nvram -----Original Message----- From: [mailto:] Sent: Tuesday, September 03, 2002 1:17 PM To: Cc: Subject: Re: [m68HC11] 40 output ports << File: Re_ [m68HC11] 40 output ports.TXT >> << File: Re_ [m68HC11] 40 output ports.HTM >> |
|
|
|
How does one handle the chip selects when several devices are used on the SPI? Since there is no memory addressing involved, can I just use any available I/O? Can anyone point me to resources on the Web about use of chip selects and the SPI that is more useful than what I find in the Pink Book? Thanks, Dan Bull --- In m68HC11@y..., alec.bath@s... wrote: > ST also does this part: STPIC6C595M > > See link: http://us.st.com/stonline/books/pdf/docs/7726.pdf > Regards, Alec > > ---------------------------------------- > Alec Bath > East Region Field Applications Engineer > ST Microelectronics, PSD & NVRAM Memory Products > 10 Maguire Road > Bldg #1, 3rd Floor > Lexington, MA 02421 > 781-402-8793 > alec.bath@s... > > www.st.com/psd > www.st.com/nvram > > -----Original Message----- > From: kerry@s... > [mailto:kerry@s...] > Sent: Tuesday, September 03, 2002 1:17 PM > To: m68HC11@y... > Cc: kerry@s... > Subject: Re: [m68HC11] 40 output ports > > << File: Re_ [m68HC11] 40 output ports.TXT >> << File: Re_ [m68HC11] > 40 output ports.HTM > |
|
Dan, Could you please a little more specific ? I can imagine that you are trying to send or receive serial data to external chips such as EEPROM or Real Time Clocks, etc connected via SPI bus. In that case, if the devices have chip select pins, you could use any I/O port to select the device to communicate with. If you have many devices, you could use an external decoder such as 74HC138 or a PAL chip. The Pink Book concentrates in how the SPI works. Any EEPROM chip data sheet has examples on how to manage chip selects or chip addresses. Regards, Roberto Guillermo Berner Boolean General 54 11 4308 3500 54 11 4308 3700 15 5122 6095 ----- Original Message ----- From: "daniel62bull" <> To: <> Sent: Saturday, September 07, 2002 8:03 PM Subject: [m68HC11] Re: 40 output ports > How does one handle the chip selects when several devices are used on > the SPI? Since there is no memory addressing involved, can I just use > any available I/O? Can anyone point me to resources on the Web about > use of chip selects and the SPI that is more useful than what I find > in the Pink Book? > > Thanks, > > Dan Bull > > --- In m68HC11@y..., alec.bath@s... wrote: > > ST also does this part: STPIC6C595M > > > > See link: http://us.st.com/stonline/books/pdf/docs/7726.pdf > > > > > > Regards, Alec > > > > > > > > ---------------------------------------- > > Alec Bath > > East Region Field Applications Engineer > > ST Microelectronics, PSD & NVRAM Memory Products > > 10 Maguire Road > > Bldg #1, 3rd Floor > > Lexington, MA 02421 > > 781-402-8793 > > alec.bath@s... > > > > www.st.com/psd > > www.st.com/nvram > > > > > > > > -----Original Message----- > > From: kerry@s... > > [mailto:kerry@s...] > > Sent: Tuesday, September 03, 2002 1:17 PM > > To: m68HC11@y... > > Cc: kerry@s... > > Subject: Re: [m68HC11] 40 output ports > > > > << File: Re_ [m68HC11] 40 output ports.TXT >> << File: Re_ > [m68HC11] > > 40 output ports.HTM > > > To unsubscribe from this group, send an email to: |
|
|
|
Thanks, that's just the info I needed. I currently use an LCD device that gets data from the data bus, and I use CSIO1 (or is it 2?). It seemed to me that I could use any I/O pin to enable the chip if I just wanted to send data over the SPI. If I read you correctly, you are confirming this. In fact, using a latch I could have eight SPI chips with only three pins for chip selects, correct? Dan Bull Hyperion Research LLC --- In m68HC11@y..., "Boolean General" <booleangeneral@c...> wrote: > Dan, > > Could you please a little more specific ? I can imagine that you are trying > to send or receive serial data to external chips such as EEPROM or Real Time > Clocks, etc connected via SPI bus. In that case, if the devices have chip > select pins, you could use any I/O port to select the device to communicate > with. If you have many devices, you could use an external decoder such as > 74HC138 or a PAL chip. The Pink Book concentrates in how the SPI works. Any > EEPROM chip data sheet has examples on how to manage chip selects or chip > addresses. > > Regards, > > Roberto Guillermo Berner > Boolean General > booleangeneral@c... > 54 11 4308 3500 > 54 11 4308 3700 > 15 5122 6095 > ----- Original Message ----- > From: "daniel62bull" <dbull@h...> > To: <m68HC11@y...> > Sent: Saturday, September 07, 2002 8:03 PM > Subject: [m68HC11] Re: 40 output ports > > How does one handle the chip selects when several devices are used on > > the SPI? Since there is no memory addressing involved, can I just use > > any available I/O? Can anyone point me to resources on the Web about > > use of chip selects and the SPI that is more useful than what I find > > in the Pink Book? > > > > Thanks, > > > > Dan Bull > |
|
You indeed use gpio pins as chip select inputs for SPI devices. The timing is not
critical. Just assert the chip select signal, do your SPI communication and release the chip select signal again. Theo. > -----Original Message----- > From: daniel62bull [mailto:] > Sent: Sunday, September 08, 2002 1:04 AM > To: > Subject: [m68HC11] Re: 40 output ports > How does one handle the chip selects when several devices are used on > the SPI? Since there is no memory addressing involved, can I just use > any available I/O? Can anyone point me to resources on the Web about > use of chip selects and the SPI that is more useful than what I find > in the Pink Book? > > Thanks, > > Dan Bull > > --- In m68HC11@y..., alec.bath@s... wrote: > > ST also does this part: STPIC6C595M > > > > See link: http://us.st.com/stonline/books/pdf/docs/7726.pdf > > > > > > Regards, Alec > > > > > > > > ---------------------------------------- > > Alec Bath > > East Region Field Applications Engineer > > ST Microelectronics, PSD & NVRAM Memory Products > > 10 Maguire Road > > Bldg #1, 3rd Floor > > Lexington, MA 02421 > > 781-402-8793 > > alec.bath@s... > > > > www.st.com/psd > > www.st.com/nvram > > > > > > > > -----Original Message----- > > From: kerry@s... > > [mailto:kerry@s...] > > Sent: Tuesday, September 03, 2002 1:17 PM > > To: m68HC11@y... > > Cc: kerry@s... > > Subject: Re: [m68HC11] 40 output ports > > > > << File: Re_ [m68HC11] 40 output ports.TXT >> << File: Re_ > [m68HC11] > > 40 output ports.HTM > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> > 4 DVDs Free +s&p Join Now > http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/dN_tlB/TM > -------------------------------------------------------------- > -------~-> > > To unsubscribe from this group, send an email to: > > > |
|
You can often get away with only one chip select, depending on your application. For
example, let's say that there are 40 output bits (as per the original message in this
thread). There are five SPI output devices, 8 bits apiece. If you use 595 type devices,
for example, you can take the serial output of the first, and connect it as the serial
input of the second--cascading all five in series. The GPIO pin wires to the strobe input
of all five devices. You then have your software write five bytes out in sequence. When
all five have been written, you then toggle the GPIO pin, which transfers the serial data
within all five devices, from each shift register to its respective latch. This can work
fine with outputs such as motor drives, displays, and other outputs that are relatively
slow in speed, compared to the SPI transfer rate. It saves port pins and simplifies PCB
layouts. Same thing with inputs--often you can wire them in series and strobe 'em all at once. The more elegant SPI input chip is the 74HC589. It has a buffer stage and a tri-state driver, so that individual devices can selectively be enabled, using multiple port pins. But often a more cost-effective chip is the 74HC165, which lacks buffering and tristate drivers. You can cascade them in series, and use a GPIO pin to strobe in all the bits at the same time. There is a possibility of missing a changing input, but you need to debounce inputs in software anyway, so the cascaded '165 idea can produce cost savings. Best regards, Kerry Berland Silicon Engines 2101 Oxford Road Des Plaines, IL 60018 USA 847-803-6860 Fax 847-803-6870 ----- Original Message ----- From: Meer, T.A. ter To: Sent: Monday, September 09, 2002 4:32 AM Subject: RE: [m68HC11] Re: 40 output ports You indeed use gpio pins as chip select inputs for SPI devices. The timing is not critical. Just assert the chip select signal, do your SPI communication and release the chip select signal again. Theo. > -----Original Message----- > From: daniel62bull [mailto:] > Sent: Sunday, September 08, 2002 1:04 AM > To: > Subject: [m68HC11] Re: 40 output ports > How does one handle the chip selects when several devices are used on > the SPI? Since there is no memory addressing involved, can I just use > any available I/O? Can anyone point me to resources on the Web about > use of chip selects and the SPI that is more useful than what I find > in the Pink Book? > > Thanks, > > Dan Bull > > --- In m68HC11@y..., alec.bath@s... wrote: > > ST also does this part: STPIC6C595M > > > > See link: http://us.st.com/stonline/books/pdf/docs/7726.pdf > > > > > > Regards, Alec > > > > > > > > ---------------------------------------- > > Alec Bath > > East Region Field Applications Engineer > > ST Microelectronics, PSD & NVRAM Memory Products > > 10 Maguire Road > > Bldg #1, 3rd Floor > > Lexington, MA 02421 > > 781-402-8793 > > alec.bath@s... > > > > www.st.com/psd > > www.st.com/nvram > > > > > > > > -----Original Message----- > > From: kerry@s... > > [mailto:kerry@s...] > > Sent: Tuesday, September 03, 2002 1:17 PM > > To: m68HC11@y... > > Cc: kerry@s... > > Subject: Re: [m68HC11] 40 output ports > > > > << File: Re_ [m68HC11] 40 output ports.TXT >> << File: Re_ > [m68HC11] > > 40 output ports.HTM > > ------------------------ Yahoo! Groups Sponsor > ---------------------~--> > 4 DVDs Free +s&p Join Now > http://us.click.yahoo.com/pt6YBB/NXiEAA/MVfIAA/dN_tlB/TM > -------------------------------------------------------------- > -------~-> > > To unsubscribe from this group, send an email to: > > > Yahoo! Groups Sponsor ADVERTISEMENT To unsubscribe from this group, send an email to: Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] |