4.8. Diagnostic Kernel¶
The diagnostic kernel allows real-time diagnostics and testing through interaction with an external host PC. At this time, there are two options, selectable in the Customize page of motorBench® Development Suite:
X2Cscope from the Linz Center of Mechatronics GmbH, for use with the X2Cscope plugin for MPLAB® X. This is the default option.
“None” is for board configurations without a UART for diagnostics or to reduce CPU usage.
X2Cscope is configured to sample data at the control ISR (nominally 20 kHz) and use a UART channel for communication with the host PC.
4.8.1. Implementation Notes¶
4.8.1.1. Modules¶
Module |
Files |
Description |
Comments |
---|---|---|---|
diagnostics |
diagnostics.c diagnostics.h |
Top-level diagnostics |