Author |
Message |
Topic: Resources used by ICD3 debugger |
hello188
Replies: 2
Views: 5603
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2014 2:33 am Subject: Resources used by ICD3 debugger |
Hi. I have been debugging my firmware using MPLAB ICD3. It had been working fine until the program memory usage became about 98%.
The program seems to work fine when downloaded and operated alone. ... |
Topic: Low power USB device |
hello188
Replies: 2
Views: 5461
|
Forum: General CCS C Discussion Posted: Wed Apr 16, 2014 9:48 pm Subject: Low power USB device |
Thanks.
For those who are looking for the similar parts, I've found the devices that support active clock tuning for USB.
They are PIC16F145x, PIC18F2X/4xK50 and PIC18FxxJ94
Thank you. |
Topic: Low power USB device |
hello188
Replies: 2
Views: 5461
|
Forum: General CCS C Discussion Posted: Tue Apr 15, 2014 8:32 pm Subject: Low power USB device |
Hi
I would like to design the system in which the PIC operates at less than 2 mA when USB is not connected with low frequency (about 1MHz or 4MHz internal Oscillator).
When USB is connected, the ... |
Topic: interrupt priority and IPR1, IPR2, IPR3 SFR's |
hello188
Replies: 1
Views: 5561
|
Forum: General CCS C Discussion Posted: Mon Dec 09, 2013 3:20 am Subject: interrupt priority and IPR1, IPR2, IPR3 SFR's |
Hi, I used compiler directive to set the interrupt priority. However, looking at the special function registers for interrupt priority, and it looks like the priorities were not reflected onto the SFR ... |
Topic: Baud rate tolerance?? |
hello188
Replies: 5
Views: 13031
|
Forum: General CCS C Discussion Posted: Mon Dec 09, 2013 3:13 am Subject: Baud rate tolerance?? |
I think I miscalculated the error's.
I was relying on past calculation made when I was using only 4MHz clock.
Thanks |
Topic: Baud rate tolerance?? |
hello188
Replies: 5
Views: 13031
|
Forum: General CCS C Discussion Posted: Mon Dec 09, 2013 2:00 am Subject: Baud rate tolerance?? |
Thanks. I think I can get by with 12MHz crystal PLL'ed 4x.
that will give me just about 1% error. |
Topic: Baud rate tolerance?? |
hello188
Replies: 5
Views: 13031
|
Forum: General CCS C Discussion Posted: Sun Dec 08, 2013 11:05 pm Subject: Baud rate tolerance?? |
Hi, I am using PIC18F47J53 for USB application.
At the same time I want to implement Modbus RTU over the USART.
However, the nature of USB forbids me from using baud rate friendly X-tals.
Us ... |
Topic: GPIO on PIC undershooting |
hello188
Replies: 5
Views: 9769
|
Forum: General CCS C Discussion Posted: Mon Sep 23, 2013 8:20 pm Subject: GPIO on PIC undershooting |
Thank you.
I redid the auto-compensation on my tektronix oscilloscope, and still shows
the undershoot. There is overshoot too, but it's not as bad as the undershoot
So, basically, I have to co ... |
Topic: GPIO on PIC undershooting |
hello188
Replies: 5
Views: 9769
|
Forum: General CCS C Discussion Posted: Sun Sep 22, 2013 9:43 pm Subject: GPIO on PIC undershooting |
Hi, I was troubleshooting SPI /SS line and noticed that the output undershoots about 500mV(to -500mV), for about 5ns and returns back to 0.
In datasheet, the absolute maximum rating for the pin is ... |
Topic: Maximum current consumption for RS-485 chip? |
hello188
Replies: 5
Views: 11588
|
Forum: General CCS C Discussion Posted: Sun Sep 22, 2013 9:11 pm Subject: Maximum current consumption for RS-485 chip? |
Thank you guys!!, I now get it. |
Topic: Maximum current consumption for RS-485 chip? |
hello188
Replies: 5
Views: 11588
|
Forum: General CCS C Discussion Posted: Mon Sep 16, 2013 6:58 pm Subject: Maximum current consumption for RS-485 chip? |
Hi. I am designing a Modbus and Profibus interface.
How much current do I have to allot for an RS-485 chip?
On data sheets, maximum current on B-A line says about 55mA ish.
So, is it safe bet ... |
Topic: Maximum length for a name of a variable? |
hello188
Replies: 9
Views: 13107
|
Forum: General CCS C Discussion Posted: Sun Sep 15, 2013 11:55 pm Subject: Thank you |
Thank you!! |
Topic: Maximum length for a name of a variable? |
hello188
Replies: 9
Views: 13107
|
Forum: General CCS C Discussion Posted: Thu Sep 12, 2013 11:25 pm Subject: Maximum length for a name of a variable? |
Hi. what is the maximum variable name length for CCS-C compiler??
anyone tried? |
Topic: modbus master PC program |
hello188
Replies: 3
Views: 7182
|
Forum: General CCS C Discussion Posted: Thu Sep 12, 2013 1:46 am Subject: modbus master PC program |
It is most likely that your hardware setup does not match your software driver setup, and your PC's setup.
Are you using RS-232C? or are you using RS-485.
I tried ex_modbus_slave.c, and it works ... |
Topic: PIC 24 series ICSP |
hello188
Replies: 2
Views: 7247
|
Forum: General CCS C Discussion Posted: Sat Aug 24, 2013 1:32 am Subject: PIC 24 series ICSP |
Thank you!!
I appreciate it. |
|