Search found 6 matches

by Tris
Thu Aug 26, 2010 12:48 pm
Forum: Flowcode V4
Topic: Timer1 and sleep
Replies: 8
Views: 5755

Re: Timer1 and sleep

I am running the oscillator of a 32Khz external oscilator, but the lp and xt setting are for a external crystal!!

I currently have the internal and external switchover enabled and low power timer1 is disabled.
by Tris
Wed Aug 25, 2010 8:50 pm
Forum: Flowcode V4
Topic: Timer1 and sleep
Replies: 8
Views: 5755

Re: Timer1 and sleep

Thnaks for all your help. I still have not been able to get it working. According to the data sheet for the 18f2523 timer1 can be used in sleep mode.
by Tris
Fri Aug 20, 2010 3:22 pm
Forum: General Programming
Topic: several problems with PIC18F25J50 the second
Replies: 2
Views: 3193

Re: several problems with PIC18F25J50 the second

try using a string manipulation box and putting m_Send = "test," in it, instead of doing the c command box with FCV_M_SEND = 'T'.....
by Tris
Fri Aug 20, 2010 12:06 pm
Forum: Flowcode V4
Topic: Timer1 and sleep
Replies: 8
Views: 5755

Re: Timer1 and sleep

Here is the C code generated from the flowcode project. Can anyone see anything that im am doing wrong. The PIC never wakes from sleep mode, even though I am interupting the PIC using an external timer1 osc. //Internal functions #include "C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\inter...
by Tris
Thu Aug 19, 2010 3:31 pm
Forum: Flowcode V4
Topic: Timer1 and sleep
Replies: 8
Views: 5755

Re: Timer1 and sleep

Thanks for your reply. I tried using a nop(); before and after the sleep command, but it still doesn't wake from the sleep command. It does wake from an idle sleep, but not from a true sleep instruction.
by Tris
Thu Aug 19, 2010 2:37 pm
Forum: Flowcode V4
Topic: Timer1 and sleep
Replies: 8
Views: 5755

Timer1 and sleep

Hi, Having trouble using an external timer1 connected to the T13CKI pin to get the PIC to wake from sleep mode. I am basically trying to build a pulse generator. I have a 32Khz oscillator connected to the T13CKI pin. I then set up an interrupt in flowcode using the built in TMR1 interrupt function. ...