Re: Problem using Timer1 on PIC16LF15323
I am a bit suspicious of the datasheet.
It says there is a bit in T1CON called "RD16" documented as
bit 1 RD16: 16-bit Read/Write Mode Enable bit
0 = Enables register read/write of Timer1 in two 8-bit operation
1 = Enables register read/write of Timer1 in one 16-bit operation
but it is not mentioned anywhere else.
In some other PICs, that is used to enable a latch on the high byte register.
Just for kicks, try writing TMR1H before TMR1L, and see if it makes a difference.
TMR1H = 0xFF0;
TMR1H = 0xFF;
This forum is mis-configured so it only works correctly if you access it via https
The Microchip website links to it using http
protocol. Will they ever catch on?PicForum
"it just works"