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 23 matches
CCS Forum Index
Author Message
  Topic: Simple interrupt code doesn't do anything
JosedeJesusC

Replies: 2
Views: 5179

PostForum: General CCS C Discussion   Posted: Sat Oct 19, 2013 7:20 pm   Subject: Simple interrupt code doesn't do anything
Hi Again !!!
I've been trying to make a simple interrupt code but the microcontroller doesn't do anything, why!!!!! it just is in the while loop, I tried with the RB1 interrupt but nothing, I hope ...
  Topic: SPI DI and External Interrupt by RB0
JosedeJesusC

Replies: 18
Views: 31673

PostForum: General CCS C Discussion   Posted: Sun Oct 06, 2013 10:56 pm   Subject: SPI DI and External Interrupt by RB0
OMG!!!! PCM programmer Embarassed I'm so sorry. I'm wrong.

Integer of 8 bits just can represent till 255 :S.

I can achieve 8 MHz but It's just a trial, It seems the PIC is working now adding that ...
  Topic: SPI DI and External Interrupt by RB0
JosedeJesusC

Replies: 18
Views: 31673

PostForum: General CCS C Discussion   Posted: Sun Oct 06, 2013 6:26 pm   Subject: SPI DI and External Interrupt by RB0
Hi thanks for your reply here is my code.
my compiler version is PCWHD 4.105

#include<18f26J50.h>
#fuses HSPLL, NOWDT, NOPROTECT, NODEBUG, PLLDIV1, NOCPUDIV, STVREN, NOXINST
#USE delay&# ...
  Topic: SPI DI and External Interrupt by RB0
JosedeJesusC

Replies: 18
Views: 31673

PostForum: General CCS C Discussion   Posted: Wed Oct 02, 2013 1:37 pm   Subject: SPI DI and External Interrupt by RB0
Hi everybody I've got a trouble, the pic18f26j50 doesn't do anything in the part of the for loop (in the code above), when the interrupt_active(EXT_INT), is executed, the program is stagnated, why?, I ...
  Topic: SPI DI and External Interrupt by RB0
JosedeJesusC

Replies: 18
Views: 31673

PostForum: General CCS C Discussion   Posted: Fri Sep 13, 2013 9:03 pm   Subject: SPI DI and External Interrupt by RB0
Hi PCM programmer !!!

I'm sorry by the late Embarassed I haven't seen your reply till now !!!! The microcontroller 18F26J50 arrived from USA !!! this morning since I ordered it 1 month ago because it w ...
  Topic: SPI DI and External Interrupt by RB0
JosedeJesusC

Replies: 18
Views: 31673

PostForum: General CCS C Discussion   Posted: Sun Aug 11, 2013 11:36 pm   Subject: SPI DI and External Interrupt by RB0
Hi PCM programmer Smile !!!!

Thanks for your reply.
The pic use a 4MHz crystal for the USB module, and derive the 48 MHz.

Ok! I'm going to use the counter CD4040 to divide the max Frequency (8 MH ...
  Topic: SPI DI and External Interrupt by RB0
JosedeJesusC

Replies: 18
Views: 31673

PostForum: General CCS C Discussion   Posted: Thu Aug 01, 2013 10:25 am   Subject: SPI DI and External Interrupt by RB0
Hi Ttelmah !!!!
thanks for your reply, I think your way to do it is better. I'm going to use the 26j50, low consumption, high speed, it's great!!.

Yeah the ADS1254 has its own clock source with c ...
  Topic: SPI DI and External Interrupt by RB0
JosedeJesusC

Replies: 18
Views: 31673

PostForum: General CCS C Discussion   Posted: Thu Aug 01, 2013 8:14 am   Subject: SPI DI and External Interrupt by RB0
Thanks FVM and Ttelmah.

Yeah it's a Master.

The SPI behaivor is : when the data it's ready from the external ADC (as gently PCM programmer said it's ADS1254) the interrupt is executed.

The A ...
  Topic: SPI DI and External Interrupt by RB0
JosedeJesusC

Replies: 18
Views: 31673

PostForum: General CCS C Discussion   Posted: Wed Jul 31, 2013 7:57 pm   Subject: SPI DI and External Interrupt by RB0
Hi Everybody my question is:

the Data In PIN of SPI communication and the External Interruption can they both being work together in the same PIN RB0?
The device is PIC18F4550.

The trouble is t ...
  Topic: Count clock cycles of the PWM
JosedeJesusC

Replies: 15
Views: 22472

PostForum: General CCS C Discussion   Posted: Fri Jul 26, 2013 10:54 am   Subject: Count clock cycles of the PWM
Hi asmboy.
yeah I've got the information above the load cell. It's got circuits to avoid noise, the amplifier's going to be designed with a monolithic of ANALOG DEVICE.

About the ADC I have the C ...
  Topic: Count clock cycles of the PWM
JosedeJesusC

Replies: 15
Views: 22472

PostForum: General CCS C Discussion   Posted: Thu May 16, 2013 11:46 am   Subject: Count clock cycles of the PWM
Hi asmboy and PCM Programmer !!!! I'm sorry If I don't Know many things, but I'll keep trying to learn more.
The data sheet says that ADC gives 19 free noise resolution bits, achieving more resoluti ...
  Topic: Count clock cycles of the PWM
JosedeJesusC

Replies: 15
Views: 22472

PostForum: General CCS C Discussion   Posted: Wed May 15, 2013 1:03 pm   Subject: Count clock cycles of the PWM
thanks for your reply asmboy.
Ok I'm going to forgive the PWM and count MCLK cycles.

The key is on the function DOUT/DRDY.

About that pull up resistance all I have to do is connect it, from D ...
  Topic: Count clock cycles of the PWM
JosedeJesusC

Replies: 15
Views: 22472

PostForum: General CCS C Discussion   Posted: Wed May 15, 2013 10:32 am   Subject: Count clock cycles of the PWM
Hi asmboy thanks for your reply!!!

first I owe you an apology because I didn't know explain my doubt.

But looking for information I've found an application report from Texas instruments.

the ...
  Topic: Count clock cycles of the PWM
JosedeJesusC

Replies: 15
Views: 22472

PostForum: General CCS C Discussion   Posted: Fri May 10, 2013 12:07 pm   Subject: Count clock cycles of the PWM
Thanks for your reply asmboy!!

As I understood It's not necessary, a continuous clock it's not necessary when I need read from the ADC an analog signal then I generate the clock , but if I wanna ...
  Topic: Count clock cycles of the PWM
JosedeJesusC

Replies: 15
Views: 22472

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 6:29 pm   Subject: Count clock cycles of the PWM
The ADC is ADS1254 who needs a external clock signal.
The pwm from pic18f4550 generates the clock signal. I'm going to use SPI communication to receive the data, but as the data sheet says I need to ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group