Hi,
I followed the configuration sequence from section 11.1.3 (Digital input filter configuration sequence).
First of all I configured the pins through the function PINS_DRV_Init, then I write direct to the registers as follow:
PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);
PORTB->DFCR = PORT_DFCR_CS(PORT_DIGITAL_FILTER_LPO_CLOCK);
PORTB->DFWR = PORT_DFWR_FILT(0x1F);
PORTB->DFER |= 1<<23;
PORTB->PCR[23] &= ~0x700;
PORTB->PCR[23] |= 0x100;
DelayFilter=0; while(DelayFilter<TIME_DELAY_FILTER) DelayFilter++;
PORTB->PCR[23] &= ~0x700;
PORTB->PCR[23] |= 0x100;
PORTC->DFCR = PORT_DFCR_CS(PORT_DIGITAL_FILTER_LPO_CLOCK);
PORTC->DFWR = PORT_DFWR_FILT(0x1F);
PORTC->DFER |= 1<<14;
PORTC->PCR[14] &= ~0x700;
PORTC->PCR[14] |= 0x100;
DelayFilter=0; while(DelayFilter<TIME_DELAY_FILTER) DelayFilter++;
PORTC->PCR[14] &= ~0x700;
PORTC->PCR[14] |= 0x100;
PORTC->DFCR = PORT_DFCR_CS(PORT_DIGITAL_FILTER_LPO_CLOCK);
PORTC->DFWR = PORT_DFWR_FILT(0x1F);
PORTC->DFER |= 1<<15;
PORTC->PCR[15] &= ~0x700;
PORTC->PCR[15] |= 0x100;
DelayFilter=0; while(DelayFilter<TIME_DELAY_FILTER) DelayFilter++;
PORTC->PCR[15] &= ~0x700;
PORTC->PCR[15] |= 0x100;
Regards,
Eduard.