RS232-Isolator 2 Click-Platine
RS232-Isolator 2 Click-Platine
Der RS232 Isolator 2 Click Board™ ist eine kompakte Zusatzplatine mit einem vollständig isolierten Transceiver, der eine sichere und einfache UART-zu-RS-232-Konvertierung ermöglicht. Diese Platine verfügt über den ICL3221, einen 3,3 V-betriebenen RS-232-Sender/Empfänger, der ±15 kV ESD-Schutz auf seinen RS232-Pins von Renesas bietet. Dieses Click Board™ zeichnet sich durch eine garantierte Mindestdatenrate von 250 kbit/s aus. Es verfügt über eine automatische Abschaltfunktion und verwendet digitale Hochgeschwindigkeits-Optokoppler, um die RS-232-Schnittstelle für 3,75 kV Isolierung zu isolieren. Es verfügt außerdem über eine LED-Anzeige, die ein gültiges RS-232-Signal an jedem Empfängereingang anzeigt. Dieses Click Board™ eignet sich zur Isolierung von RS-232-Signalen in tragbaren Geräten, bei denen der niedrige Betriebsstromverbrauch und der noch niedrigere Standby-Stromverbrauch entscheidend sind.
Das RS232 Isolator 2 Click Board™ wird durch eine mikroSDK-kompatible 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 RS232 Isolator 2 Click Board™ Work?
The RS232 Isolator 2 Click Board™ as its foundation uses the ICL3221, a 3.3V powered RS232 transmitter/receiver that provides ±15kV ESD protection on its RS232 pins from Renesas. It features an automatic power-down function that occurs when the RS232 cable is removed and conserves system power automatically, and power-up again when a valid RS232 voltage is applied to any receiver input. It also ensures data rates greater than 250kbps even at worst-case load conditions.
The RS232 Isolator 2 Click Board™ represents an isolated RS232 interface configuration using PS9121, an optically coupled high-speed active-low type isolator from Renesas, containing a GaAlAs LED on the input side, a photodiode, and a signal processing circuit on the output side rated for 3.75kV isolation and up to 15Mbps data rate. The RS232 transceiver ICL3221 is specified with a data rate of 250kbps and operates from a 3.0V to 3.6V external power supply header on the board's right side. In addition to the optocouplers, the TC7SZ125FU logic buffers from Toshiba Semiconductor are used to drive the necessary LED currents that usually cannot be provided by low-power MCUs or RS232 receiver outputs.
The ICL3221 communicates with MCU using the UART interface with the default baud rate of 115200bps for the data transfer. It also comes equipped with the standard DB-9 connector, which makes interfacing with the RS232 simple and easy, and a red diode indicator labelled as INVALID indicates whether a valid RS232 signal is present or not.
This diode always indicates whether a valid RS232 signal is present at any of the receiver inputs, giving the user a way to determine when the interface block should power down. If the interface cable is disconnected from the DB-9 connector and all the receiver inputs are floating, the ICL3221 detects invalid levels turning the LED. Reconnecting the cable restores valid levels at the receiver inputs, the diode turns off, and the power management logic wakes up the interface block.
The RS232 Isolator 2 Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before use with MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Isolators, RS232 |
Applications | Can be used for the isolation of RS-232 signals portable equipment, and where the low operational power consumption and even lower standby power consumption are critical. |
On-board modules | ICL3221 - RS-232 transmitter/receiver that provides ±15kV ESD protection on its RS-232 pins from Renesas PS9121 - optically coupled high-speed active low type isolator from Renesas |
Key Features | Low power consumption, automatic power-down, assured minimum data rate of 250kbps, an isolated RS-232 interface using Renesas digital high-speed optocouplers, and more. |
Interface | UART |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the RS232 Isolator 2 Click Board™ 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 | ||
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | RX | 14 | TX | UART TX | |
NC | 4 | SCK | TX | 13 | RX | UART RX | |
NC | 5 | MISO | SCL | 12 | NC | ||
NC | 6 | MOSI | SDA | 11 | NC | ||
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | INVALID | - | Invalid RS232 Level LED Indicator |
J1 | VISO | Populated | External Power Supply Header |
RS232 ISOLATOR 2 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
External Supply Voltage VISO | 3 | 3.3 | 3.6 | V |
Isolation Voltage Range | - | - | 3.75 | kV |
Data Rate | - | - | 15 | Mbps |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the RS232 Isolator 2 Click Board™ and 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 the mikroE Github account.
Library Description
This library contains API for the RS232 Isolator 2 Click Board™ driver.
Key Functions
rs232isolator2_cfg_setup
- Config Object Initialization function.rs232isolator2_init
- Initialization function.rs232isolator2_default_cfg
- Click the Default Configuration function.
Example Description
This library contains API for the RS232 Isolator 2 Click Board™ driver. This example transmits/receives and processes data from the RS232 Isolator 2 Click Board™. The library initialises and defines the UART bus drivers to send or receive data.
void application_task ( void ) { #ifdef TRANSIVER rs232isolator2_send_data( &rs232isolator2, demo_message ); log_printf( &logger, "%s", demo_message ); Delay_ms( 2000 ); log_printf( &logger, "------------------rn" ); #endif #ifdef RECIEVER rs232isolator2_process( ); if ( app_buf_len > 0 ) { log_printf( &logger, "%s", app_buf ); rs232isolator2_clear_app_buf( ); } #endif }
The complete 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 the mikroE Github account.
Other mikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Rs232Isolator2
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ to connect to your PC for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The RS232 Isolator 2 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
We provide a library for the RS232 Isolator 2 Click Board™ and 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 the mikroE Github account.
Library Description
This library contains API for the RS232 Isolator 2 Click Board™ driver.
Key Functions
rs232isolator2_cfg_setup
- Config Object Initialization function.rs232isolator2_init
- Initialization function.rs232isolator2_default_cfg
- Click the Default Configuration function.
Example Description
This library contains API for the RS232 Isolator 2 Click Board™ driver. This example transmits/receives and processes data from the RS232 Isolator 2 Click Board™. The library initialises and defines the UART bus drivers to send or receive data.
void application_task ( void ) { #ifdef TRANSIVER rs232isolator2_send_data( &rs232isolator2, demo_message ); log_printf( &logger, "%s", demo_message ); Delay_ms( 2000 ); log_printf( &logger, "------------------rn" ); #endif #ifdef RECIEVER rs232isolator2_process( ); if ( app_buf_len > 0 ) { log_printf( &logger, "%s", app_buf ); rs232isolator2_clear_app_buf( ); } #endif }
The complete 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 the mikroE Github account.
Other mikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Rs232Isolator2
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ to connect to your PC for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The RS232 Isolator 2 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.
RS232-Isolator 2 Click-Platine
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.