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 71 matches
CCS Forum Index
Author Message
  Topic: ModbusTCP Large Dataset
demedeiros

Replies: 4
Views: 4405

PostForum: General CCS C Discussion   Posted: Wed Jun 05, 2024 7:29 am   Subject: ModbusTCP Large Dataset
Ttelmah/temtronic,

As always, thank you both for the informative responses. You are both awesome.

The current PIC we're using is a 18F97J60 which is the largest in the family, however it looks l ...
  Topic: ModbusTCP Large Dataset
demedeiros

Replies: 4
Views: 4405

PostForum: General CCS C Discussion   Posted: Tue Jun 04, 2024 6:11 pm   Subject: ModbusTCP Large Dataset
Hi all,

I am trying to wrap my brain around the amount of memory that will be used for a modbusTCP application.

I know the modbus code and other code will have an impact, but I can compile that ...
  Topic: Help with CRC
demedeiros

Replies: 3
Views: 5051

PostForum: General CCS C Discussion   Posted: Wed Jan 31, 2024 5:42 am   Subject: Help with CRC
Ttelmah,

Thank you, once again you save the day!

Things like this make me doubt myself... "It should just work!!! What kind of idiotic mistake am I making!
  Topic: Help with CRC
demedeiros

Replies: 3
Views: 5051

PostForum: General CCS C Discussion   Posted: Tue Jan 30, 2024 7:33 pm   Subject: Help with CRC
Hi All,

I am trying to use the CCS supplied crc.c file for calculation of a 32bit CRC. I am not sure if I am doing something wrong as the CRC result does not match anything that is calculated when ...
  Topic: PIC24 Capture Input Capability/Gotchas
demedeiros

Replies: 7
Views: 7259

PostForum: General CCS C Discussion   Posted: Fri Dec 22, 2023 11:06 am   Subject: PIC24 Capture Input Capability/Gotchas
Thanks all, I really appreciate the help!
  Topic: PIC24 Capture Input Capability/Gotchas
demedeiros

Replies: 7
Views: 7259

PostForum: General CCS C Discussion   Posted: Thu Dec 21, 2023 7:12 pm   Subject: PIC24 Capture Input Capability/Gotchas
The PIC24 or dsPICs do indeed run with 2 oscillator cycles per internal instruction cycle, so yes Fosc/2 as opposed to the 8 bits PICs which are 4 oscillator cycles per instruction cycle.

It sounds ...
  Topic: PIC24 Capture Input Capability/Gotchas
demedeiros

Replies: 7
Views: 7259

PostForum: General CCS C Discussion   Posted: Thu Dec 21, 2023 7:09 pm   Subject: PIC24 Capture Input Capability/Gotchas

you might have the 1829 JUST do the 'front end' capture and signal a bigger PIC to do all the rest. PICs are cheap today and 'offloading' could be better ?


Thats a good idea that I hadn't thoug ...
  Topic: PIC24 Capture Input Capability/Gotchas
demedeiros

Replies: 7
Views: 7259

PostForum: General CCS C Discussion   Posted: Thu Dec 21, 2023 2:48 pm   Subject: PIC24 Capture Input Capability/Gotchas
Hi all,

I have an application where I need to measure the amount of time between 3 or 4 sequenced signals. They are all digital, rising edge signals, time between rising edges to be approximately 5 ...
  Topic: Setting up analog read on PIC18F87J60
demedeiros

Replies: 5
Views: 6240

PostForum: General CCS C Discussion   Posted: Mon Nov 13, 2023 5:57 pm   Subject: Setting up analog read on PIC18F87J60
comment.
when reading analog voltages,always best to read several times, take an average. relying on ONE reading can be bad (think 737-MAX8)

All my temperatures get read 10x,toss high,toss low, av ...
  Topic: Setting up analog read on PIC18F87J60
demedeiros

Replies: 5
Views: 6240

PostForum: General CCS C Discussion   Posted: Mon Nov 13, 2023 5:51 pm   Subject: Setting up analog read on PIC18F87J60
If you are getting 624 from the A/D and your vref is 3.3V then 624/1024*3.3 = 2.01V

Doh! Thank you, I shouldn't have posted this minutes before leaving for the day...

It did seem that I was not ...
  Topic: Setting up analog read on PIC18F87J60
demedeiros

Replies: 5
Views: 6240

PostForum: General CCS C Discussion   Posted: Mon Nov 13, 2023 1:03 pm   Subject: Setting up analog read on PIC18F87J60
Hi all,

I am trying to read from one channel (AN8) of a PIC18F87J60. I have my code setup as follows:

Setup of ADC:
setup_adc_ports(AN0_TO_AN8, VREF_VREF);
setup_adc(ADC_CLOC ...
  Topic: Ethernet system architecture help
demedeiros

Replies: 15
Views: 21233

PostForum: General CCS C Discussion   Posted: Thu Aug 10, 2023 8:34 am   Subject: Ethernet system architecture help


If the CCS stack supports both the PIC18FxxJ6x family and the ENC28J60 then it does not matter which you choose. Having said that, the Microchip ENC424j600 far superior to either of these. The ENC ...
  Topic: Ethernet system architecture help
demedeiros

Replies: 15
Views: 21233

PostForum: General CCS C Discussion   Posted: Thu Aug 10, 2023 6:59 am   Subject: Ethernet system architecture help
I did a system a little while ago, where we used a packet as a
form of plug and play network addressing.
The standard CCS stack was used, and setup to use a fixed IP read from
it's internal EEPROM. ...
  Topic: Ethernet system architecture help
demedeiros

Replies: 15
Views: 21233

PostForum: General CCS C Discussion   Posted: Tue Aug 08, 2023 7:02 am   Subject: Ethernet system architecture help
Short answer: the age of the stack. CCS' is very old, and Microchip's wasn't. You're going to have issues, but there isn't a clear winner in terms of which implementation to go with. If we had to do i ...
  Topic: Ethernet system architecture help
demedeiros

Replies: 15
Views: 21233

PostForum: General CCS C Discussion   Posted: Mon Aug 07, 2023 11:38 am   Subject: Ethernet system architecture help
ok, I'm kinda confused with the 'hardware'.....

is it this ?
underwater.........................................:: on the ship
sensors->PIC--->eth-net---> PC--->fibre----> topside ...
 
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