dspic33f micro-controller sampling multiple channel for cross correlation