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 22 matches
CCS Forum Index
Author Message
  Topic: Visual Studio Code and the CCS compiler
pet007

Replies: 19
Views: 39242

PostForum: General CCS C Discussion   Posted: Sat Mar 01, 2025 1:18 am   Subject: Visual Studio Code and the CCS compiler
Yes, the CCS plugin mentioned above works well. For me, "IntelliSense-based" shortcuts and features are a "must-have" nowadays.
For example, ALT + left/right arrows, proper memb ...
  Topic: IDE: Autocomplete for members of struct - pointer access ?
pet007

Replies: 1
Views: 2940

PostForum: General CCS C Discussion   Posted: Sun Oct 13, 2024 3:39 am   Subject: IDE: Autocomplete for members of struct - pointer access ?
Hello,
is here any chance, that IDE is able to recognize (autocomplete via CTRL+space) members of object (structure) accessed via pointer ? This one is working only for non-pointer access to the ob ...
  Topic: IDE: Switching between opened files ALT+arrows
pet007

Replies: 1
Views: 4429

PostForum: General CCS C Discussion   Posted: Sat Jun 08, 2024 6:03 am   Subject: IDE: Switching between opened files ALT+arrows
Please, is here some option to use comonly known shortcut for switching between opened files (last visited places) ALT+left/right arrow in CCS IDE ?
I have to switching between CubeIDE (STM32) and C ...
  Topic: ICD-U80 Serial monitor issue
pet007

Replies: 1
Views: 33515

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Sun Apr 21, 2024 12:17 am   Subject: ICD-U80 Serial monitor issue
Hi, please, how to setup Serial monitor to work with ICD-U80 ?
In my code is used pragma #use rs232(ICD), serial monitor start work after CCS Loader is finished, but there are messy output (like wron ...
  Topic: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
pet007

Replies: 11
Views: 11928

PostForum: General CCS C Discussion   Posted: Thu Apr 11, 2024 1:55 pm   Subject: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
In file can-pic18_fd.h is written:

PREPROCESSORS:
----------------------------------------------------------------------------
CAN_OPERATION_MODE
The CAN operational mode of p ...
  Topic: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
pet007

Replies: 11
Views: 11928

PostForum: General CCS C Discussion   Posted: Thu Apr 11, 2024 7:39 am   Subject: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
Hmm I'm still confused. But in 2.0b mode I can't use more than 8bytes as payload, can I ?
  Topic: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
pet007

Replies: 11
Views: 11928

PostForum: General CCS C Discussion   Posted: Thu Apr 11, 2024 2:01 am   Subject: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
So you are using the can-dspic33_fd.c driver?.
Smile No, it's already noted in previous post -
I'm using can-pic18_fd.c driver...
  Topic: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
pet007

Replies: 11
Views: 11928

PostForum: General CCS C Discussion   Posted: Wed Apr 10, 2024 10:46 pm   Subject: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
Of course the PIC18F47Q84 is capable to handle CAN Flexible Data. (My transceiver AT6560 is CAN FD ready too). HW isn't an issue IMHO..
When I call getenv("CAN"), it returns 3 -> CANFD ...
  Topic: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
pet007

Replies: 11
Views: 11928

PostForum: General CCS C Discussion   Posted: Wed Apr 10, 2024 11:59 am   Subject: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
Hmm, not understand yet......
The longer ID isn't a problem - I'd like to use CAN FD due bigger payload (up to 64 bytes instead of 8 for Can 2.0 B)....
  Topic: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
pet007

Replies: 11
Views: 11928

PostForum: General CCS C Discussion   Posted: Wed Apr 10, 2024 9:40 am   Subject: 18F47Q84 - CAN FD issue -can_putd() -> CAN_EC_OBJ_TX_FULL
Hi, pls I have problem with can_put() function, when I'm debuging it, it returns this error value:

..
//Check TFNRFNIF bit in C1FIFOSTAm register to determine if FIFO is full
if(pFIFOS ...
  Topic: 18F16Q41 - AD converter issue (solved - pin damage)
pet007

Replies: 5
Views: 8542

PostForum: General CCS C Discussion   Posted: Mon Feb 12, 2024 2:25 pm   Subject: 18F16Q41 - AD converter issue (solved - pin damage)
Nevermind ;)
Yes, PIC's are very robust, but +13V is too much for RC3. My PCB design is a bit unlucky, when you are trying to measure divider output voltage with fuc..ng thick multimeter probe and n ...
  Topic: 18F16Q41 - AD converter issue (solved - pin damage)
pet007

Replies: 5
Views: 8542

PostForum: General CCS C Discussion   Posted: Sun Feb 11, 2024 2:29 pm   Subject: 18F16Q41 - AD converter issue (solved - pin damage)
I've changed MCU and it's working already - it seems this pin was damaged.......
  Topic: 18F16Q41 - AD converter issue (solved - pin damage)
pet007

Replies: 5
Views: 8542

PostForum: General CCS C Discussion   Posted: Sun Feb 11, 2024 1:20 pm   Subject: 18F16Q41 - AD converter issue (solved - pin damage)
Hmm I don't understand - I'm selecting ADPCH = 0b00010011b (d19) - RC3/ANC3. There is any note written for this channel. It's e.g. for channel 0b10010011 (d147) - RC3(OPA1IN1+).
  Topic: 18F16Q41 - AD converter issue (solved - pin damage)
pet007

Replies: 5
Views: 8542

PostForum: General CCS C Discussion   Posted: Sun Feb 11, 2024 11:41 am   Subject: 18F16Q41 - AD converter issue (solved - pin damage)
Hi, I'm a bit confused to setup ADC for the "new gen" PIC family.
So even if I define a whole ADC sample/convert procedure via 'getenv' SFR byte(+bits), I'm not able to convert ANC3 (RC3) ...
  Topic: 18F57Q84 - which CAN driver to use ?
pet007

Replies: 2
Views: 6711

PostForum: General CCS C Discussion   Posted: Sat Dec 23, 2023 10:32 am   Subject: 18F57Q84 - which CAN driver to use ?
Hello,
when I'm reading manual for CCS (5.116), I can see there these CAN drivers based on MCU type:


Relevant Include Files:
can-mcp2515.c - Driver for the MCP2515 external CAN controller. ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group