Showing posts with label crystal. Show all posts
Showing posts with label crystal. Show all posts

Tuesday, April 9, 2013

BASIC Stamp Hacking

BS1 ceramic resonator pins
HACK A BASIC STAMP & HOTROD THE SPEED 2X AND 4X FASTER!

Build the Turbonizer Basic Stamp

BASIC STAMP HACKING
Hack a BASIC Stamp, like the BS1 for example, to increase its speed, either doubling the clock or making it four times faster! This is a substantial improvement over the standard Stamp's clock.

POWER TURBO This powerful TURBO mode is created by replacing the 4MHz resonator with 8 OR 16MHZ high speed ceramic resonators or crystals, to double or quadruple the Stamp's speed. It's suggested to move the resonators for various speed functions with jumpers.

HACKING The faster resonator is connected across OSC1 and OSC2 as seen in the schematic. Keep the leads as short as possible.

PROGRAMMING The caveat is programming requires the original 4MHz clock, so the use of jumpers will be needed for the extra crystal(s).

OPERATIONS Keep in mind, timing, such as Baud rates, PAUSE and other time dependent programming statements and operations will be modified. For example, a serial output command may specify 2400 Baud, however, running with 16MHz resonator will create an actual Baud rate of 9,600.

RESONATORS Only one resonator is used at a time. Jumpers could switch three resonators for three speeds, one standard at 4MHz, and two turbo modes at 8MHz and 16MHz.

BLAZING SPEEDS ATTEMPTED
The lab is attempting much higher speed with a variety of ceramics, many of which were offered by Parallax. It's unknown which frequencies will work and not work. A limit is currently being investigated.

PARALLAX RESONATORS AND CRYTALS 
20 MHz Industrial Resonator
20 MHz resonator (DIP)
32.768 kHz Series Crystal
32MHz Resonator 
4 MHz Industrial Resonator (DIP)
5 MHz Crystal
50 MHz Industrial Resonator (DIP)
6.25 MHz Crystal
8 MHz Resonator

Friday, October 5, 2012

Propeller Nano Pulsar

GMM Microscope image of a Nano Pulsar
PROPELLER CHIP NANO PULSAR
NANO Technology is here for the Propeller chip! Take a look at this Nano Pulsar created from Propeller SPIN code that operates inside a single Parallax Propeller chip!

This Nano Pulsar is a mere 10-ns to one side and represents the fastest machine inside the chip, currently known in the Propeller world!

Propeller aficionados may be aware of some techniques provided by Parallax to enable the programming of registers belonging to a configurable state machine. There are 32 different modes that program the most spectacular machines. There are two counter modules per Cog with eight Cogs to a single chip for a total of sixteen powerful state machines. The Brain has taken just one Propeller Counter Module and configured it to a powerful Nanotechnology 10-ns Machine.

{
      ************************************************************************
      ************************************************************************
      ***                                                                  ***
      ***                     Propeller Nano Pulsar 2                      ***
      ***                        Nano Result at Pin                        ***
      ***                        prop_pulsar2.spin                         ***
      ***                                                                  ***
      ***                                                                  ***
      ***                             V01.0                                ***
      ***                           Humanoido                              ***
      ***                                                                  ***
      ***                                                                  ***  

      ************************************************************************
}
CON

                 ' Declare constants, Feedback/PLL multiplier  
   _clkmode = xtal1 + pll16x 
                 ' External oscillator 6.25 MHz Crystal for 100MHz
   _xinfreq = 6_250_000     
                 ' 200MIPs, 25MIPs/Cog PUB Toggle3(Pin)
                 'Use cog's counter module, toggle at clock speed
dira[Pin]~~      'Set I/O pin to output
                 ' mode PLL BPIN APIN
ctra := 100_000 << 23 + 1 << 9 + Pin

                 'Establish mode and APIN (BPIN ignored)
                 'Set FRQA so PHSA[31] toggles every clock
frqa := $8000_0000
repeat           'infinity loop