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 26 matches
CCS Forum Index
Author Message
  Topic: [Help] UART processing with RS485
Delfy_Coltech

Replies: 10
Views: 13466

PostForum: General CCS C Discussion   Posted: Thu Jul 18, 2013 8:01 pm   Subject: [Help] UART processing with RS485
Dear all,
thanks for all comments of you!
Finally, in this case, there are two way:
1. Accept to receive all slave messages and then check to ignore unnecessary message
2. On/Off UART (or enable/d ...
  Topic: [Help] UART processing with RS485
Delfy_Coltech

Replies: 10
Views: 13466

PostForum: General CCS C Discussion   Posted: Thu Jul 18, 2013 9:16 am   Subject: [Help] UART processing with RS485
Dear Mr ezflyr!

I know that!
But it still waste a few time to receive all slave respond and then we must check to ignore!

Any better idea? or we must use that way? Receive all then check and ig ...
  Topic: [Help] UART processing with RS485
Delfy_Coltech

Replies: 10
Views: 13466

PostForum: General CCS C Discussion   Posted: Thu Jul 18, 2013 8:50 am   Subject: [Help] UART processing with RS485
Very Happy Hi alan,
It's certainly, I have set the ID for every SLAVE!
But we use only one data bus (line), so all slaves will receive data from another...

Any ideas?
  Topic: [Help] UART processing with RS485
Delfy_Coltech

Replies: 10
Views: 13466

PostForum: General CCS C Discussion   Posted: Wed Jul 17, 2013 9:19 pm   Subject: [Help] UART processing with RS485
Dear all,
I'm using IEA-RS485 standard for my project.
I connected MASTER to 10 SLAVES.
These SLAVES respond to SERVER automatically based on their time-slot (100 milliseconds) after receiving r ...
  Topic: Help with write EEPROM PIC18F
Delfy_Coltech

Replies: 4
Views: 9035

PostForum: General CCS C Discussion   Posted: Wed Jul 25, 2012 7:52 pm   Subject: Write EEPROM
Hi hi hi!
Thanks for your response! Mr. Ttelmah and Mr. bkamen.
My data is BYTE type. (8bit)

But with dsPIC, it has no problem!
  Topic: Help with write EEPROM PIC18F
Delfy_Coltech

Replies: 4
Views: 9035

PostForum: General CCS C Discussion   Posted: Wed Jul 25, 2012 6:19 am   Subject: Help with write EEPROM PIC18F
Dear all,

I am using CCS version 4.017 with PIC18F4620 (1Kbytes of EEPROM).
I try to store my data (array of 16-bit unsigned numbers) to EEPROM.

I declerate 0xA0 for START_ADDRESS
but I only c ...
  Topic: [Help] Receive respone AT message from module SIM548C
Delfy_Coltech

Replies: 2
Views: 4875

PostForum: General CCS C Discussion   Posted: Fri Nov 11, 2011 4:13 am   Subject: Disscussion...
Hi Mr. Ttelmah!
The third one, This modem can connect directly to microcontroller.
The second one, It also supports autobauding, so we don't need to setup baudrate for it. But I will try to setup a ...
  Topic: [Help] Receive respone AT message from module SIM548C
Delfy_Coltech

Replies: 2
Views: 4875

PostForum: General CCS C Discussion   Posted: Thu Nov 10, 2011 8:14 pm   Subject: [Help] Receive respone AT message from module SIM548C
Hi everybody!

I am doing a small project that uses dsPIC and module SIM548C.
I want to interface my PIC with that module.

I use UART1 (baud=19200) port of PIC to do that. You know that, when an ...
  Topic: RFID with ID20, need help
Delfy_Coltech

Replies: 38
Views: 30530

PostForum: General CCS C Discussion   Posted: Sun Apr 17, 2011 8:26 pm   Subject: First step,
Good morning,
Firstly, you have to design the schematic. How to connect ID20 to PIC?

Which pin of ID20 that use to receive tag ID's data?
Then, post your schematic here.
Many people can help you ...
  Topic: [Help] Setup Timer for measurement purpose
Delfy_Coltech

Replies: 7
Views: 10741

PostForum: General CCS C Discussion   Posted: Fri Apr 15, 2011 7:18 pm   Subject: Way back into my title...^^
Hi Mr PCM Programmer,
Yes we can.
The interrupt occurs just before each edge (rising or falling) of the
waveform. It has to. You toggle the edge of the signal inside the
interrupt routine.
Yes ...
  Topic: [Help] Setup Timer for measurement purpose
Delfy_Coltech

Replies: 7
Views: 10741

PostForum: General CCS C Discussion   Posted: Wed Apr 13, 2011 5:00 am   Subject: To be continue...
Good afternoon,

'Cos we toggle pin E4, so the waveform is in the square shape.
Minimum voltage =0 and maximum one = 5V.

So, we can't determine where the interrupt timer1 occur? Smile
I have rea ...
  Topic: [Help] Setup Timer for measurement purpose
Delfy_Coltech

Replies: 7
Views: 10741

PostForum: General CCS C Discussion   Posted: Mon Apr 11, 2011 10:06 pm   Subject: A nice way ^^
Thanks Mr.PCM,

I have tried your method to determine overflow time of TIMER1 (dSPIC)
It's so good with nice result on my oscillator.

This is my code to test

#include<30F6010A.h>

#FU ...
  Topic: [Help] Setup Timer for measurement purpose
Delfy_Coltech

Replies: 7
Views: 10741

PostForum: General CCS C Discussion   Posted: Fri Apr 08, 2011 8:05 pm   Subject: [Help] Setup Timer for measurement purpose
Follow me,

timer1_over = (8*4096)/(8*10^6) = 4096*10^(-6) s = 0.4096 ms
  Topic: [Help] Setup Timer for measurement purpose
Delfy_Coltech

Replies: 7
Views: 10741

PostForum: General CCS C Discussion   Posted: Mon Apr 04, 2011 2:53 am   Subject: [Help] Setup Timer for measurement purpose
Hi all,
I want to use TIMER1 of dSPIC30 to measure DC Current.
I found the way to initialize timer1 as this:

setup_timer1(TMR_INTERNAL |TMR_DIV_BY_8,4096);


Follow this code,
+ Time ...
  Topic: [Help] Fix GOTO address value?
Delfy_Coltech

Replies: 4
Views: 13231

PostForum: General CCS C Discussion   Posted: Sun Mar 27, 2011 8:13 pm   Subject: [Help] Fix GOTO address value?
Use the #org directive to set the start and end address of the main() function.
See the CCS manual.
http://www.ccsinfo.com/downloads/ccs_c_manual.pdf

Thank you very much!
I have fixed my error b ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group