Hi
Have anyone made a FLOWCODE program to a DC1302 that works.
We have some problems making it work. If anyone have made a
FLOWCODE program we would like to see a copy, and the same to
the circuit. The DS1302 to not have separated SPI, and SDO, so
we have to make some special HW to make this work.
We also need help set up the parameters on the SPI mode in
FLOWCODE when we are using the DS1302.
But until now we have not had luck to get in contact with the DS1302.
It will be a great help, if anyone would help us.
Thank You in advance.
Best regards Jorgen
RTC DS1302 - PIC16F877A SPI MODE.
- 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: RTC DS1302 - PIC16F877A SPI MODE.
Hello Jorgen
Firstly make sure your connections are ok. SDI goes to SDO, SDO goes to SDI, SCK goes to SCK and a digital I/O pin is being used for the CS.
Next make sure that your SPI component properties are ok eg correct frequency, clock polarity, sample timing etc to match the device datasheet.
Finally make sure that you are controlling the CS line correctly in your code. eg setting and clearing the CS I/O pin when appropriate.
Firstly make sure your connections are ok. SDI goes to SDO, SDO goes to SDI, SCK goes to SCK and a digital I/O pin is being used for the CS.
Next make sure that your SPI component properties are ok eg correct frequency, clock polarity, sample timing etc to match the device datasheet.
Finally make sure that you are controlling the CS line correctly in your code. eg setting and clearing the CS I/O pin when appropriate.
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
- sysprofessional
- Posts: 54
- Joined: Sat Oct 26, 2013 7:16 pm
- Has thanked: 28 times
- Been thanked: 4 times
- Contact:
RTC DS1302 - PIC16F887 I2C MODE.
Hi
Have anyone made a FLOWCODE program for DS1302 using I2C
i have some problems making it work.
i have already done it with DS1307,but got some problems with ds1302
Plz just guide me if there is any old post on forum about Ds1302 -using I2C or SPI,
It will be a great help, if anyone would help us.
Thank You in advance.
Best regards syspro
Have anyone made a FLOWCODE program for DS1302 using I2C
i have some problems making it work.
i have already done it with DS1307,but got some problems with ds1302
Plz just guide me if there is any old post on forum about Ds1302 -using I2C or SPI,
It will be a great help, if anyone would help us.
Thank You in advance.
Best regards syspro
Re: RTC DS1302 - PIC16F877A SPI MODE.
Hi
can you sign up to the v5 forum(link in my sig). and ask your question in there
Regards
Dazz
can you sign up to the v5 forum(link in my sig). and ask your question in there
Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php
- sysprofessional
- Posts: 54
- Joined: Sat Oct 26, 2013 7:16 pm
- Has thanked: 28 times
- Been thanked: 4 times
- Contact:
Re: RTC DS1302 - PIC16F887 I2C MODE.
Hi
Dear Benj,,
Correct me Plz,
there is no old post about DS1302 on Forum,I am working on ds1302 using 3 wire SPI protocol,
but no success plz check my files attached below,proteus file also attached in this compressed rar attachment,
It will be a great help,
Thank You in advance.
Best regards Tahir
Dear Benj,,

Correct me Plz,
there is no old post about DS1302 on Forum,I am working on ds1302 using 3 wire SPI protocol,
but no success plz check my files attached below,proteus file also attached in this compressed rar attachment,
It will be a great help,
Thank You in advance.
Best regards Tahir
Re: RTC DS1302 - PIC16F877A SPI MODE.
Hi
can you sign up to the v5 forum(link in my sig). and ask your question in there, this is the second time of asking, the reason of asking is vc's and matrix staff have limited time to help answer questions , so help us to help you by posting in the correct forum, where your post will be read by more people who may be able to help
Kindest Regards
Dazz
can you sign up to the v5 forum(link in my sig). and ask your question in there, this is the second time of asking, the reason of asking is vc's and matrix staff have limited time to help answer questions , so help us to help you by posting in the correct forum, where your post will be read by more people who may be able to help
Kindest Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php