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 40 matches
CCS Forum Index
Author Message
  Topic: Sending and Receiving greater values via rs232[SOLVED]
erhane

Replies: 7
Views: 10822

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 7:25 am   Subject: Sending and Receiving greater values via rs232[SOLVED]
I can see one problem 'leaping out' straight away.

TTL async serial, idles 'high'.

Now, when your driver chip is disconnected from the bus (RX_Control is high), your serial output from the driv ...
  Topic: RS485 serial data send problem[SOLVED]
erhane

Replies: 12
Views: 14406

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 6:28 am   Subject: RS485 serial data send problem[SOLVED]
Dear RF_Developer,

Thank you very much! i solved my problem with removing R21 and R22. Y should be pulled up and Z should be pulled down. it was vise versa. Now everything perfect =).
  Topic: RS485 serial data send problem[SOLVED]
erhane

Replies: 12
Views: 14406

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 6:11 am   Subject: RS485 serial data send problem[SOLVED]
Thank You,

I will work on it and i will share results.
  Topic: RS485 serial data send problem[SOLVED]
erhane

Replies: 12
Views: 14406

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 6:02 am   Subject: RS485 serial data send problem[SOLVED]
Rename,

Ugh! Please come back when you have real hardware, as we don't dianose Proteus related problems. See the sticky at the top of the forum!

Also, it's obvious that you have spent NO time re ...
  Topic: RS485 serial data send problem[SOLVED]
erhane

Replies: 12
Views: 14406

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 5:56 am   Subject: RS485 serial data send problem[SOLVED]
ok i will send real hardware photos in 5 mins wait. I cant beleive that you are not beleiving me tis is ridiculous
  Topic: RS485 serial data send problem[SOLVED]
erhane

Replies: 12
Views: 14406

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 5:43 am   Subject: RS485 serial data send problem[SOLVED]
this topic is not about proteus or isis

Sure it is. You are using the ISIS sim. You just edited your screenshot to conceal that.

Dear oxo,

I do not need to hide anyhing. I am a CCS C Complier ...
  Topic: RS485 serial data send problem[SOLVED]
erhane

Replies: 12
Views: 14406

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 5:38 am   Subject: RS485 serial data send problem[SOLVED]
Why did you start a new thread?
Go back and continue with the one you started on this subject.

this is another problem as you can see. that one solved.
  Topic: RS485 serial data send problem[SOLVED]
erhane

Replies: 12
Views: 14406

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 5:10 am   Subject: RS485 serial data send problem[SOLVED]
this topic is not about proteus or isis
  Topic: RS485 serial data send problem[SOLVED]
erhane

Replies: 12
Views: 14406

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 5:01 am   Subject: RS485 serial data send problem[SOLVED]
When i want to transmit data for example send 'u' with putc('u'); command it sends ' ??u'

one blank two question marks than u.

there is codes and outputs.
///////////////////////////////////// ...
  Topic: Sending and Receiving greater values via rs232[SOLVED]
erhane

Replies: 7
Views: 10822

PostForum: General CCS C Discussion   Posted: Fri Oct 17, 2014 4:53 am   Subject: Sending and Receiving greater values via rs232[SOLVED]
i did it get datas correctly but here is another problem occured.

When i want to transmit data for example send 'u' with putc('u'); command it sends ' ??u'

one blank two question marks than u. w ...
  Topic: Sending and Receiving greater values via rs232[SOLVED]
erhane

Replies: 7
Views: 10822

PostForum: General CCS C Discussion   Posted: Tue Oct 14, 2014 3:57 pm   Subject: Sending and Receiving greater values via rs232[SOLVED]
Actually there will be crc check. I will try this tomorrow and tell the results.

Thank you
  Topic: Sending and Receiving greater values via rs232[SOLVED]
erhane

Replies: 7
Views: 10822

PostForum: General CCS C Discussion   Posted: Tue Oct 14, 2014 8:21 am   Subject: Sending and Receiving greater values via rs232[SOLVED]
Hello,

I am trying to send greater values like 2000 for example via serial port.

But the problem is when i send 07D0 via serial port which is 2000 in decimal pic got 7208. it send 8bit 8bit and ...
  Topic: Calculation of Stepper Motor Ramp Profile (Linear or S-Ramp)
erhane

Replies: 11
Views: 15434

PostForum: General CCS C Discussion   Posted: Mon Sep 01, 2014 6:16 am   Subject: Calculation of Stepper Motor Ramp Profile (Linear or S-Ramp)
Oh you are right, i corrected it. Thank you =)

your problem is this...

"unsigned int "

For some reason you think an unsigned integer is 16 bits, which it is NOT.

Please consult t ...
  Topic: Calculation of Stepper Motor Ramp Profile (Linear or S-Ramp)
erhane

Replies: 11
Views: 15434

PostForum: General CCS C Discussion   Posted: Mon Sep 01, 2014 4:31 am   Subject: Calculation of Stepper Motor Ramp Profile (Linear or S-Ramp)
Hello Mike,

I am just trying to generate a indexer pulse to my stepper motor driver IC. I had need to code a ramp function which will calculate frequency on the fly. i found something and made some ...
  Topic: Calculation of Stepper Motor Ramp Profile (Linear or S-Ramp)
erhane

Replies: 11
Views: 15434

PostForum: General CCS C Discussion   Posted: Mon Sep 01, 2014 4:28 am   Subject: Calculation of Stepper Motor Ramp Profile (Linear or S-Ramp)
temtronic, 16bit can save up to 32767. as you can see my largest value is 2449!? so where is the problem.

thank you

from the OP...

unsigned int const periods
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group