Parallax Forums
  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
Parallax Forums > Public Forums > Propeller Chip > DABiC-5 (A6821) 8-Bit Serial Input Latched Sink Driver  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Next Thread >> ] | Show Newest Post First ]

John Abshier
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 346
 
   Posted 11/6/2009 4:02 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
This chip, A6812 from Allegro looked like a good match for the Propeller.  But I cannot get it to work.  It works fine for any single output or pair of outputs on.  If I try to turn on 3 outputs, all outputs come on and the chip stays in that state.  Any command to turn specific outputs off is ignored.  Output enable still works.  Using ViewPort, the waveforms look like what I want; perhaps not what I need.  Output enable is low, data is clocked out with strobe low.  Then the strobe is pulsed high.  Pure Spin so no problem going to fast.
 
Test bed is Propeller Professional Development Board.  Clock, serial data in, strobe and output enable are connected to Prop pins 0-3.  Logic ground to ground.  Logic supply to 3.3 volts.  Power ground to ground.  Outputs are connected to LEDs that are connected to 5 volts.
 
Here are a couple of quotes from the documentation:
 
3.3 to 5 V logic supply range
 
CMOS, TTL compatible

The CMOS inputs are compatible with standard CMOS logic levels. TTL circuits may require the use of appropriate pull-up resistors.

 
If I need pull-up resistors, to what voltage would I pull it up?  Anyone have any experience?
 
John Abshier

File Attachment :
A6821ShiftDriver - Archive [Date 2009.11.06 Time 17.38].zip   16KB (application/x-zip-compressed)
This file has been downloaded 5 time(s).

File Attachment :
6821.pdf   296KB (application/pdf)
This file has been downloaded 10 time(s).
Back to Top
 

Peter Jakacki
thinker tinker



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2006
Total Posts : 930
 
   Posted 11/6/2009 4:45 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
John,

I have written drivers before for this chip and I haven't had any problems. It might be that you are running your chip off +5V and trying to drive it with 3.3V which is the minimum that is accepted as a logic high. There is no reason why you can't run your chip off 3.3V and keep it compatible with the Prop. Pullup resistors won't work as the Prop does not use open-drain drivers. The code looks like it will work as long as the I/O pins are not interfered with by another routine.

BTW, I have a driver in PASM that runs multiple devices, after setting up all you have to do is write to your output buffer.


*Peter*

Back to Top
 

John Abshier
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 346
 
   Posted 11/7/2009 7:17 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Thanks Peter. One thing I like about this chip is all outputs are on one side and inputs on the other. I want to get the Spin version working for low speed applications because it would not use another cog. If you would paste you PASM version I will use it to test my chip/setup.

John Abshier
Back to Top
 
[ << Previous Thread | Next Thread >> ]
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Friday, November 20, 2009 11:14 PM (GMT -8)
There are a total of 393,738 posts in 55,521 threads.
In the last 3 days there were 82 new threads and 702 reply posts. View Active Threads
Who's Online
This forum has 17687 registered members. Please welcome our newest member, mark09.
50 Guest(s), 1 Registered Member(s) are currently online.  Details
SRLM