Hi Edward,
I wanted to add ADC1 AN1_3.
And then, I modified a code
volatile char ADC0CommandList[6][4] @0x00001000 = {
{0x40,0xD0,0x00,0x00},
{0xC0,0xCB,0x00,0x00},
{0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00}
};
volatile char ADC1CommandList[6][4] @0x00001018=
{
{0x40,0xCA,0x00,0x00},
{0xC0,0xD3,0x00,0x00},
{0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00},
{0x00,0x00,0x00,0x00}
};
volatile short PTUTriggerEventList[2][2][3] @0x00001048 =
{
{{0x0100,0x0200,0x0000},{0x0000,0x0000,0x0000}},
{{0x0100,0x0200,0x0000},{0x0000,0x0000,0x0000}}
};
Now Im getting ADC0 and ADC1 trigger error.
How to set the correct configuration?..
Regards
kaarthi