Hi Lau,
I checked the Port configuration register and I could not find ACM_SGLDIFF (PG6) and ACM_RANGE (PG7) signals to be configured for peripheral use. You can configure these two ports pins, if you are not directly supplying the signal voltages at the ADC end.
Also you can refer to the attached ACM example code.
Regards,
Kritika