In V6 Jordy101091 had made a DS3231 component. => http://www.matrixtsl.com/mmforums/viewt ... 58&t=14566
Why not include this in the V7 component library?
Now there is only a DS1307 simulation available in V7.
DS3231 component
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: DS3231 component
Hi MJU,
Did you know that code developed for DS1307 will work on DS3231?
So if got DS1307 you can use the injector for simulation, compile to target and DS3231 will work.
I agree it would be nice to see a RTC component like the superior DS3231.
Especially as they are very cheap and very accurate, since there is temperature compensated crystal.
Reason I stated DS3231 rather then DS1307 is dure to some extra functions.
Martin
Did you know that code developed for DS1307 will work on DS3231?
So if got DS1307 you can use the injector for simulation, compile to target and DS3231 will work.
I agree it would be nice to see a RTC component like the superior DS3231.
Especially as they are very cheap and very accurate, since there is temperature compensated crystal.
Reason I stated DS3231 rather then DS1307 is dure to some extra functions.
Martin
Martin
-
- Posts: 502
- Joined: Wed Nov 07, 2007 6:51 pm
- Location: Antwerp Belgium
- Has thanked: 121 times
- Been thanked: 108 times
- Contact:
Re: DS3231 component
Do you mean that by using the injector, if I compile it to the chip it will work?medelec35 wrote:Hi MJU,
Did you know that code developed for DS1307 will work on DS3231?
So if got DS1307 you can use the injector for simulation, compile to target and DS3231 will work.
I agree it would be nice to see a RTC component like the superior DS3231.
Especially as they are very cheap and very accurate, since there is temperature compensated crystal.
Reason I stated DS3231 rather then DS1307 is dure to some extra functions.
Martin
What's the difference with a real component?
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: DS3231 component
Yes,
What I mean is, if you download a Flowchart created for DS1307 or develop your own using I2C.
If use DS1307 injector for simulation and all is working then the code will work on both DS1307 and DS3231 when sent to target device.
So if you have both DS1307 and DS3231 as a plug in module, either one will work on the same flowchart without any changes.
Hope that is clearer
Martin
What I mean is, if you download a Flowchart created for DS1307 or develop your own using I2C.
If use DS1307 injector for simulation and all is working then the code will work on both DS1307 and DS3231 when sent to target device.
So if you have both DS1307 and DS3231 as a plug in module, either one will work on the same flowchart without any changes.
Hope that is clearer
Martin
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: DS3231 component
I've been meaning to tackle RTC for a while and this is quite a good opportunity. I'll have a go and see if we can get an official new component included in the upcoming release.
I've made a good start with support for the DS1307 and the DS3231 extra alarm registers but I have used the new component creation features in the latest developmental build so can't currently share with the forums until after the update has gone out.
I've made a good start with support for the DS1307 and the DS3231 extra alarm registers but I have used the new component creation features in the latest developmental build so can't currently share with the forums until after the update has gone out.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 502
- Joined: Wed Nov 07, 2007 6:51 pm
- Location: Antwerp Belgium
- Has thanked: 121 times
- Been thanked: 108 times
- Contact:
Re: DS3231 component
New component creation feature?? Tell us more?Benj wrote: I have used the new component creation features in the latest developmental build
I'm really anxious to get my hand on the new RTC component
Thanks for the reply!
-
- Posts: 502
- Joined: Wed Nov 07, 2007 6:51 pm
- Location: Antwerp Belgium
- Has thanked: 121 times
- Been thanked: 108 times
- Contact:
Re: DS3231 component
Thanks a lot Martin!!medelec35 wrote:Yes,
What I mean is, if you download a Flowchart created for DS1307 or develop your own using I2C.
If use DS1307 injector for simulation and all is working then the code will work on both DS1307 and DS3231 when sent to target device.
So if you have both DS1307 and DS3231 as a plug in module, either one will work on the same flowchart without any changes.
Hope that is clearer
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: DS3231 component
Previously when making a component that involved a CAL component then you had to jump through a lot of hoops in terms of creating new properties and then copying the property values back and forth between your component and the CAL component. It was a bit of a nightmare and easy to get wrong.New component creation feature?? Tell us more?
Now with the new features you simply right click the property you wish to expose in your component and select expose, job done.
Same goes for any component macros you want to expose in your component.
The new component is done now and will be in the next build, sorry I can't release it sooner. Hopefully the new build is only a week or two away now.I'm really anxious to get my hand on the new RTC component
I also want to have a crack at internal RTC support, I've started going through FCD files and adding XML headers for chips with internal RTC functionality but that's as far as I've got at the moment.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 315
- Joined: Sun Jun 23, 2013 1:29 pm
- Has thanked: 28 times
- Been thanked: 61 times
- Contact:
Re: DS3231 component
Hi Ben,
Matt
this is great news - I've said this elsewhere on the forum in the past, but I think this feature is long overdue especially as there is a clear need for a RTC as shown with the number of postings requiring help with the DS1307 (and similar) IC's etc.I also want to have a crack at internal RTC support, I've started going through FCD files and adding XML headers for chips with internal RTC functionality but that's as far as I've got at the moment.
Matt