| Author |
Message |
msmax
Joined: 06 May 2001 Posts: 104 Location: Pays Bas
|
11 Sep 2003 19:40 Your opinion for SPI bus.. |
|
|
|
Have you had good or bad experiences with SPI(CLK,Data,Enable) bus for increasing port outputs.
What set up did you have for your experience:
- bus on same board as micro?
- bus fed by 3 wire cable to seperate board from micro?
I'm using a 3 wire bus with latches to create 56 outputs on a seperate print with a cable of ~1.2 meters.
Problem is that sometimes outputs are are spontanously flashing which should not happen.
Please share your experience with me.
|
|
| Back to top |
|
 |
eltonjohn
Joined: 22 Feb 2002 Posts: 1558 Helped: 22
|
12 Sep 2003 5:14 Re: Your opinion for SPI bus.. |
|
|
|
i implemented a spi interface in software on both sides
between a 51 micro and an early pic .. and is was very reliable !
the reason of this approach was to use the pic as a power manager
and as a watchodog for the 51 . We couldn't afford the 51 to crash and damage other machinery .. This approach was great !
|
|
| Back to top |
|
 |
eltonjohn
Joined: 22 Feb 2002 Posts: 1558 Helped: 22
|
12 Sep 2003 5:17 Re: Your opinion for SPI bus.. |
|
|
|
I forgot to say the reasons why i chose this approach
1) the protocol does't require special circuitry . is easy to implement in
software .
2)also several devices can be addressed .
3) is more inmune to noise .. specially in industrial enviroments
So overall is a great bus !
|
|
| Back to top |
|
 |
tjalps
Joined: 28 May 2001 Posts: 262 Helped: 2
|
12 Sep 2003 6:03 Re: Your opinion for SPI bus.. |
|
|
|
Hello!
I have used SPI comunication in many aplications( port expander MAX8301, A/D converters, FLASH,E2PROM,RTC..) and as far I'm concerned it's wery reliable at least for me.
Regards!
|
|
| Back to top |
|
 |
pendragon
Joined: 03 Jan 2002 Posts: 88 Helped: 1
|
19 Sep 2003 22:11 Re: Your opinion for SPI bus.. |
|
|
|
Hi
I have used the SPI bus from the TMS320F240 with the PC parallel port with minimal harware, and work very well...
Best regads
Pendragon
|
|
| Back to top |
|
 |