PWM ADC SYNC with Assembly language

Started by christian_11_3_1977 in Freescale DSPs15 years ago

Hi everybody, I'm Italian student and I'm a new user of Motorola DSP 56805EVB. I have to synchronize PWM with ADC, and I've...

Hi everybody, I'm Italian student and I'm a new user of Motorola DSP 56805EVB. I have to synchronize PWM with ADC, and I've seen, on the Motorola manual, that TIMER C #2 must be set with "One Shot Mode" Counting Mode. It's all OK, except for the ADC Conversion


RE: [motoroladsp_unmoderated] ADC conversion

Started by Art Johnson in Freescale DSPs17 years ago

Motorola has 3 excellent Application Notes about the ADCs: AN1933/D "Synchronizing of On-Chip Analog to Digital Converter on...

Motorola has 3 excellent Application Notes about the ADCs: AN1933/D "Synchronizing of On-Chip Analog to Digital Converter on DSP56F80x DSPs" AN1940/D "Mapping ADC Control Registers to the SDK API" AN1947/D "DSP56800 ADC" AN1940/D has quite a


Codewarrior PE and ADC

Started by Thomas in Freescale DSPs14 years ago

I was just wondering if anyone knows how PE calculates the GetVal16 is it just the register or is it an oversample? Is there anyone on the ...

I was just wondering if anyone knows how PE calculates the GetVal16 is it just the register or is it an oversample? Is there anyone on the forum from metrowerks that could tell me why there program always crashes on my computer? So then when using the ADC bean to get a value you use AD1_Measure(1); AD1_GetChanValue(0,&An0); this gets a 16-bit


803 - using ADC in loop mode - accessing data

Started by Steve & Elena Yepez in Freescale DSPs16 years ago 1 reply

I'm using the 803 dsp and would like to configure the adc to sample data in loop sequential mode for the hightest through put. ...

I'm using the 803 dsp and would like to configure the adc to sample data in loop sequential mode for the hightest through put. However, the manual on the adc claims that you can not use the "endofscan interrupt" to fetch the data at the end of each cycle.


DSP56F801EVM: ADC interfacing

Started by abdulrazaqali in Freescale DSPs13 years ago 1 reply

Folks, I want to test the ADC please advice, i'm using codewarrior with PE. Hardware Settings: Connecting GND of frequency...

Folks, I want to test the ADC please advice, i'm using codewarrior with PE. Hardware Settings: Connecting GND of frequency generator to EVM kit's GND and positive is connected to ANA0. Is it ok in order to test the ADC? i think i don't need to take care of Vssa or Vref, as Vref is already high with 3.3V and Vssa is internally connected to Vss. To summarize, I'm just connecting...


ADC synchronization

Started by alberto_reit in Freescale DSPs15 years ago 1 reply

Hello everyone Does anyone know how can i synchronize on chip ADC with external events in a MC56F8346? which pin do i have to use...

Hello everyone Does anyone know how can i synchronize on chip ADC with external events in a MC56F8346? which pin do i have to use for the input signal? Thank you!


ADC on the DSP56F805

Started by Roger Flor in Freescale DSPs17 years ago

Hello I am trying to run the ADC on the DSP56F805 What is this ADCA_QUEUE_DEPTH that may be initialized in the...

Hello I am trying to run the ADC on the DSP56F805 What is this ADCA_QUEUE_DEPTH that may be initialized in the appconfig.h? I have tried looking for the description of this parameter in all the available manuals but there is simply not much detail. T


Explain timers use in ADC and SPI

Started by TA1T in Freescale DSPs16 years ago 1 reply

Hello, The Quad timer is required for the ADC module and the SPI module for generating sync pulses. However, could...

Hello, The Quad timer is required for the ADC module and the SPI module for generating sync pulses. However, could somebody please explain what the sync pulses do with regards to the ADC and the SPI modules. (Or how the quad timer is used in these ap


EVM56F827 ADC Problem...

Started by Jacob Christ in Freescale DSPs17 years ago 8 replies

Okay guys what am I doing wrong??? I been stumped on this problem for about three days now. I'm using the using the SDK to read the ...

Okay guys what am I doing wrong??? I been stumped on this problem for about three days now. I'm using the using the SDK to read the ADC of the 56F827 and I am only getting about 3 bits of resolution. Acording to the schamatic, and my measurment on the pin, Vrefhi is 3.3V and Vreflo i


ADC conversion

Started by si_diep in Freescale DSPs17 years ago 1 reply

I recently got my DSP56807 to work on my audio application in school. I am having a problem understanding the concept of the SDK...

I recently got my DSP56807 to work on my audio application in school. I am having a problem understanding the concept of the SDK and with the ADC. To avoid aliasing and designing a tedious analog filter, I have to sample my signal at 500kHz and that's where I run into the


Trigger ADC by the decoder

Started by elowe_spsy in Freescale DSPs16 years ago 2 replies

With the 56f803, is there a way to trigger the ADC on the inputs to the decoder ? I want to set it up so that it does an A to D...

With the 56f803, is there a way to trigger the ADC on the inputs to the decoder ? I want to set it up so that it does an A to D on each pulse of a 2 phase shaft encoder.


ADCA_CLOCK_DIVISOR default

Started by drexlmeier in Freescale DSPs16 years ago

Hi everybody, does anybody know why the default value of ADCA_CLOCK_DIVISOR is 1, the user manual says it mustn?t be less than...

Hi everybody, does anybody know why the default value of ADCA_CLOCK_DIVISOR is 1, the user manual says it mustn?t be less than 3 and the errata sheet states its best to set it to 4 Or does the ADCA_CLOCK_DIVISOR from SDK differ from the ADC Control Register 2 (ADC


Similar to single step issue, but now with ADC

Started by hc08jb8 in Freescale DSPs15 years ago

Hi Guys I am using the 56F8300Demo board with efield. I am trying to measure the E-feild sensor's value. On the board...

Hi Guys I am using the 56F8300Demo board with efield. I am trying to measure the E-feild sensor's value. On the board the ADC is hooked up to Channel 4. The slection of the active electrode is done by setting an appropriate electrode no at the PORTB4-7.


SCI

Started by cnnrgrdnr in Freescale DSPs16 years ago

I am creating a system where i will be sending information to PC by the SCI interface on 56F827 board. Does somebody have code...

I am creating a system where i will be sending information to PC by the SCI interface on 56F827 board. Does somebody have code that could help me accommplish this task. For example if i have an analogue signal input to the adc on the board. The adc converts signal to digital f


ADC does not start

Started by alberto_reit in Freescale DSPs15 years ago

Hallo to all, I'm using a 58F4046, it has 2 adc converter module ADCA and ADCB. I've tried ADCA in simultaneous scan mode and it...

Hallo to all, I'm using a 58F4046, it has 2 adc converter module ADCA and ADCB. I've tried ADCA in simultaneous scan mode and it works fine and generates the " on end" interrupt. I want to do the same with ADB but it doesen't work. I can see it by placing a breakpoint in th


what is assmply level call for reading ADC?

Started by sudamekedar in Freescale DSPs16 years ago 1 reply

hi, what is the asemply level call for reading ADC registers? like bfclr or bfset is there any call as bfread? where...

hi, what is the asemply level call for reading ADC registers? like bfclr or bfset is there any call as bfread? where will i get the instruction set for motorola DSP's kedar


ADC sync to PWM

Started by jongsooatyh in Freescale DSPs16 years ago 2 replies

Hi! I am using DSP56F805. Does anybody know how to synchronize ADC to PWM sync pulse and how to generate sync pulse? I also...

Hi! I am using DSP56F805. Does anybody know how to synchronize ADC to PWM sync pulse and how to generate sync pulse? I also need to know appconfig.h setup to do this. Motorola's embedded SDK is current working environment. Thanks. JS


ADC configuration for receiving two diferent analog signals

Started by unia hjy in Freescale DSPs16 years ago

Hi! I am using DSP56F801 like a modem. I have an analog signal at AN0 pin, so I have configurated my ADC with this set of...

Hi! I am using DSP56F801 like a modem. I have an analog signal at AN0 pin, so I have configurated my ADC with this set of instruction: #define ADC_A_SAMPLE_DISABLE_REG 0x00fe #define ADC_A_OFFSET_REG0 0x3ffc extern void demfskEndOfScanISR(void


questions about signal processing

Started by Si Diep in Freescale DSPs17 years ago 1 reply

Hi Is there anyway I can synchronously take sample from the ADC and processing at the same time. For instance, I want to...

Hi Is there anyway I can synchronously take sample from the ADC and processing at the same time. For instance, I want to sample my signal through the ADC and then put it in the buffer. Once this buffer is fulled, I send it to the filter and start processing my data and


High ADC offset

Started by mhier48 in Freescale DSPs16 years ago 1 reply

Hi!I am trying to build a special motor control with an DSP56F801, currently I am doing some tests with the DSP65F800 Demo-Board...

Hi!I am trying to build a special motor control with an DSP56F801, currently I am doing some tests with the DSP65F800 Demo-Board (witch has a 56801/60MHz installed).Using the onchip ADC I have encountered a high offset witch cutsevery voltage lower than 0.25V. In the documentation I have r