Skip to content

Trace and debug

The technical notes describe how to trace and debug when Defining a non-listed board or Migrating to another SDK, and when creating a ticket for the help-desk .

Software

The PDLS library can Generate a trace sent to the serial console for SPI, Wire, OTP memory and power management.

The hV_Board.h header file of the hV_Board_EXT3 library lists the different options.

///
/// @brief 12- Debug options
///
#define DEBUG_SPI_SCREEN 0 ///< SPI debugging for screen, 1 = activated, otherwise 0; recommended = 0
#define DEBUG_OTP 0 ///< Print OTP content, 0 = no, 1 = yes; recommended = 0
#define DEBUG_POWER 0 ///< Trace power management, 0 = no, 1 = yes; recommended = 0
#define DEBUG_WIRE 0 ///< Trace Wire, 0 = no, 1 = yes; recommended = 0

Hardware

An external logic analyser can record the signals to Debug the screen SPI signals and Debug the touch I²C signals.

This is the recommended approach when Defining a non-listed board and Migrating to another SDK.


Next