OFF
MIKROE-4331
18 g
Status:
ISO 9141 Click is a compact add-on board that contains a monolithic bus driver with ISO 9141 interface. This board features the L9637, a monolithic integrated circuit containing standard ISO 9141 compatible interface functions from ST Microelectronics. It’s designed to provide bidirectional serial communication compatible with ISO9141 standard. It has many features such as wide input/output voltage range, controlled output slope for EMI, Standby Mode with low current consumption, overtemperature Shut-Down function, and more. This Click board™ is suitable for automotive diagnostic applications such as powertrain for ICE (CNG/LPG engine control or diesel/gasoline injection), an automotive gateway in telematics and networking, and many more.
ISO 9141 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
ISO 9141 Click is based on the L9637, a monolithic bus driver designed to provide bidirectional serial communication in automotive diagnostic applications according to the specification "Diagnostic Systems ISO9141" from ST Microelectronics. The L9637 is also known as the K-Line Transceiver that provides a bidirectional link, called K, and a separate comparator, called L, to the related diagnosis bus that can be connected on terminal labeled with K and L on this Click board™. The K and L pins are protected against overvoltages and reverse battery condition. During the lack of power supply or ground, all pins show high impedance characteristics.
The L9637 has a wide supply voltage in a range from 4.5V to 36V, as well as several modes of operation like Standby Mode with low current consumption and overtemperature Shut-Down Mode. The overtemperature Shut-Down Mode switches OFF the K output if the L9637’s temperature increases above the thermal shut down threshold. To reactivate K again the temperature must decrease below the K switch ON temperature value. To achieve no fault for power supply under-voltage conditions the outputs will be switched OFF and stay at high impedance.
ISO 9141 Click communicates with MCU using the UART interface with the default baud rate of 9600bps, and commonly used UART RX and TX pins for the data transfer. The UART input TX and output RX of K are associated with the logic voltage level from mikroBUS™ (VCC) with its integrated pull-up resistances. Also, the L comparator output pin named LO has a pull-up resistance connected to VCC. All bus defined inputs L and K have supply voltage-dependent thresholds together with sufficient hysteresis to suppress line spikes.
This Click board™ is easy to program because it does not require an overly demanding configuration. Only what is necessary for the errorless work is the selection of the appropriate mode of operation, whether the Click board™ will work as a receiver or transmitter. In this way, the transmitter will send the data every 2 seconds while the receiving side will receive the data in a „byte-by-byte“ format. This can also be seen in an example code that contains easy to use functions that may be used as a reference for further development.
This Click board™ is designed to be operated with both 3.3V and 5V logic voltage levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the UART communication lines properly. However, the Click board™ comes equipped with a library that contains easy to use functions and an example code that can be used as a reference for further development.
Type
CAN
Applications
Can be used for automotive diagnostic applications such as powertrain for ICE (CNG/LPG engine control or diesel/gasoline injection), an automotive gateway in telematics and networking, and many more.
On-board modules
ISO 9141 Click is based on the L9637, a monolithic bus driver designed to provide bidirectional serial communication in automotive diagnostic applications according to the specification "Diagnostic Systems ISO9141" from ST Microelectronics.
Key Features
Wide input and output voltage range, overtemperature shut down function, bidirectional K I/O pin with supply voltage dependent input threshold, Stand-by Mode with very low current consumption, and more.
Interface
UART
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V or 5V
This table shows how the pinout on ISO 9141 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Power Supply Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 4.5 | - | 36 | V |
K output current | - | 60 | - | mA |
Transmission frequency | - | - | 50 | kHz |
Operating Temperature Range | -40 | - | +150 | °C |
We provide a library for the ISO 9141 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for ISO 9141 Click driver.
Key functions
iso9141_generic_write
This function writes a desired number of data bytes by using UART serial interface.
iso9141_generic_read
This function reads a desired number of data bytes by using UART serial interface.
Example Description
This example demonstrates the use of an ISO 9141 Click by showing the communication between the two Click boards.
void application_task ( void )
{
#ifdef DEMO_APP_TRANSMITTER
iso9141_generic_write( &iso9141, DEMO_TEXT_MESSAGE, strlen( DEMO_TEXT_MESSAGE ) );
log_printf( &logger, "%s", ( char * ) DEMO_TEXT_MESSAGE );
Delay_ms ( 1000 );
#else
uint8_t rx_byte = 0;
if ( 1 == iso9141_generic_read( &iso9141, &rx_byte, 1 ) )
{
log_printf( &logger, "%c", rx_byte );
}
#endif
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need 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. UART terminal is available in all MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE 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.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.