22.2.2 Timer1 Mode Resource
Timer1 must be running in Timer mode or Synchronized Counter mode for the CCP module to use the capture feature. In Asynchronous Counter mode, the capture operation may not work.
See section “Timer1 Module with Gate Control” for more information on configuring Timer1.