CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 14 matches
CCS Forum Index
Author Message
  Topic: Basic MODBUS example
buneri

Replies: 27
Views: 35372

PostForum: General CCS C Discussion   Posted: Sat Nov 03, 2007 1:03 am   Subject: How to access adress 43001
Thank You very much for fast response,
I dont understand, how it would be possible to locate 3001 adress location in PIC16f877A since it has very limitted memory.

If it is possible what technique ...
  Topic: Basic MODBUS example
buneri

Replies: 27
Views: 35372

PostForum: General CCS C Discussion   Posted: Fri Nov 02, 2007 12:25 am   Subject: How to access 43001 Adress
Int16 Registry_Map[128];
#locate Registry_Map = 0x200
Int8 REG_Map[256];
#locate REG_Map = Registry_Map

Int16 Recieved_Packets; // Accessed in holding re ...
  Topic: SPI Slave Receiving byte is shifting
buneri

Replies: 7
Views: 7424

PostForum: General CCS C Discussion   Posted: Tue Oct 09, 2007 12:06 am   Subject: SPI Slave Receiving byte is shifting
Dear Sir,
Master Code with Chip Selec disabled

setup_spi(SPI_MASTER | SPI_MODE_1_0 | SPI_CLK_DIV_4);
setup_timer_1(T1_INTERNAL|T1_DIV_BY_8);

enable_interrupts(INT_TIMER1);
enab ...
  Topic: Nokia 3310 LPH7779 rev 3 V3 Michel Bavin
buneri

Replies: 12
Views: 115724

PostForum: Code Library   Posted: Mon Oct 08, 2007 1:46 am   Subject: Nokia 3310 LPH7779 rev 3 V3 Michel Bavin
I wanna work on Mobile Communication but i have Nokia6030
Is the above code will work for Nokia6030 and other Nokia mobile?
Plz reply!
Thanks
  Topic: PIC and Cellular phone connection for SMS controlling
buneri

Replies: 8
Views: 7606

PostForum: General CCS C Discussion   Posted: Mon Oct 08, 2007 12:36 am   Subject: PIC and Cellular phone connection for SMS controlling
Also is there any need of cable driver for that?
If yes then is it also for PIC communications?
I m waiting 4 ur reply!
Thanks
  Topic: PIC and Cellular phone connection for SMS controlling
buneri

Replies: 8
Views: 7606

PostForum: General CCS C Discussion   Posted: Mon Oct 08, 2007 12:12 am   Subject: Thanks for reply!
Dear Sir,
I have change that too but no response.
One thing i want to ask is that "RS232 to ttl converter" is necessary while communicating mobile with PC through Hyperterminal?
Or it wil ...
  Topic: SPI Slave Receiving byte is shifting
buneri

Replies: 7
Views: 7424

PostForum: General CCS C Discussion   Posted: Sun Oct 07, 2007 11:49 pm   Subject: Thanks for clearifying me about SPI Modes
Dear Sir,
One thing i want to clearifying that is,
I am using SPI slave for just reading then,

for(i=0; i<4; i++)
data[i]=spi_read();
FL=make32(data[2],data[3],data[0],data[1]);

Is the a ...
  Topic: SPI Slave Receiving byte is shifting
buneri

Replies: 7
Views: 7424

PostForum: General CCS C Discussion   Posted: Sat Oct 06, 2007 12:30 am   Subject: Thanks Ckielstra
Thanks for your response.
I have change the Mode of slave as per your advise. i.e, both master and slave now have Mode 0-1 .Now

setup_spi(SPI_SLAVE|SPI_SS_DISABLED|SPI_MODE_1_0

But the problem ...
  Topic: SPI Slave Receiving byte is shifting
buneri

Replies: 7
Views: 7424

PostForum: General CCS C Discussion   Posted: Fri Oct 05, 2007 12:18 am   Subject: SPI Slave Receiving byte is shifting
Hi All,
I am using two PIC 16f87A chip for SPI communication.
Using PCWH 4.020

The master work fine, but the slave receiving the data with byte shifting.
Actually i wanna transfer four bytes of ...
  Topic: PIC and Cellular phone connection for SMS controlling
buneri

Replies: 8
Views: 7606

PostForum: General CCS C Discussion   Posted: Sun Sep 30, 2007 11:07 pm   Subject: GSM phone and PC connection
Thanks for reply!
I have connected my Nokia6030 mobile with PC and try some AT Command but no response from the phone.
I have select 9600 baud rate, parity=None, stop bit = 1
What should i change? ...
  Topic: Modbus protocol creating trouble for 16f628A chip
buneri

Replies: 3
Views: 10042

PostForum: General CCS C Discussion   Posted: Thu Sep 27, 2007 10:52 pm   Subject: Modbus 16f628A
Thx for reply!

Compiler Version PCWH 4.020
I m trying for RS232

#define USE_WITH_PC 1

#include <16f628A.h>
#device *=16
#fuses HS,NOLVP, NOBROWNOUT, NOPROTECT, PUT
#use delay(clock= ...
  Topic: Modbus protocol creating trouble for 16f628A chip
buneri

Replies: 3
Views: 10042

PostForum: General CCS C Discussion   Posted: Thu Sep 27, 2007 12:47 am   Subject: Modbus protocol creating trouble for 16f628A chip
I have used the 16f877A chip for modbus protocol by using ccs driver modbus.c, it works fine!
Bur when i used 16f628A chip for that purpose the serial port is creating problem. What should i change i ...
  Topic: PIC and Cellular phone connection for SMS controlling
buneri

Replies: 8
Views: 7606

PostForum: General CCS C Discussion   Posted: Sun Sep 16, 2007 11:59 pm   Subject: PIC and Cellular phone connection for SMS controlling
I am working on a GSM base project first time.
I dont understand how i would start,
First i want to ask how can i connect PIC with any cellular phone, either i would connect it via cable or directly ...
  Topic: I want to use both USART of PIC18f6722 for modbus protocol!
buneri

Replies: 1
Views: 3905

PostForum: General CCS C Discussion   Posted: Fri Sep 07, 2007 3:56 am   Subject: I want to use both USART of PIC18f6722 for modbus protocol!
I want to use both USART of PIC18f6722 for modbus protocol!
is it possible or not?
if yes will i modified driver for that or any other way?
please explain in detail
any help will be appreciated!
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group