The program is running normally (timers, counters, buttons). Only the LCD doesn't work.Seniorlemuren wrote:Maybe some problem with the crystal oscillator. Have you checked that the uC realy is working with some blinking led. Dont forget that 2 capacitors at 15-22 pF are needed over the crystal.
Search found 16 matches
- 14 Dec 2012 19:14
- Forum: mikroC PRO for PIC General
- Topic: Problem with LCD 16x2 at pic 18F46k80
- Replies: 5
- Views: 1923
Re: Problem with LCD 16x2 at pic 18F46k80
- 14 Dec 2012 19:12
- Forum: mikroC PRO for PIC General
- Topic: Problem with LCD 16x2 at pic 18F46k80
- Replies: 5
- Views: 1923
Re: Problem with LCD 16x2 at pic 18F46k80
Hello to all.
I put a 18pF capacitor in each lead of the capacitor to gnd.
What would be the bits that I will need to change? Somebody knows?
Thank you!
I put a 18pF capacitor in each lead of the capacitor to gnd.
What would be the bits that I will need to change? Somebody knows?
Thank you!
- 12 Dec 2012 20:53
- Forum: mikroC PRO for PIC General
- Topic: Problem with LCD 16x2 at pic 18F46k80
- Replies: 5
- Views: 1923
Problem with LCD 16x2 at pic 18F46k80
Hi, I am doing a project with the pic 18F46k80. At the beginning of my project I was using the internal RC oscillator configuration at 16MHz. My application use a LCD 16x2. I completed the project in this configuration and I never had some problem with the LCD. However I needed to put a external cry...
- 19 Sep 2012 13:40
- Forum: mikroC PRO for PIC General
- Topic: modbus communication
- Replies: 1
- Views: 953
modbus communication
Hi,
How I use a modbus communication with mikroC??
Is there a library for this?
How I use a modbus communication with mikroC??
Is there a library for this?
- 03 Jul 2012 20:41
- Forum: mikroC PRO for PIC General
- Topic: Can I use the pickit3 for debug in MikroC?
- Replies: 3
- Views: 1635
Re: Can I use the pickit3 for debug in MikroC?
How can I set the COFF file?
- 26 Jun 2012 12:28
- Forum: mikroC PRO for PIC General
- Topic: Can I use the pickit3 for debug in MikroC?
- Replies: 3
- Views: 1635
Can I use the pickit3 for debug in MikroC?
Hi,
I´m using the pic 18F45K80, and I would like if is possible I use the pickit3 to debug in MikroC.
Regards.
I´m using the pic 18F45K80, and I would like if is possible I use the pickit3 to debug in MikroC.
Regards.
- 16 May 2012 14:29
- Forum: mikroC PRO for PIC General
- Topic: Problem with CAN to 18F45k80
- Replies: 8
- Views: 2463
Re: Problem with CAN to 18F45k80
Hi all people!
My project worked!
Thank you for all the support!
Regars!
My project worked!
Thank you for all the support!
Regars!
- 10 May 2012 15:42
- Forum: mikroC PRO for PIC General
- Topic: Problem with CAN to 18F45k80
- Replies: 8
- Views: 2463
Re: Problem with CAN to 18F45k80
Hi again, another problem. I will try to describe the error. Before I put a piece of my program: Can_Init_Flags = _CAN_CONFIG_PHSEG2_PRG_ON & _CAN_CONFIG_LINE_FILTER_OFF & _CAN_CONFIG_SAMPLE_THRICE & // form value to be used // with CANInit _CAN_CONFIG_STD_MSG & _CAN_CONFIG_DBL_BUFFER_OFF & _CAN_CON...
- 10 May 2012 14:18
- Forum: mikroC PRO for PIC General
- Topic: Problem with CAN to 18F45k80
- Replies: 8
- Views: 2463
Re: Problem with CAN to 18F45k80
Hi, I have changed to RB2 and RB3, and now the program pass the CAN initialization. I use an internal oscilator of 64MHz. My BRP is 16: Prop_seg = 2 Phase_seg1 = 7 Phase_seg2 = 6 SJW = 1 I need a Baud Rate of 125kb/s. This is the line of program: CANInitialize(1,16,7,6,2,Can_Init_Flags); All is ok? ...
- 10 May 2012 12:10
- Forum: mikroC PRO for PIC General
- Topic: Problem with CAN to 18F45k80
- Replies: 8
- Views: 2463
Re: Problem with CAN to 18F45k80
Hi,
Thanks for the answer.
I'm using the CANRX as RC7 and CANTX as RC7. I have changed in Edit Project the ECAN Mux Bit to RC6 and RC7. This isn't correct?
To calculate the BRP I used the 18F45k80 datasheet. And in your formula, what is 'N'??
Regards
Thanks for the answer.
I'm using the CANRX as RC7 and CANTX as RC7. I have changed in Edit Project the ECAN Mux Bit to RC6 and RC7. This isn't correct?
To calculate the BRP I used the 18F45k80 datasheet. And in your formula, what is 'N'??
Regards
- 09 May 2012 18:34
- Forum: mikroC PRO for PIC General
- Topic: Problem with CAN to 18F45k80
- Replies: 8
- Views: 2463
Re: Problem with CAN to 18F45k80
Nobody is using CAN?
=/
=/
- 08 May 2012 21:27
- Forum: mikroC PRO for PIC General
- Topic: Problem with CAN to 18F45k80
- Replies: 8
- Views: 2463
Problem with CAN to 18F45k80
Hi, I'm developing a new project using the ECAN Module with the PIC 18F45K80. The program is locking at line of the 'CANInitialize'. Somebody have this same problem? This is my program. I have used a message in the display to show where was my error. I want to use a Baud Rate of 125Kbp/s. My clock o...
- 19 Apr 2012 11:51
- Forum: mikroC PRO for PIC General
- Topic: Can I use the PIC18F45k80 with the CAN Libarary?
- Replies: 2
- Views: 1008
Re: Can I use the PIC18F45k80 with the CAN Libarary?
filip wrote:Hi,
Yes, the CAN library supports the 18F45K80, this is just an error in the documentation which we will fix.
I apologize for the inconvenience caused by this.
Regards,
Filip.
Thank you Filip.
I will start my project now.
Regards,
Eduardo.
- 18 Apr 2012 15:06
- Forum: mikroC PRO for PIC General
- Topic: Can I use the PIC18F45k80 with the CAN Libarary?
- Replies: 2
- Views: 1008
Can I use the PIC18F45k80 with the CAN Libarary?
Hi, I´m starting a new project using the PIC 18F45k80. There is this message in the CAN Library: "CAN routines are currently supported for P18XXX8, P18F4480, P18F4580, P18F2580 and P18F2480 PIC MCUs." In this message do not have a mention to PIC 18F45k80, only to PIC 48F4580. Somebody know to say me...
- 08 Dec 2011 10:51
- Forum: mikroBasic PRO for PIC General
- Topic: IRP bit must be set manually for indirect access to '?Loca
- Replies: 27
- Views: 31460
Re: IRP bit must be set manually for indirect access to '?Lo
Hello, Please can you explain in more details the problem that you are facing. Aldo if you can post here the project that is causing this behavior so we can inspect it. Best regards. The problem is the acess in the BANK 1, 2 and 3! I was reading the mikroC manual and there is this: " Limits of Indi...