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 24 matches
CCS Forum Index
Author Message
  Topic: HC05 interface issue
z1rqdym

Replies: 8
Views: 22177

PostForum: General CCS C Discussion   Posted: Fri May 04, 2018 9:50 am   Subject: HC05 interface issue
I wrote all of the stuff from scratch. this time i did it. it works well.

i will tell something about App Inventor who wants to make projects over bluetooth modules. Keep in mind that App inventors ...
  Topic: HC05 interface issue
z1rqdym

Replies: 8
Views: 22177

PostForum: General CCS C Discussion   Posted: Thu May 03, 2018 7:13 am   Subject: HC05 interface issue
https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcSVxZN4FPbs2dj1MtXquBxiS5EGo6Uu8-s6gcXUhsyinf3w0m7YhTJv3zdRBw

This the hc05 that I'm using. it has BC417 chip. I use voltage divider for logic l ...
  Topic: HC05 interface issue
z1rqdym

Replies: 8
Views: 22177

PostForum: General CCS C Discussion   Posted: Thu May 03, 2018 6:36 am   Subject: HC05 interface issue
Hello everyone,

I am on a project that should be interface over android bluetooth hardware.

I used PIC16F876A and HC05 bluetooth module.

I can receive single characters, there is no problem ...
  Topic: variables and their calculations on CCS C
z1rqdym

Replies: 2
Views: 11851

PostForum: General CCS C Discussion   Posted: Wed Aug 12, 2015 6:33 am   Subject: variables and their calculations on CCS C
compiler version 5.015
mcu/dsp : dsPIC33F

i want to know something about variables and calculations.

example:

float k;
int16 x, y, z;

x=12546;
y=15098;
z=x+y;

k=(float)z/2; ...
  Topic: dsPIC33FJ128GP802 40MIPS with PLL
z1rqdym

Replies: 8
Views: 13172

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2015 8:48 pm   Subject: dsPIC33FJ128GP802 40MIPS with PLL
i found that. in the dspic33fj128gp802.h stack size is 31. but when i compile my program, in the statistic page the stack size is 128 and its %100 full.

so i do this after Fuses lines

#build (st ...
  Topic: dsPIC33FJ128GP802 40MIPS with PLL
z1rqdym

Replies: 8
Views: 13172

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2015 7:54 pm   Subject: dsPIC33FJ128GP802 40MIPS with PLL
Ok, i add an 1M resistor across to the crystal, 15pF capacitors still there.

the dsPIC work fine.

but when i set any interrupt (TIMER2 RS232-recieve etc..) and when the interrupt is comes the d ...
  Topic: dsPIC33FJ128GP802 40MIPS with PLL
z1rqdym

Replies: 8
Views: 13172

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2015 7:17 pm   Subject: dsPIC33FJ128GP802 40MIPS with PLL
if I use 1M resistor across the crystal, there are no need for the 15pF-22pF ceramic capacitor?
  Topic: CCS C 5.015 dsPIC33FJ128GP802 DO NOT WORK
z1rqdym

Replies: 8
Views: 15186

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2015 10:08 am   Subject: CCS C 5.015 dsPIC33FJ128GP802 DO NOT WORK
I don't know what am I do or what's happend but at now it works perfectly with these Fuses


#include <33FJ128GP802.h>

#device ICSP=1

#FUSES NOWDT //No Watch Dog Time ...
  Topic: dsPIC33FJ128GP802 40MIPS with PLL
z1rqdym

Replies: 8
Views: 13172

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2015 6:10 am   Subject: dsPIC33FJ128GP802 40MIPS with PLL
There is any information about that 1M Resistor across to the crystal. in my opinion thats not necessary because i used a while ago 18F4431 10Mhz crystal to get 40Mhz with PLL. i didn't need that resi ...
  Topic: CCS C 5.015 dsPIC33FJ128GP802 DO NOT WORK
z1rqdym

Replies: 8
Views: 15186

PostForum: General CCS C Discussion   Posted: Fri Jun 05, 2015 12:48 am   Subject: CCS C 5.015 dsPIC33FJ128GP802 DO NOT WORK
I just want to know the code wich do; 10Mhz external crystal to with PLL up to 80MHz to use at 40MIPS that dsPIC33FJ128GP802.

i tried many things, i lost my brain but i can not find any solutions. ...
  Topic: CCS C 5.015 dsPIC33FJ128GP802 DO NOT WORK
z1rqdym

Replies: 8
Views: 15186

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2015 8:54 pm   Subject: CCS C 5.015 dsPIC33FJ128GP802 DO NOT WORK
I tried some things like that;

i changed the

#use delay(clock=80mhz, crystal=10mhz)

to

#use delay(clock=10mhz, crystal=10mhz)

the #FUSES HS, PR_PLL are the same

with this it works ...
  Topic: CCS C 5.015 dsPIC33FJ128GP802 DO NOT WORK
z1rqdym

Replies: 8
Views: 15186

PostForum: General CCS C Discussion   Posted: Thu Jun 04, 2015 7:44 pm   Subject: CCS C 5.015 dsPIC33FJ128GP802 DO NOT WORK
#include <33FJ128GP802.h>

#FUSES NOWDT //No Watch Dog Timer
#FUSES NOWRTB //Boot block not write protected
#FUSES NOBSS //No boot seg ...
  Topic: dsPIC33FJ128GP802 40MIPS with PLL
z1rqdym

Replies: 8
Views: 13172

PostForum: General CCS C Discussion   Posted: Mon Jun 01, 2015 10:38 am   Subject: dsPIC33FJ128GP802 40MIPS with PLL
should i use a cooling system on it? my system will work only 10min per fly the quadcopter.

but my main question is how to configure the Fosc to 80Mhz to use the dspic with 40mips ?
i have 10mh ...
  Topic: dsPIC33FJ128GP802 40MIPS with PLL
z1rqdym

Replies: 8
Views: 13172

PostForum: General CCS C Discussion   Posted: Mon Jun 01, 2015 10:02 am   Subject: dsPIC33FJ128GP802 40MIPS with PLL
compiler version 5.015

I'm going to use this dsPIC33 on my quadcopter. I planned to do this with 18F4431 but it's really slow while calculating float variables.

so my question is about how to u ...
  Topic: Power PWM on CCS C - How to calculate freq and duty cycle
z1rqdym

Replies: 4
Views: 13004

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2015 7:33 am   Subject: Power PWM on CCS C - How to calculate freq and duty cycle
Hello,

don't tell me read the datasheet of the PIC18FXX31.
I read it. but there is no way to use on CCS C.

from the index i found these functions.


setup_power_pwm(config)
Sets up ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group