Author |
Message |
Topic: PIC16F1947 |
shambhuvetal
Replies: 13
Views: 17896
|
Forum: General CCS C Discussion Posted: Tue Feb 21, 2012 1:54 am Subject: Pic16F1947 |
Dear Sir,
This code is not for debugging purpose.
I am working from last 3 year on CCS cross Compiler.
I have that much experience.
I am just sharing problem so that other guys will take some solu ... |
Topic: PIC16F1947 |
shambhuvetal
Replies: 13
Views: 17896
|
Forum: General CCS C Discussion Posted: Mon Feb 20, 2012 12:49 pm Subject: PIC16F1947 |
Problem was when my code jump from page 1 to page 5 it wont works.
It may be because of pointer.
CCS need to solve this problem.
Now I am facing new problems.
1. I can not use two serial por ... |
Topic: PIC16F1947 |
shambhuvetal
Replies: 13
Views: 17896
|
Forum: General CCS C Discussion Posted: Wed Jan 25, 2012 11:47 am Subject: PIC16F1947 |
OK, i will try 4K7.
but pull will not display data from RTC/EEPROM/ADC.
why this will reset CPU?
Confused. |
Topic: PIC16F1947 |
shambhuvetal
Replies: 13
Views: 17896
|
Forum: General CCS C Discussion Posted: Wed Jan 25, 2012 11:33 am Subject: PIC16F1947 |
Pull up resistor is 10K.
I haven't tried for another version.
i will try it.
Thanks for your valuable advice. |
Topic: PIC16F1947 |
shambhuvetal
Replies: 13
Views: 17896
|
Forum: General CCS C Discussion Posted: Wed Jan 25, 2012 6:13 am Subject: 16f1947 problem |
Code works fine when it is in small pieces.
e.g. when i add only RTC , it works fine.
when i add RTC+EEPROM,it works fine.
but when i add more than this CPU reset.
then it doesn't matter whe ... |
Topic: PIC16F1947 |
shambhuvetal
Replies: 13
Views: 17896
|
Forum: General CCS C Discussion Posted: Wed Jan 25, 2012 1:51 am Subject: PIC16F1947 |
Attaching not working code:
#include "16F1947.h"
#fuses HS,NOWDT,PUT,BROWNOUT,NODEBUG,NOLVP,PLL_SW
#use delay (clock=11.0592MHZ)
#define SEL1 PIN_A0
#define SEL2 PIN_A1 ... |
Topic: PIC16F1947 |
shambhuvetal
Replies: 13
Views: 17896
|
Forum: General CCS C Discussion Posted: Tue Jan 24, 2012 11:16 am Subject: PIC16F1947 |
Hi Everyone,
I am using PIC16F1947 MCU.
CCS PCWHD Version 4.118 compiler.
I am facing lot of problems with this version.
When I add I2C routine in code, cpu get reset.
It may be because of stac ... |
Topic: Problem in RS-232 |
shambhuvetal
Replies: 2
Views: 4184
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2008 4:43 am Subject: Problem in RS-232 |
Hi,
when i write program for 1200 baud rate .
it shows some garbage values displayed over hyper terminal.
#use delay(clock = 8MHz)
#use RS232(baud = 1200,rcv = PIN_C7,xmit = PIN_C6)
& i ... |
Topic: PIC16F917, in built LCD in 1/3 mux |
shambhuvetal
Replies: 15
Views: 17318
|
Forum: General CCS C Discussion Posted: Sat Sep 20, 2008 8:59 am Subject: Yes,got a solution |
Hello pcm programmer,
Problem get solved.
its my silly mistake.
i have connected LCD1 = 3V LCD2 = 2V & LCD3 = 1V
that's why my code get inverted & all those problems occured.
Now i ha ... |
Topic: PIC16F917, in built LCD in 1/3 mux |
shambhuvetal
Replies: 15
Views: 17318
|
Forum: General CCS C Discussion Posted: Fri Sep 19, 2008 1:08 am Subject: LCD Problem |
Hi,
I have implemented all suggestions.
but still its not working.
hence attaching code.
/
*-------------------------------------------------------*/
#if defined(__PCM__)
#include <1 ... |
Topic: PIC16F917, in built LCD in 1/3 mux |
shambhuvetal
Replies: 15
Views: 17318
|
Forum: General CCS C Discussion Posted: Thu Sep 18, 2008 8:38 am Subject: Thanks !!!!!!!!!!!!!!!! |
Hello PCM programmer,
Thank you very much.
you have taken lot of effort to find out problems.
I will implement your suggestions as early as possible.
for now i will say only
Thanks again & ... |
Topic: PIC16F917, in built LCD in 1/3 mux |
shambhuvetal
Replies: 15
Views: 17318
|
Forum: General CCS C Discussion Posted: Wed Sep 17, 2008 3:39 am Subject: Test Program |
Hello PCM Programmer
Attaching program for reference
/*-----------------------------------------------------------*/
#if defined(__PCM__)
#include <16F917.h>
#DEVICE ICD=TRUE
... |
Topic: PIC16F917, in built LCD in 1/3 mux |
shambhuvetal
Replies: 15
Views: 17318
|
Forum: General CCS C Discussion Posted: Tue Sep 16, 2008 11:39 pm Subject: LCD problem |
I have mfg my own board.
I am using BEL's B303 LCD.
Attaching datasheet Link for LCD.
Schematic is as follow.
PIC16f917 Pin No. LCD B303 Pin no.
27 1
28 ... |
Topic: PIC16F917, in built LCD in 1/3 mux |
shambhuvetal
Replies: 15
Views: 17318
|
Forum: General CCS C Discussion Posted: Tue Sep 16, 2008 11:54 am Subject: LCD Problem |
Hi,
I am using CCS's PCM 4.13 cross compiler & PIC 16f917 IC
to drive BEL's B303 1/3 mux 7 seg LCD.
when i try to turn on 3 seg of com0 all three seg are turned off.
when i try to turn on 2 se ... |
Topic: PIC16F917, in built LCD in 1/3 mux |
shambhuvetal
Replies: 15
Views: 17318
|
Forum: General CCS C Discussion Posted: Thu Sep 04, 2008 5:36 am Subject: I got soln with new problem |
Dear friend,
When I invert all the signals the 1/3 multiplexed LCD works
properly. I turn on & off each segment separately, e.g. to turn on seg1.
LCD_SYMBOL(0xFE, DIGIT1);
This turns on ... |
|