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 64 matches
CCS Forum Index
Author Message
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Sun Jan 04, 2015 4:47 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
But 18F4685's PORTD pins are not TTL. its ST(Schmitt Trigger)
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Sun Jan 04, 2015 12:28 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
OK. I made a communication between two PIC by RS485. But i get %30 incorrect data and %70 correct data. I can't understand why i am getting %30 incorrec data.

So what can be max. cable length betwe ...
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Sat Jan 03, 2015 10:13 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
Can i make buffer circuits with Rail to Rail 5MHz MCP6284?

So what do you think about "Shift Registers" for this job ? Can i do Parallel to Serial and Serial to Parallel ?
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Sat Jan 03, 2015 9:11 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
I looked RS485. But i can't learn totally. I get incorrect sometimes. I can't set a good communication system. So i haven't got enough times for learn RS485. Now please tell me should i use buffer?
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Sat Jan 03, 2015 7:50 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
Finally i did it Smile

I made a PCB board for PortD & T6963C application so now everyhing okey. Problem was in my breadboard. Frustrating. I lost my time but i did it. Thank you and i am sorry for ...
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Fri Jan 02, 2015 8:03 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
Ok. I ordered new GLCDs (240x128). It will come monday. when arrives my orders. I will take picture of my hardware with my codes (PORTB and PORTD versions). Thank you for your help
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2015 12:21 pm   Subject: T6963C moving Data line from PORTB to PORTD problem!
ARRRGH.... ISIS !!!

When posting you MUST tell us if you're using REAL HARDWARE or defective simulator called ISIS/Proteus....

No wonder it 'doesn't work', it isn't REAL hardware.

ISIS.Proteu ...
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2015 6:49 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
hmm.. another question

Did you have it working on PORT B at all THEN change to PORT D?

If possible, I'd start with the 'default' of using PORT B.

Jay

My code working very well with PortB. ...
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2015 6:30 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
hmm....

from your code...
first line in main()
...
setup_psp(TRUE); // PSP birimi devre dışı
...

The Parallel Slave Port is on PORTD so you do NOT want to enable it(true).

has ...
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2015 4:33 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
my GLCD is Newhaven NHD-240128WG-ATFH-VZ#

http://www.newhavendisplay.com/specs/NHD-240128WG-ATFH-VZ.pdf
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Sun Dec 28, 2014 11:26 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
i changed like this char deger_str[10];
  Topic: T6963C moving Data line from PORTB to PORTD problem!
musti463

Replies: 28
Views: 40574

PostForum: General CCS C Discussion   Posted: Sun Dec 28, 2014 10:26 am   Subject: T6963C moving Data line from PORTB to PORTD problem!
Hello,
I am still can't solve this problem. Please help me. When i am using PORTD (changed everything in T6963c library for using PORTD). When system turn on on GLCD shows irregular black spots. What ...
  Topic: PIC not working with 20 MHz Crystal
musti463

Replies: 1
Views: 4560

PostForum: General CCS C Discussion   Posted: Sun Dec 28, 2014 7:54 am   Subject: PIC not working with 20 MHz Crystal
Hello,

I am still trying RS485 communication and i need to change 4 MHz crystal to 20 MHz. System working with 4MHz crystal but when i change with 20 MHz PIC not working. There isn't any image on G ...
  Topic: What is Baudrate value?
musti463

Replies: 3
Views: 5845

PostForum: General CCS C Discussion   Posted: Sat Dec 27, 2014 7:11 am   Subject: What is Baudrate value?
thank you. I saw different tables for BRGH=1 and BRGH=0. What is this?
  Topic: What is Baudrate value?
musti463

Replies: 3
Views: 5845

PostForum: General CCS C Discussion   Posted: Sat Dec 27, 2014 6:34 am   Subject: What is Baudrate value?
I am using RS485 communication. What should be baudrate value for 20 MHz crystal frequency ? Can you give a formula or table/chart?
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group