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 16 matches
CCS Forum Index
Author Message
  Topic: Ex_STISR.C Buffer size
12Lapointep

Replies: 4
Views: 9518

PostForum: General CCS C Discussion   Posted: Tue Aug 25, 2015 11:44 am   Subject: 2 Circular buffer
Lets say I receive data in my circular buffer and than send it to the main program. It will output a different string of data to another circular buffer and then transmit it back to the computer. Ho ...
  Topic: Ex_STISR.C Buffer size
12Lapointep

Replies: 4
Views: 9518

PostForum: General CCS C Discussion   Posted: Tue Aug 25, 2015 8:53 am   Subject: Ex_STISR.C Buffer size
Hey all,

I am currently working on the circular buffer with the PIC18F67J94 and I was wondering about the size of the buffer. How big can it be? For example, the UART will have a 'one' deep hard ...
  Topic: Xon/Xoff from Computer to Device
12Lapointep

Replies: 3
Views: 8308

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2015 12:18 pm   Subject: Xon/Xoff from Computer to Device
This is what I am doing for the information being sent from the computer to the PIC. Here is my part of code for this:

if((rcv_buffer_bytes(RS232)>=96) && &# ...
  Topic: Xon/Xoff from Computer to Device
12Lapointep

Replies: 3
Views: 8308

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2015 11:50 am   Subject: Xon/Xoff from Computer to Device
Hey all,

I am currently using a PIC18F67J94 with MPLAB X IDE v2.35 for a project. I am having some issues with the Xon/Xoff characters being sent out from the computer to the device. I have done ...
  Topic: #USE RS232 -> ERRORS
12Lapointep

Replies: 3
Views: 7932

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2015 11:36 am   Subject: #USE RS232 -> ERRORS
Thank you all for the comments. It is very clear now.
  Topic: #USE RS232 -> ERRORS
12Lapointep

Replies: 3
Views: 7932

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2015 9:41 am   Subject: #USE RS232 -> ERRORS
Hey all,

After reading in the CCS C Compiler manual updated in May 2015, I still do not clearly understand what ERRORS mean for the #USE RS232 preprocessor directives. I have used it in my previo ...
  Topic: RS232 CTS line
12Lapointep

Replies: 0
Views: 4998

PostForum: General CCS C Discussion   Posted: Thu Aug 20, 2015 9:26 am   Subject: RS232 CTS line
Hey all, I am using a PIC18F67J94 with MPLAB X IDE v2.35. I am having some issues and concerns with my CTS line when I test the software and hardware. I have a buffer with 256 bytes in size. But th ...
  Topic: RS232 hardware flow control problem?
12Lapointep

Replies: 13
Views: 30430

PostForum: General CCS C Discussion   Posted: Fri Aug 14, 2015 6:40 am   Subject: RS232 hardware flow control problem?
Shouldn't the RTS and CTS line be way easier to control than this? For example, I am using a PIC18F67J94 and I am setting up my port as follow:
// RS-232 Serial Port setup
#USE RS232(BAUD=115200, ...
  Topic: #fuses CLOCKOUT issue with PIC18F67J94
12Lapointep

Replies: 1
Views: 5479

PostForum: General CCS C Discussion   Posted: Thu Aug 13, 2015 7:17 am   Subject: #fuses CLOCKOUT issue with PIC18F67J94
Hey all,

I am currently trying to calculate the internal frequency of the clock in the microprocessor and I am using #fuses CLOCKOUT to output the clock on pin 40 (OSC2). When using my oscilloscop ...
  Topic: #PIN_SELECT problems
12Lapointep

Replies: 20
Views: 46825

PostForum: General CCS C Discussion   Posted: Wed Aug 05, 2015 11:11 am   Subject: #PIN_SELECT problems
Certain PICs microcontrollers have remappable I/O pins for peripheral devices but it is not clearly indicated in the datasheet. For example, the PIC18F67J94 has four groups of remappable pins so for ...
  Topic: MPLAB X IDE v2.35 #PIN_SELECT
12Lapointep

Replies: 7
Views: 13574

PostForum: General CCS C Discussion   Posted: Wed Aug 05, 2015 11:07 am   Subject: MPLAB X IDE v2.35 #PIN_SELECT
It is fairly simple. Just not explained very well in the datasheet. Flipping pins through my design and adding jumpers was the only option for the prototype.

Thank you very much for your help t ...
  Topic: MPLAB X IDE v2.35 #PIN_SELECT
12Lapointep

Replies: 7
Views: 13574

PostForum: General CCS C Discussion   Posted: Wed Aug 05, 2015 9:23 am   Subject: MPLAB X IDE v2.35 #PIN_SELECT
The PIC18FxxJ94 family is really picky about which pins can be assigned to which peripheral. The compiler is generating errors because you're trying to assign pins to peripherals that aren't allowed. ...
  Topic: MPLAB X IDE v2.35 #PIN_SELECT
12Lapointep

Replies: 7
Views: 13574

PostForum: General CCS C Discussion   Posted: Wed Aug 05, 2015 5:17 am   Subject: MPLAB X IDE v2.35 #PIN_SELECT
Thank you for the post. It helped a lot to understand what is going on. As of now, I believe it is a version issue but I cannot wrap my head around it.

Why is PIN_G1 being accepted whereas the ...
  Topic: MPLAB X IDE v2.35 #PIN_SELECT
12Lapointep

Replies: 7
Views: 13574

PostForum: General CCS C Discussion   Posted: Tue Aug 04, 2015 5:39 pm   Subject: MPLAB X IDE v2.35 #PIN_SELECT
http://s27.postimg.org/uakqdxxpf/PIC18_F67_J94_MPLAB_SELECT_ERRORS_1.jpghttp://s9.postimg.org/ktwe4l23z/PIC18_F67_J94_MPLAB_X_IDE_PIN_SELECT.jpg
[url=http://postimage.org/]20mb image hosting
  Topic: pic18f67j94 any help
12Lapointep

Replies: 3
Views: 8810

PostForum: General CCS C Discussion   Posted: Tue Aug 04, 2015 3:40 pm   Subject: pic18f67j94 any help
I am currently using the PIC18F67J94 for an application. I need 3 UARTs for my microcontroller and PIC18F67J94 has four of them but they are remappable. I tried using the #pin_select but I get some ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group