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 5 matches
CCS Forum Index
Author Message
  Topic: ADC Conversion jamming on noisy signals.
ManuSisko

Replies: 9
Views: 21344

PostForum: General CCS C Discussion   Posted: Wed Jul 18, 2018 12:39 pm   Subject: ADC Conversion jamming on noisy signals.
Yes I don't technically need to check, but as I haven't implemented the voltage clipper yet, I use it to prevent my PIC from hanging when the signal goes outside the range.

Yes I forgot to mention ...
  Topic: ADC Conversion jamming on noisy signals.
ManuSisko

Replies: 9
Views: 21344

PostForum: General CCS C Discussion   Posted: Wed Jul 18, 2018 10:29 am   Subject: ADC Conversion jamming on noisy signals.
You wouldn't use current_packet at all.

memset(sendData, 0x00, 64);

You want to zero 64 bytes not 63. In C, the name of an array is the address of it's first element. So 'sendData' is equivalent ...
  Topic: ADC Conversion jamming on noisy signals.
ManuSisko

Replies: 9
Views: 21344

PostForum: General CCS C Discussion   Posted: Wed Jul 18, 2018 9:32 am   Subject: ADC Conversion jamming on noisy signals.
Then as another general comment, this:

for(n=currentPacket ; n<64 ; n++){
sendData[n] = 0;
}

is slower than just using memset.

Al ...
  Topic: ADC Conversion jamming on noisy signals.
ManuSisko

Replies: 9
Views: 21344

PostForum: General CCS C Discussion   Posted: Wed Jul 18, 2018 8:00 am   Subject: ADC Conversion jamming on noisy signals.
The ADC only allows it's Vin, to go between it's reference voltages. In your case Vdd and an external Vref. The signal needs to be limited externally to this range. You need to think about your extern ...
  Topic: ADC Conversion jamming on noisy signals.
ManuSisko

Replies: 9
Views: 21344

PostForum: General CCS C Discussion   Posted: Tue Jul 17, 2018 6:13 pm   Subject: ADC Conversion jamming on noisy signals.
Hello. I've constructed a PCB for amplification and filtering from a Photopletysmograph. Basically, a Transimpedance Amp, a 1.5 kHz Band Pass Filter, an IRed Led Modulated at 1.5 kHz and a Photodiode. ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group