SLAU847D October 2022 – May 2024 MSPM0L1105 , MSPM0L1106 , MSPM0L1227 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2228 , MSPM0L2228-Q1
The OPA peripheral allows customers to dynamically change the OPA gain without disabling OPA functionality by using the register CFG.GAIN control bits. When using the control bits CFG.GAIN to select between different gain values, the user must ensure that the additional CFG control bits remain unchanged, and that the CFG.GAIN control bits do not get cleared to 0x0.
To ensure proper operation of the OPA, the configuration settings except the CFG.GAIN bits governed by the CFG register can only be changed when the OPA is disabled. This means that to change OPA inputs or mode within an application, a user must perform the following: