I am using the LPC2148 with a 12MHz crystal using a 5 multiplier to have 60MHz
CCLK. PCLK running at same frequency as CCLK. I had some working software
triggered ADC code. When I added a PWM output with a match interrupt, the ADC
always returns 0 (the PWM output is working correctly) I can't figure
out why this is happening. Any help would be appreciated
Here is a link to the PastBin for the code:[C] LPC2148 PWM confilicts with ADC -
Pastebin.com
| |
| | | | | | | |
| [C] LPC2148 PWM confilicts with ADC - Pastebin.comvoid InitADC(void) {
PINSEL1 |= (1<<28); // Select AD0.3 for P0.30 } int
GetADCResult(void) { int result = 0;
// Perform ADC acquire and conve... |
| |
| View on pastebin.com | Preview by Yahoo |
| |
| |
Signal Processing Engineer Seeking a DSP Engineer to tackle complex technical challenges. Requires expertise in DSP algorithms, EW, anti-jam, and datalink vulnerability. Qualifications: Bachelor's degree, Secret Clearance, and proficiency in waveform modulation, LPD waveforms, signal detection, MATLAB, algorithm development, RF, data links, and EW systems. The position is on-site in Huntsville, AL and can support candidates at 3+ or 10+ years of experience.