AN1754 is an ST7 application note that describes how to implement a data logging system using the ICC protocol.
This document details a data logging system designed to record variable or register values from ST7 microcontroller applications during development. The system utilizes the ICC (In-Circuit Communication) protocol to connect the ST7 device with an external controller, such as a PC running the STVP7 software interface.
The note provides instructions for configuring both the PC-side software and the ST7-side code. It explains how to adapt the package for specific ST7 devices, manage ICC mode entry settings, and handle data transmission between the microcontroller and the PC to store data in a file for later analysis.
The system works with ST7 devices supported by the STICK, excluding the USB family devices.
The timeout parameter defines the maximum time the PC software will wait to receive a byte before timing out.
The received bytes are stored in a file named Datafile.doc located in the PC_application folder.