Support and General Use > Hardware

iriver h1x0 - RTC (real time clock) mod

<< < (3/30) > >>

bluebrother:
wouldn't it be nice to have Rockbox autodetect this? That way it could get in the standard builds ... on h100 I believe there is no problem with code size, so adding a few bytes shouldn't hurt anyone.

roolku:

--- Quote from: jdgordon on December 10, 2006, 07:32:47 PM ---Congrats, that hack looks awesome.
Now you need to nag the swedes to have it commited and put on the cvs build page (the 8mb ram hack for the archos models is there so you have a chance :)

--- End quote ---

Yes, it would be good to have it in cvs, so I don't need to worry about the patch getting out of sync. I believe Linus is doing the mod (albeit with a different clock chip) so it is looking promising. :)


--- Quote from: bluebrother on December 11, 2006, 03:09:53 AM ---wouldn't it be nice to have Rockbox autodetect this? That way it could get in the standard builds ... on h100 I believe there is no problem with code size, so adding a few bytes shouldn't hurt anyone.

--- End quote ---

Yes, it could be done like with the radio chip detection, but there are a few issues, e.g.
 
- while one could detect the presence of the chip, the alarm mod can not be detected
- people might want to use different rtc chips requiring different drivers?
- some other compile-time options depend on RTC_CONFIG (i.e. filename generation for recording) which would need to be changed to run-time detection as well

If only a few people are using it I don't think it is worth the effort. Let's see how many people will do the mod.

IpaqMan:
I just received a couple of the RTC chips and hope to do the mod later this week.  I plan to skip the alarm function.  I would like to see more information about the battery voltage issue with VCC on the chip.

BTW, this chip is very small.  This is the first surface mount chip project for me.  Fortunately, I have a very small soldering iron.  I will need to scavenge for some very small gauge wires.

roolku:

--- Quote from: IpaqMan on December 13, 2006, 01:56:40 PM ---I just received a couple of the RTC chips and hope to do the mod later this week.

--- End quote ---

Great. You must be in the US - it took nearly a month to arrive in the UK.


--- Quote --- I plan to skip the alarm function.

--- End quote ---

Fair enough if you don't need it. I just had to try it. :)


--- Quote ---I would like to see more information about the battery voltage issue with VCC on the chip.

--- End quote ---

No problems with VCC - it's rated at 2.97 to 5.5V. However for some reason Vbackup max is: 3.7V and a fully charged battery will be just above 4V (say 4.1V). To be on the safe side you could use a resistor in series between the battery and the Vbackup, maybe

(4.1-3.7)V /400nA = 1MOhm or so.

But personally I don't think this is a problem. I have done my h140 and my h120 and both work perfectly.


--- Quote ---BTW, this chip is very small.  This is the first surface mount chip project for me.  

--- End quote ---

It was my first SMD IC as well. It is easier than it looks. Just make sure you cover the wire tip nicely with solder, fix the position of the wire precisely above the pin and give it a dip with the iron to make the bonding.

Good luck.

IpaqMan:
Thanks for the soldering tips and yes, I am in the USA.

I was wondering what value resistor would work.  I figured a small silicon diode in series would give me a 0.6 volt drop from the max of 4.3 for the battery.

For me, the RTC was the last missing feature.  Date-time stamped recordings are important.  

**EDIT**

I just read in the data sheet that a diode in series with the VCC backup should NOT be used or improper operation will result.    The data sheet also stated that the supply voltage MUST be held between 1.3 and 3.7 volts, so I will choose either the resistor or a small lithium button cell.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version