Thanks for the info, but I'd rather get the originally posted scheme to work, so the questions still remain :) Best regards, Jan 2007/4/2, pic@harry-arends.nl : > > Then look at > http://www.merg.info/resources/dcc.htm#Filesfordownloading > > > -----Oorspronkelijk bericht----- > > Van: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] > > Namens Jan van Dijk > > Verzonden: maandag 2 april 2007 12:32 > > Aan: Microcontroller discussion list - Public. > > Onderwerp: Re: [PIC] Converting 16F84 DCC decoder to 16F628 > > (or 16F648) > > > > Hello Harry, > > > > Thanks for your fast reply. A lot of DCC decoders are > > available at the web, and I choose the one I mentioned > > because of the simplicity of the design. > > If the current design doesn't work out, I might check out > > that merg club... > > although I generally prefer free available schemes above > > restricted schemes... > > > > Best regards, > > > > Jan > > > > > > 2007/4/2, pic@harry-arends.nl : > > > > > > Hi Jan, > > > > > > Have a look at http://www.merg.info/kits.htm . They have > > more uptodate > > > information on building your own DCC decoder. Even kits are > > available > > > and ASM files as well using the 16F628. > > > > > > Regards > > > > > > Harry (MERG member) > > > > > > > -----Oorspronkelijk bericht----- > > > > Van: piclist-bounces@mit.edu > > [mailto:piclist-bounces@mit.edu] Namens > > > > Jan van Dijk > > > > Verzonden: maandag 2 april 2007 11:37 > > > > Aan: piclist@mit.edu > > > > Onderwerp: [PIC] Converting 16F84 DCC decoder to 16F628 > > (or 16F648) > > > > > > > > Hello all, > > > > > > > > I'm currently in the process of constructing a dcc decoder for > > > > controlling a LGB train. I've found the scheme for a dcc > > decoder at > > > > http://technology.niagarac.on.ca/staff/mcsele/dcc.htm It's based > > > > upon a > > > > 16F84 and the assembly code is also available: > > > > http://technology.niagarac.on.ca/staff/mcsele/decoder.asm > > > > Since the 16F84 is 'obsolete' I was planning on using an > > > > 16F628 for the decoder... Would it work if I just re-compiled the > > > > given assembly source to the 16F628 chip? Any special things I > > > > should look in to when converting the program? > > > > > > > > Also, the original scheme is based on a 8MHz crystal. I'm > > planning > > > > on using a 20 MHz one... if I changed the rtcc divider from 32 to > > > > 80, would that do the trick? > > > > > > > > Of course, the best way to find out, it to actually build > > / programm > > > > the chip, but I don't have all the parts yet, and thought I would > > > > inquire so I might save me some troubles :) > > > > > > > > Best regards and thanks in advance, > > > > > > > > Jan > > > > -- > > > > http://www.piclist.com PIC/SX FAQ & list archive View/change your > > > > membership options at > > > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > > > > > > > > > > > > > > > > > -- > > > http://www.piclist.com PIC/SX FAQ & list archive View/change your > > > membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > -- > > http://www.piclist.com PIC/SX FAQ & list archive View/change > > your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist