ST UM2749 Dual Channel IO-Link Device Expansion Board User Manual
- August 31, 2024
- ST
Table of Contents
UM2749 Dual Channel IO-Link Device Expansion Board User Manual
Product Information
Specifications
-
Product Name: X-CUBE-IOD02 industrial IO-Link device transceiver software expansion
-
Compatibility: STM32Cube
-
Expansion Boards Supported: X-NUCLEO-IOD02A1,
STEVAL-IOD003V1 -
Communication Speeds Supported: COM1, COM2, COM3
Product Usage Instructions
Overview
The X-CUBE-IOD02 software package expands the functionality provided by
STM32Cube, allowing control of the
CQ input/output line for SIO or IO-Link sensor applications when used with
specific expansion boards.
Installation and Setup
-
Stack the X-NUCLEO-IOD02A1 or STEVAL-IOD003V1 expansion
board on a compatible NUCLEO development board. -
Download and install the X-CUBE-IOD02 software
package from the STM32Cube ecosystem webpage. -
Configure GPIOs, SPI, UART, and IRQs as
needed for your application.
Functionality
The software package includes libraries for different transmission modes and communication speeds supported by the L6364 and L6362A transceivers.
It also offers sample implementations for various development board combinations.
Testing and Evaluation
Test sensor applications by stacking sensor expansion boards like X-NUCLEO-
IKS01A2 or X-NUCLEO-IKS02A1.
More complex applications can be evaluated by enabling the
demo-stack library via the related API.
Frequently Asked Questions (FAQ)
**Q: Can I use the X-CUBE-IOD02 software with any STM32 development
board?**
A: The software is designed to work with specific NUCLEO development
boards mentioned in the user manual for optimal functionality.
**Q: Are there any limitations on the number of sensors that can be
connected?**
A: The software supports single-channel applications as well as joint
mode and dual-channel
applications with appropriate jumper settings on the X-NUCLEO-IOD02A1 board.
The package allows you to develop IO-Link sensor applications based on the
L6364 mounted on the X-NUCLEO-IOD02A1
expansion board when connected to a NUCLEO-L073RZ or NUCLEO-G071RB or NUCLEO-
L452RE or NUCLEO-F303RE
development board.
The package can also be used to develop IO-Link sensor applications based on
the L6362A mounted on the STEVALIOD003V1 expansion board when connected to a
NUCLEO-L073RZ or NUCLEO-L452RE development board.
The software architecture is based on mini-stack libraries combined with
source code communicating via APIs, and is designed
to accommodate custom application development.
The expansion is built on STM32Cube software technology to ease portability
across different STM32 microcontrollers
OD02 software expansion for STM32Cube
2.1 Overview
The X-CUBE-IOD02 software package expands the functionality provided by
STM32Cube .
The software allows the control of the CQ input/output line of a single
channel SIO or IO-Link sensor application
when the X-NUCLEO-IOD02A1 expansion board is stacked on a NUCLEO-L073RZ or
NUCLEO-G071RB or
NUCLEO-L452RE or NUCLEO-F303RE development board. The software also allows the
control of the CQ input/output line of a single channel SIO or IO-Link sensor
application when the STEVAL-IOD003V1 expansion board is stacked on a NUCLEO-
L073RZ or NUCLEOL452RE development board. The software package includes IO-
Link demo-stack libraries supporting the three transmission modes of the L6364
(single octet, multioctet, and transparent UART mode) and the two
communication speeds (COM2 and COM3).
For the L6362A three communication speeds (COM1, COM2 and COM3) are supported.
The software package key features are:
• Complete software to build applications for the L6364 and L6362A IO-Link
transceiver
• GPIOs, SPI, UART and IRQs configuration
• Smart software architecture based on mini-stack libraries combined with
source code (communicating
through API) and IODD configuration file
• Sample implementation available for X-NUCLEO-IOD02A1 expansion board
connected to a NUCLEOL073RZ or NUCLEO-G071RB or NUCLEO-L452RE or NUCLEO-F303RE
development board
• Sample implementation available for STEVAL-IOD003V1 expansion board
connected to a NUCLEOL073RZ or NUCLEO-L452RE development board
• Easy portability across different MCU families, thanks to STM32Cube
• Free, user-friendly license terms Software and hardware jumper settings for
X-NUCLEO-IOD02A1 can be modified for developing joint mode (CQ = DIO) and dual
channel applications. Sensor applications can be evaluated by stacking sensor
expansion boards such as X-NUCLEO-IKS01A2 or XNUCLEO-IKS02A1. You can test
more complex applications by stacking a sensor expansion board, including the
related software package in the X-CUBE-IOD02 and enabling the demo-stack
library via the related API. 2.2 Architecture This software is a fully
compliant expansion of STM32Cube architecture for the development of SIO and
IO-Link
Device applications.
The software is based on the STM32CubeHAL hardware abstraction layer for the
STM32 microcontroller. The
package extends STM32Cube by providing a board support package (BSP) for SIO
and IO-Link Device
expansion boards based on L6364 and L6362A.
The software layers used by the application software to access and use the
expansion boards are:
• STM32Cube HAL layer: consists of simple, generic and multi-instance APIs
(application programming
interfaces) which interact with the upper layer applications, libraries and
stacks. These generic and
extension APIs are based on a common framework so that overlying layers like
middleware can function
without requiring specific microcontroller unit (MCU) hardware information.
This structure improves library
code reusability and guarantees easy portability across other devices.
• Board support package (BSP) layer: provides software support for the STM32
Nucleo board peripherals,
excluding the MCU. These specific APIs provide a programming interface for
certain board specific
peripherals like LEDs, user buttons, etc., and can also be used to fetch
individual board version
information. It also provides support for initializing, configuring and
reading
2.3.1.4 IOD02A1
The IOD02A1 BSP component contains:
• iod02a1.c: core functions of the IOD02A1 driver
• iod02a1.h: header file for the IOD02A1 driver
• iod02a1_bus.c: core functions for IOD02A1 bus read/write operations (SPI,
GPIO, UART)
• iod02a1_bus.h: header file for bus read/write functions
2.3.1.5 IOD003V1
The IOD003V1 BSP component contains:
• iod003v1.c: core functions of the IOD003V1 driver
• iod003v1.h: header file for the IOD003V1 driver
• iod003v1_bus.c: core functions for IOD003V1 bus read/write operations (GPIO,
UART)
• iod003v1_bus.h: header file for bus read/write functions
2.3.2 Projects
For each STM32 Nucleo platform, an example project is available in the
folders:
• Projects\STM32L073RZ-Nucleo\Applications\IOD02A1
• Projects\STM32G071RB-Nucleo\Applications\IOD02A1
• Projects\STM32L452RE-Nucleo\Applications\IOD02A1
• Projects\STM32F303RE-Nucleo\Applications\IOD02A1
• Projects\STM32L073RZ-Nucleo\Applications\IOD003V1
• Projects\STM32L452RE-Nucleo\Applications\IOD003V1
Each example has a folder dedicated to the targeted IDE:
• EWARM containing the project files for IAR
• MDK-ARM containing the project files for Keil
• STM32CubeIDE containing the project files for OpenSTM32
IMPORTANT NOTICE – READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make
changes, corrections, enhancements, modifications, and improvements to ST
products and/or to this document at any time without notice. Purchasers should
obtain the latest relevant information on ST products before placing orders.
ST
products are sold pursuant to ST’s terms and conditions of sale in place at
the time of order acknowledgment.
Purchasers are solely responsible for the choice, selection, and use of ST
products and ST assumes no liability for application assistance or the design
of purchasers’ products. No license, express or implied, to any intellectual
property right is granted by ST herein. Resale of ST products with provisions
different from the information set forth herein shall void any warranty
granted by ST for such product. ST and the ST logo are trademarks of ST. For
additional information about ST trademarks, refer to www.st.com/trademarks.
All other product or service names
are the property of their respective owners.
References
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>