Page 1 of 1
ECIO crystal frequency
Posted: Tue Jul 27, 2010 5:00 pm
by kirstom14
Sorry if this sounds stupid. But I am using the ECIO-40P, and for my application the crystal is too fast.
What can I do to decrease the crystal frequency to about 16MHz?? I need to use USB communication also.
When reducing the frequency can I still use the USB (D+, D-)?
Thanks
Re: ECIO crystal frequency
Posted: Wed Jul 28, 2010 8:38 am
by Benj
Hello,
Sorry you cannot use the USB if you lower the frequency as it needs a 48MHz clock to allow it to run at the USB speed of 12MIPs. Why do you need the chip to run slower? maybe there is a good alternative.
Re: ECIO crystal frequency
Posted: Wed Jul 28, 2010 11:29 am
by kirstom14
Hi,
I need to have a PWM frequency which is less than 200Hz, which I cannot achieve.
If I build the circuit myself, and dumping a boot-loader in the PIC will I still be able to program it
like I program the ECIO, using the "Compile to Chip" button? As if this is possible it would solve my problem.
Thanks
Re: ECIO crystal frequency
Posted: Wed Jul 28, 2010 4:34 pm
by Benj
Hello,
There is an example available here that shows how to create a timer controlled PWM output. This could be at pretty much any frequency that you require.
http://www.matrixmultimedia.com/mmforum ... =26&t=6732