Internet PLC Forum
General => Technical support => Topic started by: Foxdesign on July 20, 2012, 01:10:45 PM
-
Hi there,
can someone please tell the maximum clock speed that can be generated by the nano 10? I can"t find this information anywhere - I'd like to think that the name refers to 10ns and therefore 100 Mhz!
thanks in advance
-
What output signal do you need to generate? The Nano-10 uses 25MHz crystal PLL to higher frequency but you will not be able to generate clock pulse at this system clock frequency. The highest PWM output clock pulse is about 50KHz.
-
Well i wanted to be able to generate around 1-2 Mhz but think I can work with 50k.
I want to use a series of shift registers to dim Leds individually,using the nano to supply a clock and latch signal, ideally with:
255 levels of dimming
200Hz refresh rate
For 32 leds this would need
255*200*32 = approx 1.6 Mhz
for testing I can use 1 8 bit register at 200Hz with about 30 levels of dimming at 50kHz, so no problem there.
I haven't checked the forums very well but has this been done before, and if so is there code for this floating around? I am really after guidance on a simple iphone interface for this!
-
This will require a micro with built-in SPI programming support. Nano-10 is not suitable for this job as SPI support is not currently included in the programming language.