User Documentation

Introduction

_images/logos.png

Maxim’s Santa Cruz (MAXREFDES23#) reference design is the world’s smallest IO-Link® light sensor compliant with IEC 61131-9. The entire design fits onto a 6.5mm x 25mm printed circuit board (PCB).

Board Specification

_images/MAXREFDES23.png
Item Specification
Oscillator Frequency 18.432 MHz
Microcontroller Renesas RL78/G1A (R5F10E8EALA)
DC Power 24 V via M12 Connector
LEDs
  • Power indicator: Green x1
  • IO-Link indicator: Amber x1
  • Digital output indicator: Red x1
IO-link Connector Male M12 4-pole A-coded
IO-Link PHY Maxim MAX14821EWA+
Sensor Maxim MAX44008EDT+

Project Goal

_images/SANTA_CRUZ_IO_LINK_ALS_INDUSTRIAL_rgb.png

The purpose of this project is by giving the user a strong basis to start develop production-ready IO-Link® application based on Maxim Integrated IO-Link device transceiver (MAX14821), a Renesas ultra-low-power, 16-bit microcontroller (RL78) and iqStack® IO-Link Device Stack.

Sensor Logic

In iqmaxrefdes23 have been implemented simple switch-point hysteresis logic and additionally can be configured as normally closed or normally opened.

_images/sp.png

By default light switch-point settings (255 is the maximal value):

What SP (Level) Hysteresis Mode
Light intensity 128 (0x80) 16 (0x10) Normally closed
Darkness control 16 (0x10) 4 (0x04) Normally opened

Note

When a device is in IO-Link OPERATE mode, light intensity switch-point flag indicated on digital output channel (red LED).

Installation Details

There are two ways to experiment with MAXREFDES23#:

  • Upload Firmware HEX-file, connect a device to IO-Link Master and play around.
  • Clone the source code from Bitbucket repository, go throw and try to debug.

Firmware

Firmware HEX-file, IODDs data and this document in PDF format can be downloaded from the Bitbucket repository absolutely free without registration.

To upload HEX-file into MAXREFDES23 have to get Renesas E1 emulator and also Renesas Flash Programmer.

Source Code

The project source code can be cloned from the Bitbucket repository freely without registration.

Download a trial version of IAR RL78 Embedded Workbench IDE in order to compile it and also take a look for Renesas Application Leading Tool (Applilet).

Also the Renesas E1 emulator and Renesas Flash Programmer needed to start debug session with a device.

Troubleshooting

If during power-on self-test (POST) hardware fails were occurred, then the main sensor application will not started and instead a first appeared hardware fail number was blinked on digital output red-indicator channel continuously.

Blinks Count Fail Description
1 Renesas RL78 Illegal memory access (a firmware error, contact with developers)
2 Renesas RL78 RAM parity check (a firmware error, contact with developers)
3 Renesas RL78 Illegal instruction (a firmware error, contact with developers)
4 Maxim MAX14821EWA+ selfcheck (try to restart the device)
5 Maxim MAX44008EDT+ selfcheck (try to restart the device)

License

All source files with the correspondent header notes are the subject to the IQ² Development GmbH terms and conditions defined in file Allgemeine Vertragsbedingungen.pdf.

For any other details please contact with us.