A little technique

Discussions related to MegaDrum Hardware

A little technique

Postby Synthex » Wed Oct 31, 2007 1:35 pm

I would like to know the sampling rate of every input.
Is it different enter 12MHz version and 16MHz version ?

Thanks.
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: A little technique

Postby dmitri » Wed Oct 31, 2007 2:07 pm

The sampling rate is the same for every input but can be changed to prefer some input over others.
The sampling rate depends on crystal frequency . The higher crystal frequency the higher sampling rate. I can provide overclocked to 20MHz firmware versions for Atmega8 and Artmega32. I'm expecting Atmega324 and Atmega644 to arrive and I'll post 20MHz non-overclocked firmware versions for them.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: A little technique

Postby dmitri » Wed Oct 31, 2007 3:00 pm

dmitri wrote:The sampling rate is the same for every input but can be changed to prefer some input over others.

Well, this is not entirely true. In particular cases a particular input gets a higher sampling preference. I won't go into details here:)
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: A little technique

Postby Synthex » Wed Oct 31, 2007 3:11 pm

Can you say me the sampling frequency, for one channel, for the 16MHz version ?

Can you tell me the programming language you use (ASM, C, ...) ?
Would it be mobile on PIC (18F4550, DSPIC, ...) ?

I am curious ;)
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: A little technique

Postby dmitri » Wed Oct 31, 2007 3:50 pm

Synthex wrote:Can you say me the sampling frequency, for one channel, for the 16MHz version ?

Can you tell me the programming language you use (ASM, C, ...) ?
Would it be mobile on PIC (18F4550, DSPIC, ...) ?

I am curious ;)

Sorry, Synthex, I won't go into details here:) All I can say is that I use AVR-GCC with some ASM and I don't think it could be ported to PIC at present since PIC doesn't have enough power. I didn't look in depth at dsPIC so I cannot comment on this for now. I also looked at MSP430 and various ARM chips and I think for this particular DIY project I chose the best available microcontroller at the time.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: A little technique

Postby Synthex » Wed Oct 31, 2007 11:11 pm

Could you provide overclocked to 20MHz firmware versions for Atmega32 ?
Thanks.
Synthex
 
Posts: 1471
Joined: Fri Oct 12, 2007 6:06 am
Location: France

Re: A little technique

Postby dmitri » Wed Oct 31, 2007 11:17 pm

Here it is
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: A little technique

Postby Aaron » Thu Nov 01, 2007 5:01 am

i've been advised that overclocking the micro can make it un-reliable and cause problems writing to the eeprom.
Last edited by Aaron on Thu Nov 01, 2007 10:14 am, edited 1 time in total.
Aaron
 
Posts: 34
Joined: Tue Oct 30, 2007 1:48 am
Location: Melbourne, Australia

Re: A little technique

Postby dmitri » Thu Nov 01, 2007 9:55 am

As with overclocking a computer cpu, your mileage may vary with overclocking a microcontroller. It's not like a commercial product where you must not exceed manufactures ratings:)
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm


Return to MegaDrum Hardware

Who is online

Users browsing this forum: No registered users and 137 guests