Maybe this application note from MICROCHIP can help ;-)