- Home
- Domestic appliances
- Climate control
- Temperature & humidity sensors
- STMicroelectronics
- STEVAL-IOD04KT1
- User manual
STMicroelectronics STEVAL-IOD04KT1 User Manual
Add to My manuals20 Pages
STMicroelectronics STEVAL-IOD04KT1 is an industrial smart sensor kit based on the L6364W dual IO-Link device transceiver. This kit acts as a modern smart industrial sensor that can be connected to an IO-Link master hub or a suitable PLC interface. It comes with an STM32G071EB microcontroller, IIS2MDC magnetometer, and ISM330DHCX inertial module, allowing for accurate data acquisition and processing. The kit includes a main board, programmer, connector adapter, and flat cable, making it ready to use out of the box.
advertisement
![STMicroelectronics STEVAL-IOD04KT1 User Manual | Manualzz STMicroelectronics STEVAL-IOD04KT1 User Manual | Manualzz](http://s3.manualzz.com/store/data/064362773_1-c903ece29f03ae6d6df3767ebe05a0da-360x466.png)
UM2942
User manual
Getting started with the industrial smart sensor kit based on L6364W dual IO-Link device transceiver
Introduction
The STEVAL-IOD04KT1 is a reference design kit that exploits the features of the L6364W IO-Link dual-channel device transceiver.
The kit consists of the STEVAL-IOD004V1 main board (not available for sale), the STLINK-V3MINI programmer and debugger tool, a 14-pin flat cable, and an M8 to M12 standard industrial connector adapter.
The kit acts as a modern smart industrial sensor to be connected to a master IO-Link hub (or a suitable PLC interface).
The power supply for the MCU, sensors, and other logic devices derives from the DC-DC converter controller embedded in the
L6364W .
The on-board STM32G071EB microcontroller runs an IO-Link demo stack v.1.1, which controls the IO-Link communication, and the software code that manages the L6364W transceiver and the MEMS industrial sensors.
The tiny dimensions of the main board 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 1. STEVAL-IOD04KT1 evaluation kit
UM2942 - Rev 1 - October 2021
For further information contact your local STMicroelectronics sales office.
www.st.com
1
1.1
UM2942
Getting started
Getting started
•
•
Features
Kit content:
– STEVAL-IOD004V1 (45.8 x 8.3 mm) main board with shape easy to be integrated in industrial sensors housing (not available for separate sale)
– STLINK-V3MINI programmer and debugger tool
– M8-M12 industrial connector adapter including a 20 cm cable
– 14-pin flat cable
Main board features:
– Industrial sensor node based on STM32G071EB (mainstream Arm ® Cortex ® -M0+ RISC core MCU operating at up to 64 MHz frequency), L6364W (dual channel transceiver IC for SIO and IO-Link sensor applications), IIS2MDC (high accuracy, ultra-low-power, 3-axis digital output magnetometer) and ISM330DHCX (iNEMO inertial module with machine learning core, and finite state machine with digital output for industrial applications)
– Runs an IO-Link v.1.1 demo-stack and MEMS control software, included in the companion package
STSW-IOD04K together with the IODD file
– Operating voltage range 7 to 32 V
– Four-pole M8 industrial standard connector
– L6364W embedded DC-DC converter provides 3.3 V supply for all on-board ICs
– General-purpose LEDs for transmission, programming/debugging, warning, and status
– Jumpers for CQ and DIO selection in independent or joint mode
– Switch for transmission mode selection (transparent, single, or multioctet)
– Reset button
– 10-pin connector for sensor expansion options
– SWD connector for debugging and programming capability
– Protections against surge pulse (up to ± 3APK with 500 Ω coupling) and reverse polarity
– EMC and EMI tested according to standard requirements
– RoHS compliant
UM2942 - Rev 1 page 2/20
1.2
Main board hardware architecture
Figure 2. Main board functional block diagram
UM2942
Main board hardware architecture
1.3
1.3.1
The figure above shows the functional block of the main board.
The connection of the blocks results in a robust architecture implementing a smart industrial sensor node connected as IO-Link device.
The design is centered on the STM32G071EB microcontroller, which manages the IO-Link protocol mini-stack code embedded to drive the L6364W device transceiver.
The M8 4-way plug connector is strictly related to the L6364W transceiver. This connector allows establishing half duplex IO-Link communication with an IO-Link master and with a power supply rail (≤ 32 V).
The blocks on the left hand identify the sensors: the ISM330DHCX 6-axis inertial module device with machine learning core and the IIS2MDC 3-axis digital magnetometer.
Main board components
STM32G071EB
The STM32G071x8/xB mainstream microcontrollers are based on high-performance Arm
®
Cortex
®
-M0+ 32-bit
RISC core operating at up to 64 MHz frequency. Offering a high level of integration, they are suitable for a wide range of applications in consumer, industrial and appliance domains, as well as Internet of Things (IoT) solutions.
These microcontrollers incorporate a memory protection unit (MPU), high-speed embedded memories (36 kbytes of SRAM and up to 128 kbytes of Flash program memory with read protection, write protection, proprietary code protection, and secure area), DMA, an extensive range of system functions, enhanced I/Os, and peripherals.
Optimized dynamic consumption, together with a comprehensive set of power-saving modes, low-power timers and low-power UART, allows the design of low-power applications.
The devices operate within ambient temperatures from -40 to 125°C and with supply voltages from 1.7 to 3.6 V.
V
BAT
direct battery input allows keeping RTC and backup registers powered.
For further information, see the STM32G071EB relevant web page.
UM2942 - Rev 1 page 3/20
1.3.2
1.3.3
1.3.4
UM2942
Main board components
•
•
•
•
•
•
•
•
•
•
•
•
L6364
The L6364 is a dual-channel transceiver for industrial sensor applications. It has been designed to support the
IO-Link standard and acts as a bridge between a microcontroller with a sensor or actuator function, a supply (up to 32 V), and a signaling cable.
In normal operation, the microcontroller configures the L6364 via the SPI interface at start-up. Thus, the L6364 operates as a single input/output IO-Link device driving the output lines as configured by the microcontroller. If the device is connected to an IO-Link master, then the master can initiate communication and exchange data with the microcontroller while the L6364 acts as a physical layer for the communication.
The main features are: supply voltage from 5 to 35 V low dissipative (5 Ω) CQ and DIO output stages configurable in high-side, low-side, push/pull configurable (0.11 to 0.25 A) current limitation threshold of CQ and DIO lines configurable (0.22 to 0.5 A) current limitation threshold of CQ/DIO line (join mode) full protections:
– embedded reverse polarization diode (D
OUT
pin)
– full zero current reverse polarity between V plus
, CQ, DIO, and PGND pins
– configurable (up to 216°C) thermal shutdown threshold
– 7-bit, calibrated, temperature measurement
– configurable (6.0 to 15 V) V plus
undervoltage detection
– CQ and DIO short-circuit current limit and reporting
-40 to +150°C operating temperature suitable to drive L, C, and R loads integrated UART peripheral with M-sequence handling (including checksum) for all IO-Link sequences according to specification v1.1
single octet UART mode for unlimited M-sequence size and continuous data transfer designed to meet the following application requirements:
– ESD IEC 61000-4-2 protection to 4 kV
– EMC surge protection 2A/50 μs (coupling 500 Ω)
QFN-20L 4x4 mm and CSP 2.5x2.5 mm (used for the design of STEVAL-IOD004V1) packages available internal DC-DC buck converter controller with two internal MOS switches. A configurable switching frequency buck converter can be obtained with an external capacitor and an inductor. The device also includes linear regulators, which can optionally be used.
ISM330DHCX
The ISM330DHCX is a system-in-package featuring a high-performance 3D digital accelerometer and 3D digital gyroscope tailored for Industry 4.0 applications.
The various sensing elements have been manufactured using specialized micro-machining processes, while the
IC interfaces have been developed using CMOS technology that allows the design of a dedicated circuit trimmed to match better the characteristics of the sensing element.
In the ISM330DHCX , the sensing elements of the accelerometer and of the gyroscope are implemented on the same silicon die, thus guaranteeing superior stability and robustness.
The ISM330DHCX has a full-scale acceleration range of ±2/±4/±8/±16 g and a wide angular rate range of
±125/±250/±500/±1000/±2000/±4000 dps, permitting its usage in a broad range of applications.
All the design aspects and the calibration of the ISM330DHCX have been optimized to reach superior accuracy, stability, extremely low noise and full data synchronization.
An unmatched set of embedded features (machine learning core, programmable FSM, FIFO, sensor hub, event decoding and interrupts) enables the implementation of smart and complex sensor nodes for high performance at very low power.
IIS2MDC
The IIS2MDC is a high-accuracy, ultra-low-power 3-axis digital magnetic sensor, with a magnetic field dynamic range of up to ±50 gauss.
UM2942 - Rev 1 page 4/20
UM2942
Main board components
The IIS2MDC includes an I²C serial bus interface that supports standard mode, fast mode, fast mode plus, and high-speed (100 kHz, 400 kHz, 1 MHz, and 3.4 MHz) as well as an SPI serial standard interface.
The device can be configured to generate an interrupt signal for magnetic field detection.
The IIS2MDC is available in a plastic land grid array package (LGA) and is guaranteed to operate over an extended temperature range (from -40°C to +85°C).
UM2942 - Rev 1 page 5/20
2
UM2942
How to run the STEVAL-IOD004V1 smart industrial sensor
How to run the STEVAL-IOD004V1 smart industrial sensor
To run the STEVAL-IOD004V1 main board with the STSW-IOD04K preloaded firmware, follow the procedure below.
Step 1.
Connect the board to an IO-Link master embedding a standard M8 4-way socket side connector.
If the IO-Link master and the available cabling are M12, you can use the M8 to M12 connector adapter provided in the STEVAL-IOD04KT1 reference design kit.
Once the STEVAL-IOD004V1 is connected to a master, it should recognize the sensor node thanks to the IODD file preloaded in the STSW-IOD04K , assuming that the cable is correctly powering the smart industrial sensor node at 24 V and below 32 V.
Step 2.
Use the STLINK-V3MINI compact in-circuit debugger and programmer for STM32 included in the kit to debug code for firmware analysis or for code modification.
UM2942 - Rev 1 page 6/20
3
Note:
UM2942
Firmware overview
Firmware overview
The STSW-IOD04K is the firmware associated to the STEVAL-IOD04KT1 reference design kit.
This firmware package is available for download at www.st.com
.
The package includes freely customizable C-code written examples to speed up the development time.
This IO-Link protocol mini-stack has some limitations regarding event management and ISDU, which are not included.
UM2942 - Rev 1 page 7/20
4
a) ISM330DHCX inemo inertial module b) IIS2MDC - Magnetometer
Schematic diagrams
Sensors
SENSORS
Figure 3. STEVAL-IOD004V1 (main board) circuit schematic (1 of 4)
MCU
MCU STM32G071EB
L6364
L6364_SS
L6364_SS
DUAL IO LINK
L6364_SS
USART2_TX_MCU
USART2_RX_SN
USART2_TX_SN
USART2_RX_MCU
USART2_TX
USART2_RX
L6364_UART RX
L6364_UART RX
L6364_UART RX
VCC
L6364_UART TX
I2C_SDA
L6364_UART TX L6364_UART TX
I2C_SDA I2C_SDA
DIO
I2C_SCL
I2C_SCL
I2C_SCL CLTD
CTLD
CTLD
L6364_INT
L6364_INT L6364_INT CQ
IIS2DMC_DRDY
IIS2DMC_DRDY
IIS2DMC_DRDY L6364_MISO
L6364_MOSI
L6364_MISO
L6364_MOSI
L6364_MISO
L6364_MOSI
INT2_iNEMO INT2_iNEMO
L6364_SCLK
L6364_SCLK
L6364_SCLK
INT1_iNEMO INT1_iNEMO
M8_IOLINK Connectror
Figure 4. STEVAL-IOD004V1 (main board) circuit schematic (2 of 4)
IO-Link Device supply voltage Range 7v-32v
VCC
DIO
1
CN1
3
CQ
IO-link 4-position M8 A-coded connector
Male Rear PCB Mount
L6364_UART RX
L6364_UART RX
JP2
32V
CQ & DIO shorted together
(JOIN mode) => JP3 closed
JP1
C1
470pF
CQ & DIO independent
(DIO mode) => JP3 open, Jp1 closed default open
CQ
DIO
L6364_UART TX
L6364_UART TX
C3
470pF default closed
JP3 0
JP4 default closed
0
L6364_INT
L6364_MOSI
L6364_MISO
L6364_SS
L6364_SCLK
A2
A3
B3
A4
B4
INT
MOSI
MISO
SS
SCK
C2
220nF
U1
L6364 (CSP) default CLOSE 1-2
R1 4.7K
CTLD
CTLD
DOUT
LOUT
LED2
LED1
B2
D2
D3
D5
C3
L6364_CTLD
C LD1
LED RED
C LD2 A
TP2
A
LED GREEN
L1
220uH
3V3
3V3
L6364_SCLK
L6364_UART RX
L6364_UART TX
L6364_SS
L6364_INT
L6364_MISO
L6364_MOSI
L6364_SCLK
L6364_UART RX
L6364_UART TX
L6364_SS
L6364_INT
L6364_MISO
L6364_MOSI
GND
C6
4.7uF
C7
100nF
1
SW1
2
3
TP1
C5
2.2uF
C4
10nF
L6364_CTLD
Analog and digital ground connected only at a point
Figure 5. STEVAL-IOD004V1 (main board) circuit schematic (3 of 4)
3V3
3V3
C8
22uF
3V3
R2
10K
NRST
3V3
INT2_iNEMO
L6364_UART RX
R6
R3
2.7K
U2
USART2_RX
SYS_SWCLK
MCU_PB5
I2C_SDA
100
USART1_TX
L6364_MISO
PA3
PA0
3V3
C1
C2
C3
C4
C5
A1
A2
A3
A4
A5
C12
22uF
PA15
PA14-BOOT0
PB5
PB7
PC14-ASC32IN
PA11[PA9]
PA6
PA3
PA0
VDD/VDDA
VSS/ASSA
PA1
PA4
PA7
PA8
PC15-ASC32OUT
PB8
PB6
PA13
PA12[PA10]
STM32G071EBY
D5
D4
D3
D2
D1
B5
B4
B3
B2
B1
3V3
PA1
PA4
L6364_MOSI
L6364_INT
L6364_SS
I2C_SCL
L6364_CTLD
SYS_SWDIO
USART1_RX
R5
GND
100
GND
R4
2.7K
L6364_UART TX
GND
DEBUG LED
Low Current
PA0 PA1 PA3 PA4
3V3
3V3
C10
100nF
3V3
C11
100nF
LD3
LED BLUE
SW2 miniswitch
NM
R7
10K
GND
NM
R8
10K
GND
NM
R9
10K
GND
NM
R10
10K
GND
MCU_PB5
R11
680
L6364_INT
L6364_SS
L6364_MOSI
L6364_MISO
L6364_CTLD
I2C_SDA
I2C_SCL
L6364_UART RX
L6364_UART TX
GND
C9
100nF
J1
GND
1
3
5
7
9
2
4
6
8
10
SYS_SWDIO
SYS_SWCLK
NRST
SWD connector -Programming
L6364_INT
L6364_SS
L6364_MOSI
L6364_MISO
CLTD
I2C_SDA
I2C_SCL
L6364_UART RX
L6364_UART TX
Figure 6. STEVAL-IOD004V1 (main board) circuit schematic (4 of 4)
3V3
R12
4.7K
I2C_SCL
CS
I2C_SDA
C21
220nF
3
4
1
2
5
6
SCL/SPC
NC_1
CS
SDA/SDI/SDO
C1
GND_1
U3
INT/DRDY
GND_2
VDD
VDD_IO
NC_2
NC_3
IIS2MDC
7
8
9
10
11
12
IIS2DMC_DRDY
C18
3V3
C13
100nF 10uF
IIS2DMC_DRDY
3V3
C14
100nF
GND
1- select i2C
3V3
R13
10K
I2C_SCL
I2C_SDA
ISM330DHCX
U4
I2C_SCL
I2C_SDA
3V3
12
13
14
CS
SCL
SDA
R14
10K NM
3V3
GND2
GND1
VDDIO
7
6
5
INT2_iNEMO
GND
VDD_IO
INT1_iNEMO
R15
10K
GND
C19
10uF
3V3
C16
100nF
GND
3V3
C15
100nF
GND
USART2_RX_SN
GND
GND
J2
3V3
I2C_SCL
I2C_SDA
USART2_TX_MCU
1
3
5
7
9
2
4
6
8
10
3V3
I2C_SCL
I2C_SDA
USART2_RX_MCU
USART2_TX_SN
Sensor Expansion Connector GND
C20
10uF
3V3
5
UM2942
Bill of materials
Bill of materials
1
2
3
Item
1
1
1
Q.ty
Table 1. STEVAL-IOD04KT1 bill of materials
Ref.
-
Part/value Description Manufacturer
Main board ST
STLINK-
V3MINI
Cable adapter -
-
In-circuit debugger and programmer for STM32
M8 to M12 adapter including a
20 cm cable
ST
Katlax
Order code
Not available for separate sale
STLINK-V3MINI
CDF08S-M12S5-0.2BPVC
4
5
2
3
Item Q.ty
1 2
Ref.
C1, C3
1
1
C2
C4
6
7
8
9
1
1
8
2
3
1
C5
C6
C7, C9,
C10, C11,
C14, C15,
C16, C18
C8, C12
C13, C19,
C20
C21
10 1 CN1
11
12
1
1
13 4
14 1
15 1
16 1
17 1
18 1
19 2
20 2
21 2
J1
J2
JP1, JP2,
JP3, JP4
L1
LD1
LD3
LD2
R1
R2, R15
R3, R4
R5, R6
Table 2. STEVAL-IOD004V1 (main board) bill of materials
Part/value
470 pF, 0603, 50 V
220 nF, 0402, 25 V
10 nF, 0402, 25 V
Description
Ceramic capacitors
Ceramic capacitor
Ceramic capacitor
2.2 µF, 0402, X5R, 25 V ±10% Ceramic capacitor
4.7 µF, X5R, 0201, 6.3 V ±20% Ceramic capacitor
100 nF X5R, 0201, 10 V ±10% Ceramic capacitors
22 µF X5R, 0402, 6.3 V, ±20%
10 µF X5R, 0402, 6.3 V ±20%
Ceramic capacitors
Ceramic capacitors
220 nF X5R, 0402, 6.3 V ±10% Ceramic capacitor
IO LINK M8, PTH 4-pin male rear PCB mount
SWD connector - programming,
SMD
IO-Link 4-position M8
A-coded connector
Connector header
Sensor expansion connector,
PTH 10-pin
Sensor expansion connector
0 Ohm Jumper, drop 0402 Jumpers
220 µH, ±10%, SMD
LED, 20 mA, 0402
Fixed inductor
Red LED
LED, 20 mA, 2.5 V, 0402 Blue LED
LED, 20 mA, 0402 Green LED
4.7 K Ohm, 1/20 W ±1%, 0201 Resistor
10 K Ohm, 1/20 W ±1%, 0201 Resistors
2.7 K Ohm, 1/20 W ±1%, 0201
100 Ohm, 1/20 W ±1%, 0201
Resistors (not mounted)
Resistors
Manufacturer
Any Any
Any
Any
Any
Any
Any
Any
Any
Any
Order code
Any
Any
Any
Any
Katlax
Samtec Inc.
Harwin
Any
Würth
Würth
Kingbright
Würth
Any
Any
Any
Any
Any
Any
Any
Any
CPM08-RM8BR4-S0
FTSH-105-01-L-DV-K-
TR
M50-3200545
Any
744032221
150040RS73240
APHHS1005LQBC/D-V
150040VS73240
Any
Any
Any
Any
UM2942 - Rev 1 page 12/20
UM2942 - Rev 1
UM2942
Bill of materials
Item Q.ty
22
23
5
1
Ref.
R7, R8, R9,
R10, R14
R11
24
25
26
27
28
29
30
31
32
33
1
1
1
1
2
1
1
1
1
1
R12
R13
SW1
SW2
TP1, TP2
U1
U2
U3
U4
Cable
Adapter
Part/value
10 K Ohm, 1/20 W ±1%, 0201
680 Ohm, 1/20 W ±1%, 0201
Description
Resistors (not mounted)
Resistor
Manufacturer
Any
Any
4.7 K Ohm, 1/20 W ±1%, 0201
10 K Ohm, 1/16 W ±1%, 0402
3-pin, drop SMD
Mini switch, SMD
Test point, SMD
L6364 (CSP), CSP-19
STM32G071EBY, WLCSP-25
IIS2MDC, LGA-12
ISM330DHCX, LGA-14
Resistor (not mounted)
Resistor
Switch
Any
Switch
Test points
Dual channel transceiver IC for SIO and IO-Link sensor applications
Mainstream Arm
Cortex-M0+ MCU
ST
ST
High accuracy, ultra-low-power, 3axis digital output magnetometer
IMUs - Inertial
Measurement Units iNEMO inertial module: 3D accelerometer and 3D gyroscope
ST
ST
Any
Any
E-Switch
Keystone
Any
Any
Any
Order code
Any
Any
TL3780AF240QG
5015
L6364W
STM32G071EBY6TR
IIS2MDCTR
ISM330DHCXTR
Cable adapter M8-M12 20 cm Cable Katlax
CDF08S4-
M12S5-02BPVC page 13/20
6
UM2942
Board versions
Board versions
Table 3. STEVAL-IOD04KT1 versions
Finished good
Schematic diagrams
STEVAL$IOD04KT1A schematic diagrams
1. This code identifies the STEVAL-IOD04KT1 evaluation board first version.
Bill of materials
STEVAL$IOD04KT1A bill of materials
UM2942 - Rev 1 page 14/20
7
UM2942
Regulatory compliance
Regulatory compliance
Formal Notice Required by the U.S. Federal Communications Commission
FCC NOTICE:
This kit is designed to allow:
(1) Product developers to evaluate electronic components, circuitry, or software associated with the kit to determine whether to incorporate such items in a finished product and
(2) Software developers to write software applications for use with the end product.
This kit is not a finished product and when assembled may not be resold or otherwise marketed unless all required FCC equipment authorizations are first obtained. Operation is subject to the condition that this product not cause harmful interference to licensed radio stations and that this product accept harmful interference. Unless the assembled kit is designed to operate under part 15, part 18 or part 95 of this chapter, the operator of the kit must operate under the authority of an FCC license holder or must secure an experimental authorization under part 5 of this chapter 3.1.2.
Formal Product Notice Required by Industry Canada Innovation, Science and Economic Development
Canada compliance :
For evaluation purposes only. This kit generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to Industry Canada (IC) rules.
À des fins d'évaluation uniquement. Ce kit génère, utilise et peut émettre de l'énergie radiofréquence et n'a pas
été testé pour sa conformité aux limites des appareils informatiques conformément aux règles d'Industrie Canada
(IC).
Formal product notice required by EU
This device is in conformity with the essential requirements of the Directive 2014/30/EU (EMC) and of the
Directive 2015/863/EU (RoHS).
UM2942 - Rev 1 page 15/20
Revision history
Date
27-Oct-2021
Table 4. Document revision history
Revision
1 Initial release.
Changes
UM2942
UM2942 - Rev 1 page 16/20
UM2942
Contents
Contents
UM2942 - Rev 1 page 17/20
UM2942
List of tables
List of tables
UM2942 - Rev 1 page 18/20
UM2942
List of figures
List of figures
UM2942 - Rev 1 page 19/20
UM2942
IMPORTANT NOTICE – PLEASE 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 acknowledgement.
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, please refer to www.st.com/trademarks . All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2021 STMicroelectronics – All rights reserved
UM2942 - Rev 1 page 20/20
advertisement