Truncated match.
PICList
Thread
'PIC64/65 and TMR1 question'
1997\02\12@152416
by
Philippe TECHER
|
Hi all,
I try to use TMR1 section and read PIC16C6X documentation from Microchip.
There is some item which are not very clear:
** about TMR1 external oscillator:
- does the oscillator run if T1OSCEN=1 only ?
I mean even if TMR1CS=0 OR TMR1ON=0 ?
- what is exactly the condition which allows the TMR1 oscillator
to run ?
** about TMR1 external oscillator output:
- documentation is not very clear about Input and Output for
external oscillator / TMR1 counter input
- in PDF doc file (30234B.PDF) 16C6X, page 51 and 52 there is the
following pin assignation for timer 1:
for 16C64A, R64, 65, 65A:
RC.0 T1CKIn or T1OSCout
RC.1 T1OSCIn
for 16C64:
RC.0 T1CKIn or T1OSCIn
RC.1 T1OSCOut
I have some difficulty to believe the PIN RC.0 and RC.1 are inverted between
the 16C64 version and the over version. It is a mistake ?
- About TMR1 oscillator output:
If the external oscillator bit is set (T1OSCEn), does the pin T1OSCOut output
a square wave if RC.0(RC.1) port is set as output.
Who have the priority on portC, the TMR1 oscillator or the TRISC register ?
If RC.0 is set as input, can we read the pin state, i.e. the square wave from
a read port instruction ?
- About TMR1 Counter mode:
If RC.0 is set as output, by setting and clearing this bit from a program, we
can normally incremented TMR1 counter, I'm right ?
The main problem is the documentation never said clearly when the PORT C pin
are dedictated to TIMER and when PORT C pin are dedicated to TRIS C register.
The schematic figure 5-6 at page 52 will not help the user, nothing is said
about "peripheral select" !!!!!
Thanks to help me
Philippe. (spam_OUTP.TECHERTakeThisOuT
insat.com)
1997\02\12@161827
by
Philippe TECHER
|
Please help me to solve TMR1 question,
I try to use TMR1 section and read PIC16C6X documentation from Microchip.
There is some item which are not very clear:
** about TMR1 external oscillator:
- does the oscillator run if T1OSCEN=1 only ?
I mean even if TMR1CS=0 OR TMR1ON=0 ?
- what is exactly the condition which allows the TMR1 oscillator
to run ?
** about TMR1 external oscillator output:
- documentation is not very clear about Input and Output for
external oscillator / TMR1 counter input
- in PDF doc file (30234B.PDF) 16C6X, page 51 and 52 there is the
following pin assignation for timer 1:
for 16C64A, R64, 65, 65A:
RC.0 T1CKIn or T1OSCout
RC.1 T1OSCIn
for 16C64:
RC.0 T1CKIn or T1OSCIn
RC.1 T1OSCOut
I have some difficulty to believe the PIN RC.0 and RC.1 are inverted between
the 16C64 version and the over version. It is a mistake ?
- About TMR1 oscillator output:
If the external oscillator bit is set (T1OSCEn), does the pin T1OSCOut output
a square wave if RC.0(RC.1) port is set as output.
Who have the priority on portC, the TMR1 oscillator or the TRISC register ?
If RC.0 is set as input, can we read the pin state, i.e. the square wave from
a read port instruction ?
- About TMR1 Counter mode:
If RC.0 is set as output, by setting and clearing this bit from a program, we
can normally incremented TMR1 counter, I'm right ?
The main problem is the documentation never said clearly when the PORT C pin
are dedictated to TIMER and when PORT C pin are dedicated to TRIS C register.
The schematic figure 5-6 at page 52 will not help the user, nothing is said
about "peripheral select" !!!!!
Thanks to help me
Philippe. (.....P.TECHERKILLspam
@spam@insat.com)
More... (looser matching)
- Last day of these posts
- In 1997
, 1998 only
- Today
- New search...