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 35 matches
CCS Forum Index
Author Message
  Topic: Can a cpu wear out?
picprogrammer

Replies: 11
Views: 21920

PostForum: General CCS C Discussion   Posted: Tue Jul 31, 2018 5:55 am   Subject: Can a cpu wear out?
As in my first message, the SDA is high. Otherwise it would not pass the i2c_start. Checked with oscilloscope. After replacing cpu on both units no more problems.
  Topic: Can a cpu wear out?
picprogrammer

Replies: 11
Views: 21920

PostForum: General CCS C Discussion   Posted: Tue Jul 31, 2018 4:39 am   Subject: Can a cpu wear out?
The internal oscillator may be not a smart idea but if the drift was the problem it would happen no messages were received or sometimes a few.
This cpu stop after exactly 1 message. The I2C problem w ...
  Topic: Can a cpu wear out?
picprogrammer

Replies: 11
Views: 21920

PostForum: General CCS C Discussion   Posted: Mon Jul 30, 2018 7:36 am   Subject: Can a cpu wear out?
Yes i'm running 125khz CAN on internal oscillator. >20 different units. This can be problematic i know bit this cannot explain why after exactly 1 message never any will be received.
  Topic: Can a cpu wear out?
picprogrammer

Replies: 11
Views: 21920

PostForum: General CCS C Discussion   Posted: Mon Jul 30, 2018 4:03 am   Subject: Can a cpu wear out?
Of course you think impossible.

But what happens here. I have got a big network using CAN running for 8 years now and sometimes new modules are added most are unchanged for years.
A few months ago ...
  Topic: La Crosse TX20 anemometer
picprogrammer

Replies: 0
Views: 22196

PostForum: Code Library   Posted: Sun Sep 20, 2015 11:34 am   Subject: La Crosse TX20 anemometer
Here my code by easy made because John Geek made a nice description. I did not implemented the checksum


////////////////////////////////////////////////////////////////////////////////
// La Cro ...
  Topic: Change of uart
picprogrammer

Replies: 3
Views: 7155

PostForum: General CCS C Discussion   Posted: Wed Sep 25, 2013 8:56 am   Subject: Change of uart
Yes, but like that I have to double all +/-50 printf's with a lot of float printing. The code will increase a lot.

It would be handy if STREAM1 was a variable!

Sorry, did'nt read you measage. Th ...
  Topic: Change of uart
picprogrammer

Replies: 3
Views: 7155

PostForum: General CCS C Discussion   Posted: Wed Sep 25, 2013 7:27 am   Subject: Change of uart
My project uses UART1 with a command line interface. Now I want to use multiple pcb on a RS485 bus on UART2. The idea is to select 1 print on the RS485 bus and talk only to that one.

Is it possible ...
  Topic: MRF24J40 module
picprogrammer

Replies: 12
Views: 22711

PostForum: General CCS C Discussion   Posted: Sun Feb 17, 2013 5:32 am   Subject: MRF24J40 module
No problem! just uploaded it to the code Code Library
  Topic: Code MicroC MRF24J40MA
picprogrammer

Replies: 1
Views: 32649

PostForum: Code Library   Posted: Sun Feb 17, 2013 5:31 am   Subject: Code MicroC MRF24J40MA
Hi,

Here my ported code for the MRF24J40MA. Load the same code at both boards and the characters 0..9 are send to the other side, bidirectional.
Please share your further development!

/*
* Pr ...
  Topic: MRF24J40 module
picprogrammer

Replies: 12
Views: 22711

PostForum: General CCS C Discussion   Posted: Sat Feb 16, 2013 11:39 am   Subject: MRF24J40 module
Hi,

This topic is old but I did the same. The code from MikroC is easy to translate. I made a working code, it can send and receive 3 bytes. The IRQ edge for the received signal needs to be H to L ...
  Topic: GMT to local time
picprogrammer

Replies: 7
Views: 12251

PostForum: General CCS C Discussion   Posted: Sat Mar 10, 2012 8:41 am   Subject: GMT to local time
My own way was the quickest:



static int16 month_days[2][13] = { { 0, 0, 31, 59, 90, 120, 151,
181, 212, 243, 273, 304, ...
  Topic: GMT to local time
picprogrammer

Replies: 7
Views: 12251

PostForum: General CCS C Discussion   Posted: Wed Mar 07, 2012 9:53 am   Subject: GMT to local time
Does some made a routine to calculate the local time from GMT. The GMT is from a GPS receiver.

Basic it is only calculate the minute of year, plus timezone and convert back to date and time.
  Topic: 16F1825 internal 32Mhz
picprogrammer

Replies: 5
Views: 12337

PostForum: General CCS C Discussion   Posted: Fri Jan 20, 2012 11:48 am   Subject: 16F1825 internal 32Mhz
According the datasheet of the 16F1825 it must be possible to set the internal clock to 32mhz 4x8Mhz PLL
However
setup_oscillator(OSC_8MHZ|OSC_INTRC|OSC_PLL_ON,0);
Does not work, pll_on or off no ...
  Topic: Using 18F66K80
picprogrammer

Replies: 8
Views: 10179

PostForum: General CCS C Discussion   Posted: Tue Dec 06, 2011 1:22 am   Subject: Using 18F66K80
There is no error since i added the extra E pins to the .H file. Now I want to be sure to have hardware uarts. So the first part of the code is with RX and TX connected to the hardware pins to use the ...
  Topic: Using 18F66K80
picprogrammer

Replies: 8
Views: 10179

PostForum: General CCS C Discussion   Posted: Mon Dec 05, 2011 2:48 pm   Subject: Using 18F66K80
Thanks, I tried a putc. First with hardware uart and here the .lst:

.................... fputc('A',PORT1);
004FE: MOVLW 41
00500: MOVWF 19
00502: MOVLB 0
00504: BRA 03DA
........ ...
 
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