ST STEVAL-IOD04KT1 User Manual Download Page 3

1.3

Folders

Figure 2. 

STSW-IOD04K folder structure

The software package includes the following folders:

Documentation

: a compiled HTML file generated from the source code detailing the software components

and APIs (one for each project).

Drivers

: HAL drivers and board-specific drivers for each supported board or hardware platform, including

those for the on-board components, and the CMSIS vendor-independent hardware abstraction layer for the
ARM Cortex-M processor series.

Middlewares

: libraries and protocols featuring IO-Link mini-stack and sensors management.

Projects

: sample application implementing an industrial IO-Link multi-sensor node. This application is

provided for the 

STM32G071EB

 microcontroller for three development environments: IAR Embedded

Workbench for ARM, RealView Microcontroller Development Kit (

MDK-ARM-STR

) and 

STM32CubeIDE

.

1.4

APIs

Detailed technical information with full user API function and parameter description are in a compiled HTML file in
the “Documentation” folder.

1.5

Sample application description

The Projects folder provides the sample application, which uses the STEVAL-IOD004V1 with the 

L6364W

transceiver, and the 

ISM330DHCX

/

IIS2MDC

 industrial sensors.

Ready-to-build projects are available for multiple IDEs. You can upload one of the binary files of the 

STSW-

IOD04K

 through 

STM32CubeProgrammer

 or the programming feature of your IDE.

To power the STEVAL-IOD004V1 and flash the firmware, you can choose one of the options below:

Connect your MCU programmer (for example, STLINK-V3MINI) to the board through connector J1; power
up the board by the 24 V supplied from an IO-Link master; on your programmer, select the binary file to flash
and then proceed programming the MCU.

Note:

For the above procedure, you need two USB ports (one for the programmer, the other for the IO-Link master).

Connect your MCU programmer (for example, 

STLINK-V3MINI

) to the board through connector J1; supply

the MCU by a 3.3 V power supply connected to the board through J2 (pin 2 = GND; pin 4 = 3.3 V); on your
programmer, select the binary file to flash and then program the MCU.

The 

STLINK-V3MINI

 programmer can be connected to the STEVAL-IOD004V1 by J1 (10 ways, two rows) through

the 14-pin flat cable included in the kit: two pins on the right and left sides of the cable remain unconnected.
Looking at the board top side and leaving the IO-Link M8 connector on your right, the cable must be connected so
that the red line is on the top, as shown below.

UM2943

Folders

UM2943

 - 

Rev 1

page 3/13

Summary of Contents for STEVAL-IOD04KT1

Page 1: ...on software facilitates the integration with other STM32Cube based software to create examples for the most common application technologies Included libraries enable functions for a real and usable system for developers Hardware drivers and abstract low level details allow the middleware components and applications to access data in a hardware independent manner The middleware libraries include an...

Page 2: ... application programming interfaces APIs to interact with the upper application library and stack layers It has generic and extension APIs and is directly built around a generic architecture It allows successive layers like the middleware layer to implement functions without requiring specific hardware configurations for a given microcontroller unit MCU This structure improves library code reusabi...

Page 3: ... and the ISM330DHCX IIS2MDC industrial sensors Ready to build projects are available for multiple IDEs You can upload one of the binary files of the STSW IOD04K through STM32CubeProgrammer or the programming feature of your IDE To power the STEVAL IOD004V1 and flash the firmware you can choose one of the options below Connect your MCU programmer for example STLINK V3MINI to the board through conne...

Page 4: ...Link master and connect it to the STEVAL IOD004V1 by the IO Link cables and adapters included in the kit or by any other compatible cable You can use any other IO Link master v1 1 with the related control tool In the example of Section 2 2 the IO Link master is the P NUCLEO IOM01M1 the related control tool is the IO Link Control Tool developed by TEConcept ST partner and the connection is complete...

Page 5: ...oard have been achieved thanks to the small sizes of the CSP package options of L6364W and STM32G071EB Connect the main board to an IO Link master via the adapter and the M8 connector included in the kit for normal operation Connect the same board to the STLINK V3MINI through the flat cable only if you want to program the STM32G071EB with a new firmware Figure 4 STEVAL IOD04KT1 evaluation kit STEV...

Page 6: ...e instructions to upload STMicroelectronics STEVAL IOD004V1 38kBd 20210429 IODD1 1 xml or STMicroelectronics STEVAL IOD004V1 230kBd 20210429 IODD1 1 xml according to COM2 or COM3 choice in the IODD directory of the software package Step 6 Connect the master by clicking on the green icon top left corner Step 7 Click on Power ON to supply the STEVAL IOD004V1 The red LED on the STEVAL IOD004V1 blinks...

Page 7: ... 6 IO Link Control Tool view example Figure 7 IO Link Control Tool view process data plot When you finish your evaluation session follow the additional steps below Step 11 Click on Inactive to stop IO Link communication Step 12 Click on Power Off to stop the IO Link master from supplying the IO Link device Step 13 Click on Disconnect to stop the communication between IO Link Control Tool and P NUC...

Page 8: ...ications for the STM32G071EB and L6364W you need STSW IOD04K firmware and related documentation available on www st com one of the following developments toolchain and compilers IAR Embedded Workbench for ARM toolchain Keil STM32CubeIDE plus ST LINK V2 UM2943 Software setup UM2943 Rev 1 page 8 13 ...

Page 9: ...Revision history Table 1 Document revision history Date Revision Changes 27 Oct 2021 1 Initial release UM2943 UM2943 Rev 1 page 9 13 ...

Page 10: ...3 1 4 APIs 3 1 5 Sample application description 3 2 System setup guide 5 2 1 Hardware description 5 2 1 1 STEVAL IOD04KT1 evaluation kit 5 2 2 Hardware setup 5 2 3 Software setup 8 Revision history 9 List of tables 11 List of figures 12 UM2943 Contents UM2943 Rev 1 page 10 13 ...

Page 11: ...List of tables Table 1 Document revision history 9 UM2943 List of tables UM2943 Rev 1 page 11 13 ...

Page 12: ...tructure 3 Figure 3 STEVAL IOD004V1 and STLINK V3MINI connection diagram 4 Figure 4 STEVAL IOD04KT1 evaluation kit 5 Figure 5 Terminal settings 6 Figure 6 IO Link Control Tool view example 7 Figure 7 IO Link Control Tool view process data plot 7 UM2943 List of figures UM2943 Rev 1 page 12 13 ...

Page 13: ...cts 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 S...

Reviews: