CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Counter Chip

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
aaronik19



Joined: 25 Apr 2011
Posts: 297

View user's profile Send private message

Counter Chip
PostPosted: Sun Feb 09, 2020 7:22 am     Reply with quote

Dear all,

I know that this might be above the scope of this forum, but I am sure that most of you are electronic enthusiasts and you might help me. In my circuit i would like to insert a counter where the client is freely to configure from 0.1s to 100hr. I came across this counter (https://lsicsi.com/datasheets/LS7213R.pdf)

Apart from LSI since it is hard to purchase these chip to Europe, do you know about another semiconductor company (such as Maxim, Microchip or STMicro) which manufactures this chip? I must say that this chip has the perfect features for my project which is able to handle all the timings and avoid to overload my PIC Micro with excess code.

Very much looking forward for your suggestions.
temtronic



Joined: 01 Jul 2010
Posts: 9245
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Feb 09, 2020 7:36 am     Reply with quote

You might try www.banggood.com, they have 1,000s of 'modules', bound to have something....
Obviously the cheapest soultion would be to program a 50 cent PIC for the job. Microchip have 'application notes' about doing this. Or it could have been in their 'tip 'n tricks' book....I have a hardcopy of it here, somewhere.....
Since you have the LSI datasheet, you could program the PIC with those features you need, even 'cloning' the device.
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Sun Feb 09, 2020 8:44 am     Reply with quote

The reason you are having problem buying these, is that they no longer
exist!...
LSI was bought by Avago a little while ago. This product was discontinued
soon afterwards.
Note 'DISCONTINUED BY MANUFACTURER; here:
<https://www.radwell.co.uk/en-GB/Buy/LSI%20COMPUTER%20SYSTEMS/LSI%20COMPUTER%20SYSTEMS/LS7213-S?redirect=true>

They were not a popular chip, since these days everything they did can be
done cheaper and easier using something like a basic PIC. Given that the
timing is based on an RC oscillator you will be lucky to get even +/- 20%
accuracy, while a PIC with a calibrated internal oscillator could do 10* better
than this...
temtronic



Joined: 01 Jul 2010
Posts: 9245
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Feb 09, 2020 9:53 am     Reply with quote

gee I got curious....
https://lsicsi.com/products/Timers/LS7213R_LS7213R-S

says still in full production, so WHO do you believe ?
I used their dual encoder chips for years, still have a tube of them 'somewhere'...

still, I'd program a PIC to emulate it though....
aaronik19



Joined: 25 Apr 2011
Posts: 297

View user's profile Send private message

PostPosted: Sun Feb 09, 2020 10:20 am     Reply with quote

Sorry but seems that lsi/csi are still alive. Last month i sent them an email and they replied but to ship in europe it was super expensive the shipping.
aaronik19



Joined: 25 Apr 2011
Posts: 297

View user's profile Send private message

PostPosted: Sun Feb 09, 2020 10:35 am     Reply with quote

This is the application note from Microchip that you mentioned:
http://ww1.microchip.com/downloads/en/devicedoc/51682a.pdf
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Sun Feb 09, 2020 11:23 am     Reply with quote

I found that on this partcular chip, they had not elected to do a Rohs
version. So the version needed for European use, is not in
production. This is why I pointed to that site.
I happened to do a unit about ten years ago that uses this, so
at present we are using ones from 'old stock', and going to replace it
when these run out.
This is why the European distributors don't do it....

The page you point to Jay, lists it as Rohs, which disagrees with what they
said....

Suggestion. Find somebody Stateside. Get them to order the ones you want
and have them post them on. Rohs or not, if there are only a few, nobody
will care.
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Sun Feb 09, 2020 1:28 pm     Reply with quote

I agree with Jays comment about just emulating this in a PIC.
Should be doable in less than an hour or programming. Only difference
would be the exact pinout, since the power pins won't agree.
Something like a PIC16F15324, will draw less power, cost 1/3rd the
price, need no timing capacitors, & give timings within +/-2% for
normal temperature ranges. Has programmable pullups on all
pions so makes the jumpering to change speed easy.
temtronic



Joined: 01 Jul 2010
Posts: 9245
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Feb 09, 2020 8:36 pm     Reply with quote

That Microchip pdf link isn't the one I know about, it's too new !! It was about a'multifunction' timer, using assembler of course. The book was about 1/2" thick.....that's when books were made, yeesh, I feel old.....
I may try to locate the boxes that were in my library tomorrow...
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group