Other Parts Discussed in Thread: DRV8837EVM,
Tool/software: Code Composer Studio
Hello,
I am working with a motor driver evaluation module (DRV8837EVM) where I am replacing the existing MCU (G2131) with an FR2111.
The idea is to get everything functioning the way it was with the G2131 but with the FR2111.
I already have everything set up hardware wise. I have identified the ADC channel as P1.1 on the FR2111. However, I need assistance when it comes to porting the code over in order to enable the ADC in the FR2111 to read the potentiometer thats included on the DRV8837EVM.
The current code for the ADC on the G2131 on the EVM is:
The code i currently have for the FR2111 is here:
How do I get the ADC initialized so that I can use the potentiometer with the FR2111?