![]() |
ADI iSensor FX3 Firmware
v2.9.4-pub
Firmware for the Analog Devices EVAL-ADIS-FX3 IMU Evaluation Platform. This firmware can be compiled using the Cypress EZ USB Suite IDE
|
This file contains all functions associated with the AppThread. More...
#include "AppThread.h"
Functions | |
static void | AdiDebugInit () |
This function initializes the UART controller to send debug messages. More... | |
static void | AdiAppInit () |
This function initializes the USB module and attaches core event handlers. More... | |
void | AdiAppThreadEntry (uint32_t input) |
This is the entry point for the primary iSensors firmware application thread. More... | |
Variables | |
CyU3PEvent | EventHandler |
char | serial_number [] |
This file contains all functions associated with the AppThread.
Copyright (c) 2018-2020 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors.
THIS SOFTWARE UTILIZES LIBRARIES DEVELOPED AND MAINTAINED BY CYPRESS INC. THE LICENSE INCLUDED IN THIS REPOSITORY DOES NOT EXTEND TO CYPRESS PROPERTY.
Use of this file is governed by the license agreement included in this repository.
|
static |
This function initializes the USB module and attaches core event handlers.
This function is called as part of the main application thread (AppThread) startup process when the ThreadX RTOS first boots. This function also retrieves the unique FX3 serial number from the EFUSE array.
void AdiAppThreadEntry | ( | uint32_t | input | ) |
This is the entry point for the primary iSensors firmware application thread.
input | Unused input argument required by the thread manager |
This function performs device initialization and then handles streaming start/stop commands for the various streaming methods. The actual work done for the streaming is performed in the StreamThread - seperating the two allows for better control and responsiveness to cancellation commands.
|
static |
This function initializes the UART controller to send debug messages.
This function is called as part of the main application thread startup process. The debug prints are routed to the UART and can be seen using a UART console running at 115200 baud rate. The UART Tx and Rx must be connected to DQ30 and DQ31 on the Cypress FX3 Explorer board. On the ADI iSensor FX3 Board (small board), the Rx and Tx are connected to pins 5 and 6 on the second 12 pin header.
|
extern |
ADI event structure
|
extern |
Global char buffer to store unique FX3 serial number