Anonymous
Not applicable
Oct 28, 2013
07:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 28, 2013
07:06 PM
PSOC3 using PSoC Creator 3.0 Want to use the components Real-Time Clock (RTC) with Character LCD can produce a show date and time of the clock. Read the components of the datasheet, still do not understand how to initialize the RTC this component, although the datasheet which a lot of API, but there is no sample code, whether seniors willing pointing. I do not know where to find sample code for these components? Also PSoC Creator 3.0 is the C language format whether keil C architecture? There is no recommended Chinese books.
Labels
- Labels:
-
PSoC 3
6 Replies
Anonymous
Not applicable
Oct 28, 2013
09:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 28, 2013
09:07 PM
Hi MacLiu
Do you want to use RTC-module in Creator
I have a PSoC3 RTC design but that using external RTC device
Because of reason of power supply at back up.
I haven't use internal RTC, so sorry
Do you want to use RTC-module in Creator
I have a PSoC3 RTC design but that using external RTC device
Because of reason of power supply at back up.
I haven't use internal RTC, so sorry
Anonymous
Not applicable
Oct 29, 2013
12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 29, 2013
12:50 AM
Thank you for your answer. I can understand what you say & built-in RTC power problem Maybe for me this novice Just want to use the more basic functions let me know how to use the API So I would say no sample code Datasheet very difficult for me No way to copy edge learning
Anonymous
Not applicable
Oct 29, 2013
03:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 29, 2013
03:04 AM
Hi
Didn't you see the datasheet?
Right click RTC module and "Open Datasheet"
Is it not enough for you?
Didn't you see the datasheet?
Right click RTC module and "Open Datasheet"
Is it not enough for you?
Anonymous
Not applicable
Oct 29, 2013
03:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 29, 2013
03:58 AM
Thank you for your answer ~ I really right-click on the component, select "Open Datasheet" ex: I do not know how to set the current time to the RTC Should look to use RTC_WriteTime () Just use this API to do before in the end of the initial or declaration which set or completely unaware I may be too familiar relationship between the bar c language I'm learning other languages is to find sample code out while watching the results to modify Slowly to understand the function of each syntax or API "My shouts are using GOOGLE translation help."
Oct 29, 2013
05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 29, 2013
05:30 AM
Search the forum, there was someone else that worked out an RTC example
if my memory serves me correctly.
Regards, Dana.
Oct 29, 2013
07:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 29, 2013
07:46 AM
For setting time, date, alarm use the appropiate APIs. As usual initialize the RTC-component first and then set the clock with a RTC_WriteTime().
Be aware that you need a 32kHz crystal to run the RTC.
Read a bit about "structures" and "pointers" in your favourite C - manual since the parameter for RTC_WriteTime() is indeed a pointer to a structure.
Bob