I'm trying to trigger HSADC scan through PDB, but it doesn't seem to be working. PDB works fine independently with a basic counter and interrupt setup. Triggering HSADC through STARTA also works fine.
When I reconfigure my HSADC settings to have PDB trigger input, it just doesnt work. Here are my settings:
- SYNCA = 1
- SDIS = 0x0000
- SCTRL = 0xFFFF
- SIM->SOPT7 |= SIM_SOPT7_HSADC0AALTTRGEN(SOPT7_HSADC0AALTTRGEN_PDB
Am I missing anything?