Logging Read And Write Operations - NXP Semiconductors UJA1169A User Manual

Table of Contents

Advertisement

NXP Semiconductors

6.4.7 Logging read and write operations

UM11758
User manual
Example script using all available commands:
// This is an example script for UJA1169AXF-EVB
// For UJA1169AF-EVB/UJA1169AF3-EVB replace "UJA1169AXF" with applicable device name
// Do not run this script with the auto-repeat option,
//
because the script includes a PAUSE command
// write value 0x07 to Mode-control register
SET_REG:UJA1169AXF:Primary control:Mode control:0x07
// read Global event status register
GET_REG:UJA1169AXF:Event capture:Global event status
// turn on red LED
SET_DPIN:UJA1169AXF:RedLED:LOW
// give user time to identify the current LED color
PAUSE:RGB LED will change from red to green
// turn off red LED & turn on green LED
SET_DPIN:UJA1169AXF:RedLED:HIGH
SET_DPIN:UJA1169AXF:GreenLED:LOW
Example script that programs the SBC for Software Development mode:
// Script for programming UJA1169AXF SBC MTPNV registers to Software Development mode
// For UJA1169AF-EVB/UJA1169AF3-EVB replace "UJA1169AXF" with applicable device name
// Read MTPNV status register
GET_REG:UJA1169AXF:MTPNV and ID Registers:MTPNV status
// The user can now check if device is ready for programming
PAUSE:Only if MTPNV status value was an odd number, programming can be successful
// Set default reset length to maximum and no auto-start of VEXT
SET_REG:UJA1169AXF:MTPNV and ID Registers:Start-up control:0x00
// Set Software Development mode, allow Sleep mode and set max reset threshold as default
SET_REG:UJA1169AXF:MTPNV and ID Registers:SBC configuration control:0x04
// Enter the CRC code that fits to above selections
SET_REG:UJA1169AXF:MTPNV and ID Registers:MTPNV CRC control:0xFB
A tool is provided as an attachment to this document to calculate the CRC (see last two
lines in above script).
A system reset is generated after programming the MTPNV memory, after which the
connection between the FlexGUI and the board will need to be re-established (see
Section
6.4.2). If the reconnection fails, try again after a power-off/wait-3-seconds/power-
on sequence on the UJA1169Ax-EVB.
Each executed read or write access is logged in the upper left corner of the FlexGUI
window. The logged data can be saved to a log file at any time.
A number of Log Level filter options are available to tailor the logged data to the needs
of the user (see
Figure
and SDO ('in') are displayed for each SPI transfer (see script execution example in
Figure
38).
All information provided in this document is subject to legal disclaimers.
37). When 'FINEST' is selected, all bits of signals SDI ('out')
Rev. 1 — 19 April 2022
UM11758
UJA1169A evaluation boards
© NXP B.V. 2022. All rights reserved.
35 / 39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Uja1169af-evbUja1169axf-evbUja1169af3-evb

Table of Contents