TIDUET7G September 2019 – October 2023
The software project makes use of the C-background and C-ISR framework. The project uses C background code as the main supporting program for the application, which is responsible for all system management tasks, decision making, intelligence, and host interaction. The C-ISR code is executed inside a time critical interrupt service routine (ISR), and runs all the critical control code. This code includes ADC reading, control calculations, and PWM updates. The Control ISR portion of the C-ISR is executed at a fixed rate of 50 kHz using a spare PWM module timer. Figure 3-23 shows the software flow diagram of the firmware.
This project is divided into two incremental labs, which makes learning and getting familiar with the board
and software easier. This approach is also good for debugging and testing boards.
Lab 2: Closed-Loop Control With SFRA
These labs are detailed in Section 3.1.3.5. If using the reference design hardware, make sure the hardware setup is completed as outlined in Section 3.1.1.