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 152 matches
CCS Forum Index
Author Message
  Topic: ADD A NEW DEVICE TO MPLAB 8.92
rudy

Replies: 2
Views: 166

PostForum: General CCS C Discussion   Posted: Thu Dec 12, 2024 8:32 am   Subject: ADD A NEW DEVICE TO MPLAB 8.92
Hi there.

After suffering a lot trying to use CUBE IDE and STM32F411CEU6, I decided that these new IDE are all trash..... So, I searched for a new PIC device with more memory so I could rewrite my ...
  Topic: Basic DS3231 driver
rudy

Replies: 6
Views: 25989

PostForum: Code Library   Posted: Sun Nov 26, 2023 4:37 am   Subject: Basic DS3231 driver
Thanks Ttelmah

I will give it a try.

Regards.
  Topic: Basic DS3231 driver
rudy

Replies: 6
Views: 25989

PostForum: Code Library   Posted: Thu Nov 16, 2023 8:41 am   Subject: Basic DS3231 driver
Thanks, You mean first of all instructions, send a I2C_atasrt() and I2C stop()? This issue really gets me odd; I can’t have any clue of what is going wrong, made a lot of tests and nothing seems to ...
  Topic: Basic DS3231 driver
rudy

Replies: 6
Views: 25989

PostForum: Code Library   Posted: Mon Nov 13, 2023 8:14 am   Subject: Basic DS3231 driver
Hi temtronic. Don't know why, there is no way to read DS3231 with accuracy time after a power shutt down. Always comes with two or more minuts off.
The battery is ok, with 3V, nothing seems to solve ...
  Topic: STRSTR PROBLEM
rudy

Replies: 7
Views: 9640

PostForum: General CCS C Discussion   Posted: Wed Sep 20, 2023 6:43 pm   Subject: STRSTR PROBLEM
Hum...... Will be that the reason off all problems? Because I was simple running at the wrong clock frequency speed, and the errors I got was totally “random” with no logical explanation.
Thaks f ...
  Topic: STRSTR PROBLEM
rudy

Replies: 7
Views: 9640

PostForum: General CCS C Discussion   Posted: Mon Sep 18, 2023 9:10 pm   Subject: STRSTR PROBLEM
Well, I take off all NULL terminator insertion in the GSM_PASS string, but not sure this was the problerm, so I make this: (Call it BRUTE FORCE)
for(D1=0;D1<100;D1++) //DETECT PASSWORD - ...
  Topic: STRSTR PROBLEM
rudy

Replies: 7
Views: 9640

PostForum: General CCS C Discussion   Posted: Mon Sep 18, 2023 3:38 pm   Subject: STRSTR PROBLEM
Ttelmah, thanks. I will do that. But when I change GSM_PASS on the go, so I have to write '\0' to the last position or not?

Another issue is that when I use the FUSES as this:
#fuses INTRC, NOWDT, ...
  Topic: STRSTR PROBLEM
rudy

Replies: 7
Views: 9640

PostForum: General CCS C Discussion   Posted: Mon Sep 18, 2023 8:01 am   Subject: STRSTR PROBLEM
Well, thanks for helping me, Ttelmah.
I fill the GSM_PASS this way:
void MAIN()
{
SETUP_ADC_PORTS(NO_ANALOGS);
SETUP_COMPARATOR(NC_NC_NC_NC);
SETUP_COUNTERS ...
  Topic: STRSTR PROBLEM
rudy

Replies: 7
Views: 9640

PostForum: General CCS C Discussion   Posted: Mon Sep 18, 2023 6:26 am   Subject: STRSTR PROBLEM
Hi, I am finalizing a program to read and control a SIM800 module, but strstr function seems to not work properly in a specific location of the routine. This is how I declare variables and buffers.
...
  Topic: 18F2550 UART END RECEPTION
rudy

Replies: 7
Views: 9430

PostForum: General CCS C Discussion   Posted: Fri Sep 08, 2023 9:39 am   Subject: 18F2550 UART END RECEPTION
I love I2C, but I am studding the USART, it is pretty easy, but it has some differences. No problem.
Thanks!
  Topic: 18F2550 UART END RECEPTION
rudy

Replies: 7
Views: 9430

PostForum: General CCS C Discussion   Posted: Fri Sep 08, 2023 9:03 am   Subject: 18F2550 UART END RECEPTION
@temtronic, not really! The "SIM800L module" here works pretty well at 5V, no issues about that.

@Ttelmah that's is the case, we never know the length of the message. Regardless of I2C, ...
  Topic: 18F2550 UART END RECEPTION
rudy

Replies: 7
Views: 9430

PostForum: General CCS C Discussion   Posted: Fri Sep 08, 2023 3:40 am   Subject: 18F2550 UART END RECEPTION
So, I need to do the delimiters count, lets say, in the SIM800L there are three 0x0D and three 0X0A for each SMS received, and this is the only way I can say that the USART finished receiving?.
...
  Topic: 18F2550 UART END RECEPTION
rudy

Replies: 7
Views: 9430

PostForum: General CCS C Discussion   Posted: Thu Sep 07, 2023 6:35 pm   Subject: 18F2550 UART END RECEPTION
Hi there,

Is there a way to detect if the UART received an end of transmission?

Regards
  Topic: 18F26K22 CCP3 PIN [Solved]
rudy

Replies: 1
Views: 7563

PostForum: General CCS C Discussion   Posted: Sun Apr 02, 2023 7:09 am   Subject: 18F26K22 CCP3 PIN [Solved]
I Found it!

#USE CAPTURE(INPUT=PIN_C6,CAPTURE_RISING,TIMER=1,FASTEST)

Thanks anyway!
  Topic: 18F26K22 CCP3 PIN [Solved]
rudy

Replies: 1
Views: 7563

PostForum: General CCS C Discussion   Posted: Sun Apr 02, 2023 7:01 am   Subject: 18F26K22 CCP3 PIN [Solved]
Hi,

Need help to configure CCP3 on PIN_C6

How do I do that?

Regards,
 
Page 1 of 11 Goto page 1, 2, 3 ... 9, 10, 11  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group