Uhr Gen 6 Click Board
Uhr Gen 6 Click Board
Key Features
- Niedriger Stromverbrauch, hohe Präzision, astabiler Oszillatorbetrieb, programmierbarer Ausgang, Aktivierungs-/Reset-Funktion und mehr
- Basierend auf dem MIC1557 – RC-Oszillator von Microchip Technology
- Kann für Anwendungen wie Impulserzeugung, Präzisionszeitgeber, Zeitverzögerungserzeugung und mehr verwendet werden
- mikroBUS: SPI- und GPIO-Schnittstellen
Das Clock Gen 6 Click Board™ ist eine kompakte Zusatzplatine, die eine digitale Oszillatorlösung darstellt. Diese Platine verfügt über den MIC1557, einen IttyBitty CMOS RC-Oszillator, der Rail-to-Rail-Impulse für eine präzise Zeitverzögerung oder Frequenzerzeugung von Microchip Technology liefert. Der MIC1557 verfügt über einen einzelnen Schwellenwert- und Triggeranschluss, der intern verbunden ist, nur für einen astabilen (Oszillator-)Betrieb. Es verfügt außerdem über ein Aktivierungs-/Reset-Steuersignal, das an den RST-Pin der mikroBUS™-Buchse geleitet wird, der die Vorspannungsversorgung der internen Schaltung des Oszillators steuert und den Stromverbrauch für das Ein- und Ausschalten des Oszillators optimiert. Darüber hinaus bietet es die Möglichkeit, die gewünschte Frequenz auszuwählen, die über ein digitales Potentiometer, den MAX5401, programmiert wird. Dieses Click Board™ ist für die Impulserzeugung, Präzisionszeitgeber, Zeitverzögerungserzeugung und ähnliche Anwendungen geeignet.
Das Clock Gen 6 Click Board™ wird von einer mikroSDK-kompatiblen Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dieses Click Board™ wird als vollständig getestetes Produkt geliefert und ist bereit für den Einsatz auf einem System, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does The Clock Gen 6 Click Board™ Work?
The Clock Gen 6 Click Board™ as its foundation uses the MIC1557, a low-power digital frequency solution providing the logic for creating a simple RC oscillator circuit from Microchip Technology. The MIC1557 offers rail-to-rail pulses for precise frequency generation alongside a single threshold and trigger connection, internally connected, for astable (oscillator) operation only with programmable output frequency and enable/reset control signal intended as an oscillator with a Shutdown capability.
As mentioned before, the astable oscillator switches between two states, ON and OFF, producing a continuous square wave. The MIC1557 is optimized for this function by tying the two comparator inputs together, the threshold and trigger pins (THR and TRG), forming a T/T pin. The external capacitor charges slowly through the external resistor presented in the form of a digital potentiometer by which the user can pass through the frequency range and thus adjust the desired output.
By replacing the resistor with a digital potentiometer, the user can easily program frequency output as performed on this Click board™. For this purpose, the digital potentiometer MAX5401, which communicates with the MCU via 3-Wire SPI serial interface, is used to set the resistance on the MIC1557 OUT line, adjusting the frequency up to 5MHz.
Alongside SPI communication, this Click board™ also uses one additional pin. The Enable pin, labelled as EN and routed to the RST pin of the mikroBUS™ socket, optimizes power consumption and is used for power ON/OFF purposes (controls the bias supply to the oscillator's internal circuitry). When the MIC1557 is deselected, the supply current is less than 1μA, and the device is placed in a Shutdown state. Forcing the EN pin low resets the device by setting the flip flop, causing the output to a low logic state.
ThClock Gen 6 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Clock generator |
Applications | Can be used for applications such as pulse generation, precision timer, time-delay generation, and more |
On-board modules | MIC1557 - RC oscillator from Microchip Technology |
Key Features | Low power consumption, high precision, astable oscillator operation, programmable output, enable/reset feature, and more |
Interface | GPIO,SPI |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout on Clock Gen 6 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
Enable | EN | 2 | RST | INT | 15 | NC | |
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
CLOCK GEN 6 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Frequency Range | - | - | 5 | MHz |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
Software Support
We provide a library for the Clock Gen 6 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Clock Gen 6 Click Board™ driver.
Key functions
-
clockgen6_set_digipot
This function sets the digital potentiometer position by using SPI serial interface. -
clockgen6_enable_output
This function enables the output by setting the EN pin to high logic state. -
clockgen6_disable_output
This function disables the output by setting the EN pin to low logic state.
Example Description
This example demonstrates the use of the Clock Gen 6 Click Board™ which acts as an astable oscillator.
void application_task ( void )
{
for ( int16_t pos = CLOCKGEN6_DIGIPOT_POSITION_MAX; pos >= CLOCKGEN6_DIGIPOT_POSITION_MIN; )
{
if ( CLOCKGEN6_OK == clockgen6_set_digipot ( &clockgen6, pos ) )
{
log_printf( &logger, " DIGIPOT position: %urn", pos );
Delay_ms ( 1000 );
pos -= 5;
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.ClockGen6
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The Clock Gen 6 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
Software Support
We provide a library for the Clock Gen 6 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Clock Gen 6 Click Board™ driver.
Key functions
-
clockgen6_set_digipot
This function sets the digital potentiometer position by using SPI serial interface. -
clockgen6_enable_output
This function enables the output by setting the EN pin to high logic state. -
clockgen6_disable_output
This function disables the output by setting the EN pin to low logic state.
Example Description
This example demonstrates the use of the Clock Gen 6 Click Board™ which acts as an astable oscillator.
void application_task ( void )
{
for ( int16_t pos = CLOCKGEN6_DIGIPOT_POSITION_MAX; pos >= CLOCKGEN6_DIGIPOT_POSITION_MIN; )
{
if ( CLOCKGEN6_OK == clockgen6_set_digipot ( &clockgen6, pos ) )
{
log_printf( &logger, " DIGIPOT position: %urn", pos );
Delay_ms ( 1000 );
pos -= 5;
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.ClockGen6
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The Clock Gen 6 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Uhr Gen 6 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.