# Title: UART MUX 2 Click Board™ ## Description: How Does The UART MUX 2 Click Board™ Work? The UART MUX 2 Click Board™ as its foundation uses the MAX399, a precise CMOS analogue multiplexer that enables pseudo-multidrop RS232 transmission from Maxim Integrated. This multiplexer allows multiple channels, in this case, four, to share a single UART interface. It offers fast switching speeds with a transition time of less than 250ns and low on-resistance of less than 100Ω while retains CMOS-logic input compatibility and fast switching. The dual four-to-one multiplexer permits transceiver MAX3221 to form a network with the four remote transceivers connected to terminals labelled as UART0-UART3 located in the upper part of the Click board™. The circuit's supply-voltage range (3V to 5.5V) makes it compatible with 3V and 5V logic. MAX399 receives its power directly from the power terminals of MAX3221, whose ±5.5V outputs come from an internal charge pump. The multiplexer handles rail-to-rail signals, so obtaining its power from MAX3221 ensures that RS232 signals pass directly through, regardless of amplitude. The UART MUX 2 Click Board™ communicates with MCU through MAX3221 using the UART interface for the data transfer. The MAX3221 can run at data rates up to 250 kbps while maintaining RS232-compliant output levels. Channel selection is performed through a set of specific GPIO pins, labeled as A0 and A1 routed on the CS and RST pins of the mikroBUS™ socket. Selecting its channel 1, for instance, enables MAX3221 to communicate with UART0 without being loaded by UART1 to UART3. Pulldown resistors inside the remote transceivers force the outputs of un-selected receivers to a known state. In addition to a channel selection, this Click board™ also has an automatic power-down feature that can be disabled when ON and OFF pins are high, routed on the PWM and AN pins of the mikroBUS™ socket. Also, it uses the interrupt pin of the mikroBUS™ labelled as INV as an invalid indicator which makes interfacing with the RS232 simple and easy, indicating whether a valid RS232 signal is present not. The UART MUX 2 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 properly use the UART communication lines. 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 RS232 Applications Can be used for a wide range of applications, from industrial and instrumentation to a consumer, communications, data-acquisition systems, and many more. On-board modules MAX399 - precise CMOS analogue multiplexer that enables pseudo-multidrop RS232 transmission from Maxim Integrated MAX3221 - RS232 line driver and receiver from Texas Instruments Key Features Low power consumption, high precision, rail-to-rail signal handling, operates up to 250 kbps, power-down feature, valid RS232 signal indicator, and more. Interface UART Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout of the UART MUX 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Force OFF OFF 1 AN PWM 16 ON Force ON UART Channel Selection Pin 1 A1 2 RST INT 15 INV Valid RS232 Signal Indicator UART Channel Selector Pin 0 A0 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 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 UART MUX 2 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage 3.3 +30 V Data Rate 150 250 - kbps Operating Temperature Range 0 +25 +70 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Analog Devices, Click Board, Interface, Maxim Integrated, MikroE, RS-232C, Serial Interface ## Price range: 30.1 - 30.1 GBP ## Link: https://thedebugstore.com/products/mikroe-4494-uart-mux-2-click-board-uk ## Compare-at price range: 43.0 - 43.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Analog Devices Development Boards and Support Tools | Debug Store](https://thedebugstore.com/a/llms/collections/analog-devices-device-support-uk) - [Maxim Integrated Device Support - Development Boards & Tools | Debug Store](https://thedebugstore.com/a/llms/collections/devices-maxim-integrated) - [Serial Interface Click Boards™](https://thedebugstore.com/a/llms/collections/serial-interface-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Interface Click Boards™](https://thedebugstore.com/a/llms/collections/interface-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4494, Available: yes, Inventory: 1 ## Metafields - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: UART MUX 2 Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_fr_currency: EUR - amazon_es_currency: EUR - amazon_nl_currency: EUR - amazon_it_currency: EUR - amazon_se_curency: SEK - amazon_product_id_type: EAN - amazon_update: Update - title_tag: MikroE UART MUX 2 Click Board™ (MIKROE-4494) - backorder_label: If no stock shown above, check availability - mpn: MIKROE-4494 - description_tag: The UART MUX 2 Click Board™ is a compact add-on board that enables pseudo-multidrop RS232 transmission. This board features the MAX399, a precise CMOS analogue multiplexer that allows four remote RS-232 transceivers to share a single UART from Maxim Integrated. - full_description:

How Does The UART MUX 2 Click Board™ Work?

The UART MUX 2 Click Board™ as its foundation uses the MAX399, a precise CMOS analogue multiplexer that enables pseudo-multidrop RS232 transmission from Maxim Integrated. This multiplexer allows multiple channels, in this case, four, to share a single UART interface. It offers fast switching speeds with a transition time of less than 250ns and low on-resistance of less than 100Ω while retains CMOS-logic input compatibility and fast switching.

UART MUX 2 Click Board™

The dual four-to-one multiplexer permits transceiver MAX3221 to form a network with the four remote transceivers connected to terminals labelled as UART0-UART3 located in the upper part of the Click board™. The circuit's supply-voltage range (3V to 5.5V) makes it compatible with 3V and 5V logic. MAX399 receives its power directly from the power terminals of MAX3221, whose ±5.5V outputs come from an internal charge pump. The multiplexer handles rail-to-rail signals, so obtaining its power from MAX3221 ensures that RS232 signals pass directly through, regardless of amplitude.

The UART MUX 2 Click Board™ communicates with MCU through MAX3221 using the UART interface for the data transfer. The MAX3221 can run at data rates up to 250 kbps while maintaining RS232-compliant output levels. Channel selection is performed through a set of specific GPIO pins, labeled as A0 and A1 routed on the CS and RST pins of the mikroBUS™ socket. Selecting its channel 1, for instance, enables MAX3221 to communicate with UART0 without being loaded by UART1 to UART3. Pulldown resistors inside the remote transceivers force the outputs of un-selected receivers to a known state.

In addition to a channel selection, this Click board™ also has an automatic power-down feature that can be disabled when ON and OFF pins are high, routed on the PWM and AN pins of the mikroBUS™ socket. Also, it uses the interrupt pin of the mikroBUS™ labelled as INV as an invalid indicator which makes interfacing with the RS232 simple and easy, indicating whether a valid RS232 signal is present not.

The UART MUX 2 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 properly use the UART communication lines. 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 RS232
Applications Can be used for a wide range of applications, from industrial and instrumentation to a consumer, communications, data-acquisition systems, and many more.
On-board modules MAX399 - precise CMOS analogue multiplexer that enables pseudo-multidrop RS232 transmission from Maxim Integrated MAX3221 - RS232 line driver and receiver from Texas Instruments
Key Features Low power consumption, high precision, rail-to-rail signal handling, operates up to 250 kbps, power-down feature, valid RS232 signal indicator, and more.
Interface UART
Compatibility mikroBUS
Click board size M (42.9 x 25.4 mm)
Input Voltage 3.3V or 5V

PINOUT DIAGRAM

This table shows how the pinout of the UART MUX 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
Force OFF OFF 1 AN PWM 16 ON Force ON
UART Channel
Selection Pin 1
A1 2 RST INT 15 INV Valid RS232 Signal Indicator
UART Channel
Selector Pin 0
A0 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 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

UART MUX 2 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Supply Voltage 3.3 +30 V
Data Rate 150 250 - kbps
Operating Temperature Range 0 +25 +70 °C

 

- google_product_category: 2082 - examples:

We provide a library for the UART MUX 2 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 Package Manager(recommended way), downloaded from our LibStock™ or found on the mikroE Github account.

Library Description

This library contains API for the UART MUX 2 Click Board™ driver.

Key Functions

Example Description

This library contains an API for the UART MUX 2 Click Board™ driver. This example transmits/receives and processes data from UART MUX 2 clicks. The library initializes and defines the UART bus drivers to transmit or receive data.

The demo application is composed of two sections :

void application_task ( void ) {
 #ifdef TRANSIVER
 for ( uart_ch = UARTMUX2_CHANNEL_0; uart_ch <= UARTMUX2_CHANNEL_3; uart_ch++ ) {
 uartmux2_set_channel( &uartmux2, uart_ch );
 Delay_ms( 100 );
 uartmux2_send_data( &uartmux2, demo_message );
 log_printf( &logger, " UART%u : ", ( uint16_t ) uart_ch );
 for ( uint8_t cnt = 0; cnt < 9; cnt ++ ) {
 log_printf( &logger, "%c", demo_message[ cnt ] );
 Delay_ms( 100 );
 }
 Delay_ms( 2000 );
 }
 log_printf( &logger, "------------------rn" );
 Delay_ms( 100 );
 #endif
 #ifdef RECIEVER
 uartmux2_process( );
 if ( app_buf_len > 0 ) {
   log_printf( &logger, "%s", app_buf );
   uartmux2_clear_app_buf( );
 }
 #endif
}

The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on mikroE Github account.

Other mikroE Libraries used in the example:

Additional Notes and Information

Depending on the development board you are using, you may need a USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

MIKROSDK

The UART MUX 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.

- attachments: [{"download_file":[{"download_file":"UART MUX 2 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Texas Instruments MAX3221 RS-232 Line Driver/Receiver Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Maxim MAX399 Analogue Multiplexer Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4494 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Maxim Integrated - device_type: MAX3221CAE+T, MAX399EEE+ - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- target_keyword: UART MUX 2 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241546100925"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The UART MUX 2 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"UART MUX 2 Click Board™","bold":true},{"type":"text","value":" as its foundation uses the MAX399, a precise CMOS analogue multiplexer that enables pseudo-multidrop RS232 transmission from Maxim Integrated. This multiplexer allows multiple channels, in this case, four, to share a single UART interface. It offers fast switching speeds with a transition time of less than 250ns and low on-resistance of less than 100Ω while retains CMOS-logic input compatibility and fast switching."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The dual four-to-one multiplexer permits transceiver MAX3221 to form a network with the four remote transceivers connected to terminals labelled as UART0-UART3 located in the upper part of the Click board™. The circuit's supply-voltage range (3V to 5.5V) makes it compatible with 3V and 5V logic. MAX399 receives its power directly from the power terminals of MAX3221, whose ±5.5V outputs come from an internal charge pump. The multiplexer handles rail-to-rail signals, so obtaining its power from MAX3221 ensures that RS232 signals pass directly through, regardless of amplitude."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"UART MUX 2 Click Board™","bold":true},{"type":"text","value":" communicates with MCU through MAX3221 using the UART interface for the data transfer. The MAX3221 can run at data rates up to 250 kbps while maintaining RS232-compliant output levels. Channel selection is performed through a set of specific GPIO pins, labeled as A0 and A1 routed on the CS and RST pins of the mikroBUS™ socket. Selecting its channel 1, for instance, enables MAX3221 to communicate with UART0 without being loaded by UART1 to UART3. Pulldown resistors inside the remote transceivers force the outputs of un-selected receivers to a known state."}]},{"type":"paragraph","children":[{"type":"text","value":"In addition to a channel selection, this Click board™ also has an automatic power-down feature that can be disabled when ON and OFF pins are high, routed on the PWM and AN pins of the mikroBUS™ socket. Also, it uses the interrupt pin of the mikroBUS™ labelled as INV as an invalid indicator which makes interfacing with the RS232 simple and easy, indicating whether a valid RS232 signal is present not."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"UART MUX 2 Click Board™","bold":true},{"type":"text","value":" 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 properly use the UART communication lines. 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."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nRS232\nApplications\nCan be used for a wide range of applications, from industrial and instrumentation to a consumer, communications, data-acquisition systems, and many more.\nOn-board modules\nMAX399 - precise CMOS analogue multiplexer that enables pseudo-multidrop RS232 transmission from Maxim Integrated MAX3221 - RS232 line driver and receiver from Texas Instruments\nKey Features\nLow power consumption, high precision, rail-to-rail signal handling, operates up to 250 kbps, power-down feature, valid RS232 signal indicator, and more.\nInterface\nUART\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the "},{"type":"text","value":"UART MUX 2 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nForce OFF\nOFF\n1\nAN\nPWM\n16\nON\nForce ON\nUART Channel\n Selection Pin 1\nA1\n2\nRST\nINT\n15\nINV\nValid RS232 Signal Indicator\nUART Channel\n Selector Pin 0\nA0\n3\nCS\nRX\n14\nTX\nUART TX\nNC\n4\nSCK\nTX\n13\nRX\nUART RX\nNC\n5\nMISO\nSCL\n12\nNC\nNC\n6\nMOSI\nSDA\n11\nNC\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nVCC SEL\nLeft\nLogic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"UART MUX 2 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n3.3\n+30\nV\nData Rate\n150\n250\n-\nkbps\nOperating Temperature Range\n0\n+25\n+70\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The UART MUX 2 Click Board™ is a compact add-on board that enables pseudo-multidrop RS232 transmission. This board features the MAX399, a precise CMOS analogue multiplexer that allows four remote RS-232 transceivers to share a single UART from Maxim Integrated. It offers fast switching speeds with a transition time of less than 250ns and low on-resistance of less than 100Ω while retaining CMOS-logic input compatibility and fast switching. Channel selection is performed through a set of specific GPIO pins and possesses additional functionality such as the manual ON/OFF feature. This Click Board™ is suitable for various applications, from industrial and instrumentation to consumer, communications, data-acquisition systems, and many more.

The UART MUX 2 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.