TIDUA05B June 2015 – March 2025
To allow for quick evaluation a virtual COM port based user interface was implemented. Any terminal interface at 115000 baud like Tera Term can be used.
The user interface allows the user to enter the line count of the connect Sin/Cos encoder before the program reaches the main menu. The menu provides menu item options for the user to select either a basic display mode with just the high-resolution angle printed or an expert display mode, both with a
10-Hz update rate. Further menu items are data dump modes at a 200-Hz update rate, intended write to a file for post analysis.
The flowchart of the user interface is shown in Figure 5-4.
Figure 5-4 Flowchart of UART Terminal User InterfaceTable 5-1 through Table 5-4 outlines the data output format for each of the four menu items. In data dump mode, a "tab" is included as delimiter between the data in each row.
| MENU | COLUMN 1 | COLUMN 2 | COLUMN 3 | COLUMN 4 | COLUMN 5 |
|---|---|---|---|---|---|
| "b" basic display | Total angle with ADS8354 (Scale) | — | — | — | — |
| Data format | Float (0 to 360 degrees) | — | — | — | — |
| MENU | COLUMN 1 | COLUMN 2 | COLUMN 3 | COLUMN 4 | COLUMN 5 |
|---|---|---|---|---|---|
| "e" expert display | Total angle with ADS8354 (Scale) | Marker index R occurred | Incremental count | Phase ADS8354 (scale) | Phase F28069M ADC (scale) |
| Data format | float (0 to 360 degrees) | Flag (Yes/No) | Integer | Float (0 to 1.0) | Float (0 to 1.0) |
| MENU | COLUMN 1 | COLUMN 2 | COLUMN 3 | COLUMN 4 | COLUMN 5 | COLUMN 6 |
|---|---|---|---|---|---|---|
| "d" angle dump | Total angle with ADS8354 (scale) | Total angle with F28069 ADC (scale) | Incremental count | Phase ADS8354 (scale) | Phase F28069M ADC (scale) | Periodic tick (scale) |
| Data format | Float (0 to 360 degrees) | Float (0 to 360 degrees) | Integer | Float (0 to 1.0) | Float (0 to 1.0) | Integer (66 µs) |
| MENU | COLUMN 1 | COLUMN 2 | COLUMN 3 | COLUMN 4 | COLUMN 5 | COLUMN 6 | COLUMN 7 |
|---|---|---|---|---|---|---|---|
| "r" raw data | Incremental count (SW) | Incremental count (Latch on /CS) | Input A+/A–, ADS8354 (scale) | Input B+/B–, ADS8354 (scale) | Input A+/A–, F28069 (scale) | Input A+/A–, F28069 (scale) | Periodic tick (scale) |
| Integer | Integer | Float (VPP) | Float (VPP) | Float (VPP) | Float (VPP) | Integer (66 µs) |