SLAAEM0 June 2024 MSPM0C1104 , MSPM0C1104 , MSPM0L1105 , MSPM0L1105 , PGA460 , PGA460
The software project is shown in Figure 3-1, developed in Code Composer Studio™ (CCS) software. It mainly consists of three parts. For other files, they are the default files for the MSPM0 project.
For ti_msp_dl_config part, it is generated by sysconfig (Graphic code generation tool), the MSPM0 initialization is for system initialization of MCU power, system controller, system clock, enabled peripherals and general-purpose input/output (GPIO).
For PGA460 part, it declares all the memory registers, basic variables, direct commands in PGA460 Ultrasonic Signal Processor and Transducer Driver Data Sheet. It also contains some basic function for SPI and UART protocol.
For the main part, it includes the highest system function code, after system initialization, the system continually sends operational commands to the PGA460 and transmits the measurement results back to the PC.
The PGA460 device can only be operated as a slave device and must be paired with an external microcontroller unit (MCU) which acts as the master device. The master device is responsible for the initialization, configuration, and regular polling operation of the PGA460 device. Figure 3-2 shows the high-level overview of the software flow and corresponding code for standard PGA460 operation.