added code to write match register and only enter the sampling freq required