STMicroelectronics X-NUCLEO-IOD02A1 Quick Start Guide

Quick Start Guide
Dual channel IO-Link device expansion board based on L6364Q for STM32 Nucleo
X-NUCLEO-IOD02A1
Quick Start Guide Contents
2
X-NUCLEO-IOD02A1: Dual channel IO-Link device expansion board Hardware and Software overview
Setup & Demo Examples Documents & Related Resources
STM32 Open Development Environment: Overview
Dual channel IO-Link device expansion board
Hardware Overview
3
X-NUCLEO-IOD02A1 Hardware Description
The X-NUCLEO-IOD02A1 is an evaluation board based on
the L6364Q dual channel IO-Link and SIO Transceiver with embedded EMC, Overload and Over-temperature protections, 50mA 3v3 and 5v0 LDOs, SPI and UART interfaces, automatic wake-up detection, M-sequence & Checksum management, suitable both for COM2 and COM3 sensor applications.
The X-NUCLEO-IOD02A1 interfaces with the
microcontroller on the STM32 Nucleo via Arduino™ UNO R3.
The expansion board should be connected to either a
NUCLEO-L073RZ (or NUCLEO-L053R8) or NUCLEO­G071RB development board, and can also be stacked with other sensor shields.
The X-NUCLEO-IOD02A1 combined with the respective
development board where the X-CUBE-IOD02 runs, allow you to evaluate a the basic functionalities of the L6364Q when connected to an IO-Link master. All the combinations of transmission mode (Single-Byte, Multi-Byte and Transparent) and speed (COM2, COM3) can be evaluated.
The X-NUCLEO-IOD02A1 connected to a sensor shield
(e.g. X-NUCLEO-IKS02A1) and to a development board allows you to evaluate sensor applications.
Key Products on board
L6364Q:
Dual channel transceiver IC for SIO and IO-Link sensor applications
Latest info available at www.st.com
X-NUCLEO-IOD02A1
Features
Based on the L6364Q
Normal operating Voltage range 5 to 35 V
Process side (V
PLUS
, CQ, GND) reverse polarity protection
CQ&DIO output capability configurable up to 250mA
Joint Mode output capability configurable up to 500mA
CQ switching time supporting COM2 and COM3
50mA 3v0 and 5v0 LDOs
50mA Configurable (V
OUT
and FSW) DC-DC (Step-down)
Configurable ULVO threshold
Configurable Thermal Shutdown Threshold
7-bit calibrated Thermal measurement
Automatic wake-up detection
M-Sequence and Checksum automatic managment
Green and Red diagnostic LEDs
Compliance with IEC 61131-9 and IEC 60947-5-2
Equipped with Arduino™ UNO R3 connectors
Wide application development potential in STM32 Nucleo
development environment
CE certified
RoHS and China RoHS compliant
Dual channel IO-Link device expansion board
Software Overview
4
X-CUBE-IOD02 Software Description
The X-CUBE-IOD02 expansion software package for
STM32Cube runs on the STM32 and includes a driver for the L6364Q, IO-Link V1.1 demo-stack and IODD.
The software provides an affordable and easy-to-use
solution for the development sensor applications, letting you easily evaluate the L6364Q communication and driving features.
The expansion is built on STM32Cube software
technology to ease portability across different STM32 microcontrollers.
The software comes with a sample implementation of the
driver running on the X-NUCLEO-IOD02A1 expansion board connected to a NUCLEO-L073RZ (or NUCLEO­L053R8 ) or NUCLEO-G071RB development board.
You can also develop your own sensor application
starting from the software architecture based on a mini­stack library combined with source code communicating by specific APIs. This is offering the maximum flexibility in customizing applications.
Key features
Complete software to build applications
for the L6364Q
GPIOs, SPI, USART and IRQs
configuration
Interrupt handling
Sample implementation available on the
X-NUCLEO-IOD02A1 expansion board when connected to a NUCLEO-L073RZ (or NUCLEO-L053R8) or NUCLEO­G071RB development board
Easy portability across different MCU
families, thanks to STM32Cube
Free, user-friendly license terms
Overall Software Architecture
Latest info available at www.st.com
X-CUBE-IOD02
Quick Start Guide Contents
5
X-NUCLEO-IOD02A1: Dual channel IO-Link device expansion board Hardware and Software overview
Setup & Demo Examples Documents & Related Resources
STM32 Open Development Environment: Overview
Setup & Demo Examples
HW prerequisites (1/2)
6
USB type A to
Mini-B cable
X-NUCLEO-IOD02A1 plugged on to a compatible STM32 Nucleo board
1x Dual channel IO-Link device expansion board
(X-NUCLEO-IOD02A1)
1x STM32 Nucleo development board
(NUCLEO-L073RZ (or NUCLEO-L053RZ) or
NUCLEO-G071RB)
1x USB type A to Mini-B cable (for NUCLEO-L0x) or 1x
USB type A to Micro-B cable (for NUCLEO-G071RB)
1x Laptop/PC running Microsoft Windows™ 7 or above
1x IO-Link Master (e.g. P-NUCLEO-IOM01M1) with 1x
external power supply at 24 V
X-NUCLEO-IOD02A1
NUCLEO-L073RZ NUCLEO-L053R8
USB type A to
Micro-B cable
NUCLEO-G071RB
Setup & Demo Examples
HW prerequisites 2/2
7
The STM32L073RZ (or STM32L053R8) can be supplied:
1. (DEFAULT) by USB cable of the STM32 Nucleo development board
a) CLOSE JP5 to U5V position on the STM32 Nucleo development board
2. By external supply of the X-NUCLEO-IOD02A1
b) Connect the external supply to CN1 of X-NUCLEO-IOD02A1 c) CLOSE JP5 to E5V position on the STM32 Nucleo development board
USB
JP5
The STM32G071RB can be supplied:
1. (DEFAULT) by USB cable of the STM32 Nucleo development board
a) CLOSE JP5 to 5V_STLK position on the STM32 Nucleo development board
2. By external supply of the X-NUCLEO-IOD02A1
b) Connect the external supply to CN1 of X-NUCLEO-IOD02A1 c) CLOSE JP5 to 5V_VIN position on the STM32 Nucleo development board
USB
JP5
NUCLEO-G071RB
Setup & Demo Examples
SW prerequisites
8
Execution of the example code
X-CUBE-IOD02:
The package contains the source code example (Keil,
IAR, STM32CubeIDE) based on NUCLEO-L073RZ (or NUCLEO-L053R8) and NUCLEO-G071RB
Also, you can find the binary files of the example (one for each of the supported Nucleo development boards).
Evaluation by IO-Link Master
IODD
The proper XML file must be uploaded on the IO-Link
Master control application
Quick start-up procedure
(see HW and SW prerequisites)
9
Execution of the example code
Download the X-CUBE-IOD02 (.zip file) into a folder of your Laptop/PC
Connect the NUCLEO board and the X-NUCLEO-IOD02A1 by Arduino connectors.
Connect the USB cable between Laptop/PC and Nucleo board
Select the example binary file according to your Nucleo board (L073 or L053 or G071)
and flash it (by your IDE, or by ST-Link Utility or by STM32 Cube Programmer). Set JP5 so that USEB is enabled (see slide #7).
Switch JP5 so that the Nucleo board is supplied by X-NUCLEO-IOD02A1 (see slide #7).
Connect by CN1 the X-NUCLEO-IOD02A1 to an IO-Link Master (e.g. P-NUCLEO-
IOM01M1) where the IODD has been uploaded.
Activate the GUI controlling the IO-Link Master to configure the X-NUCLEO-IOD02A1 as
transmitter. Pushing the blue button on the NUCLEO-L073/L053 or NUCLEO-G071RB the CQ line will be set to 24V or 0V (release button).
X-CUBE-IOD02
Start coding in just a few minutes with X-CUBE-IOD02
10
Download & unpack
Go to www.st.com/x-nucleo
www.st.com
1
X-CUBE-IOD02
Select
2
3
4
5
Open project example
Download and install (ST-
LINK/V2-1 USB driver, STM32 Cube Programmer)
X-NUCLEO-IOD02A1
6
Modify and build application
Generic Nucleo Docs
L6364Q drivers
Demo-stack libraries
Sample Application
Documents & Related Resources
11
X-NUCLEO-IOD02A1:
DB3883: Dual channel IO-Link device expansion board based on L6364Q for STM32 Nucleo – Data Brief
UM2741: Getting started with the dual channel IO-Link device expansion board for STM32 – User Manual
Gerber files, BOM, Schematic
X-CUBE-IOD02:
DB3884: Industrial sensor software expansion for STM32Cube – Data Brief
UM2747: Getting started with the X-CUBE-IOD02 industrial sensor software expansion for STM32Cube – User Manual
Software package
All documents are available in the DESIGN tab of the related products webpage
Consult www.st.com for the complete list
Quick Start Guide Contents
12
Setup & Demo Examples Documents & Related Resources
STM32 Open Development Environment: Overview
X-NUCLEO-IOD02A1: Dual channel IO-Link device expansion board
STM32 Open Development Environment
Fast, affordable Prototyping and Development
13
The STM32 Open Development Environment (ODE) consists of a set of stackable boards
and a modular open SW environment designed around the STM32 microcontroller family.
Function Packs
(FP)
STM32Cube
development software
STM32 Nucleo
expansion boards
(X-NUCLEO)
STM32 Nucleo
development boards
STM32Cube
expansion software
(X-CUBE)
STM32 Nucleo
Development Boards (NUCLEO)
14
Power supply through USB or external source
Integrated debugging
and programming
ST-LINK probe
STM32 microcontroller
ST morpho extension header
A comprehensive range of affordable development boards for all the STM32
microcontroller series, with unlimited unified expansion capabilities and integrated debugger/programmer functionality.
www.st.com/stm32nucleo
Arduino™ UNO R3 extension headers
Complete product range
from ultra-low power to high-performance
STM32 Nucleo
Expansion Boards (X-NUCLEO)
15
Move/ActuatePower InteractConnect
Sense
Boards with additional functionality that can be plugged directly on top of the STM32
Nucleo development board directly or stacked on another expansion board.
DIL24 support for
new devices
Motion MEMS sensors
Environmental sensors
www.st.com/x-nucleo
Example of STM32 expansion board (X-NUCLEO-IKS01A1)
STM32 Open Development Environment
Software components
16
STM32Cube software (CUBE) - A
set of free tools and embedded software bricks to enable fast and easy development on the STM32, including a Hardware Abstraction Layer and middleware bricks.
STM32Cube expansion software
(X-CUBE) - Expansion software
provided free for use with the STM32 Nucleo expansion board and fully compatible with the STM32Cube software framework. It provides abstracted access to expansion board functionality through high-level APIs and sample applications.
www.st.com/x-cube
Compatibility with multiple Development Environments - The STM32 Open Development
Environment is compatible with a number of IDEs including IAR EWARM, Keil MDK, and GCC-based environments. Users can choose from three IDEs from leading vendors, which are free of charge and deployed in close cooperation with ST. These include Eclipse-based IDEs such as Ac6 System Workbench for STM32 and the MDK-ARM environment.
Tools&IDEs
Applicationexamples
(e.g.basedon ST OpenSoftwareX)
Hardware
SampleapplicationsApplications
IAR EWARM,KeilMDK-ARM,GCC-basedIDEs
(e.g.Ac6SystemWorkbenchfor STM32)
STM32CubeHardwareAbstractionLayer(HAL)
STM32Cube middleware
Upperlevelmiddleware
(e.g.ST OpenSoftwareX)
Middleware
Hardware Abstraction
STM32Cubeexpansionmiddleware
STM32 Nucleoexpansion boards (X-NUCLEO)
STM32 Nucleodeveloper boards
OPEN LICENSE MODELS: STM32Cubesoftware and sample applications are covered by a
mix of fully open source BSD license and ST licenses with very permissive terms.
www.st.com/stm32cube
STM32 Open Development Environment
Building block approach
17
The building blocks Your need Our answer
Move / Actuate
Connect
Power
Sense
Process
Inertial modules, magnetometer
Proximity, microphone
Pressure, temperature, humidity
Bluetooth LE, Sub-GHz radio
NFC, Wi-Fi, GNSS
Energy management & battery
General-purpose microcontrollers
Stepper motor driver
DC & BLDC motor driver
Audio amplifier
COLLECT
TRANSMIT
ACCESS
CREATE
POWER
PROCESS
Software
Secure microcontrollers
Touch controller
Operation Amplifier
Accelerometer, gyroscope
Translate
Industrial input / output
www.st.com/stm32ode
Loading...