Fractional Math

Started by Terry Litinas in Freescale DSPs17 years ago 3 replies

Hello, I am working on a project with the DSP56F807, CodeWarrior 5.02, and SDK 2.5 and am fairly new to the DSP world. I have...

Hello, I am working on a project with the DSP56F807, CodeWarrior 5.02, and SDK 2.5 and am fairly new to the DSP world. I have questions concerning fractional and integer math for my application. When reading an 807 ADC channel I am interpreting the value as a 16 bit fractional


Problems 8013: Boot - FastIRQ - ADC

Started by radiorama1976 in Freescale DSPs14 years ago 3 replies

Hello group, my name is Carlo and I am a new member. I'm developing with the MC56F8013 DSP demo board and I'm having some trouble. ...

Hello group, my name is Carlo and I am a new member. I'm developing with the MC56F8013 DSP demo board and I'm having some trouble. Problem #1: I cannot get the DSP to boot up properly in standalone mode, when disconnected from the PC. I use the C+ASM stationery. The startup code which copies variables from FLASH to RAM at startup seems t


Multiple ADC / 805 / SDK2.5 / CW5 question

Started by chaderry in Freescale DSPs16 years ago

First off - I apologize if this message reaches some of you twice; I tried two days ago to post by email and yahoo - for the same...

First off - I apologize if this message reaches some of you twice; I tried two days ago to post by email and yahoo - for the same reason it refuses to accept even the passwords it's assigned me for my real account (forcing me to moonlight as charles derry, my spam attack addre


DSP56F803EVM ADC

Started by elowe_spsy in Freescale DSPs17 years ago 2 replies

Hello, I'm trying to measure how long the A to D coversions are taking. I'm using inputs 0 and 1 in differnetial mode. I have...

Hello, I'm trying to measure how long the A to D coversions are taking. I'm using inputs 0 and 1 in differnetial mode. I have it set up to use the call back on conversion. I drive a gpio line high when I call the ioctl with ADC_START and then drive the line low in the ca


ADC Clock divisor

Started by kj831ca in Freescale DSPs16 years ago

I'm having problem with DSP56F805 board from NewMicro as A/D too noisy about 100 mV. I tried the sample code cut from Motora SDK ...

I'm having problem with DSP56F805 board from NewMicro as A/D too noisy about 100 mV. I tried the sample code cut from Motora SDK documents without changing clock divisor from default 1 to 3 . My questions are : 1. Did I blew the A/D in chip by overclocking it ? 2.


FFT 56807

Started by Marius Goosen in Freescale DSPs12 years ago 2 replies

Hi, I am really new at programming a DSP, and a simple task is starting to cause me some trouble. I'm using the Motorola 56807 EVM with...

Hi, I am really new at programming a DSP, and a simple task is starting to cause me some trouble. I'm using the Motorola 56807 EVM with Cosewarrior and PE. I want to calculate a simple FFT and transmit the data serially to the PC. The problem is that as soon as I call the FFT function nothing happens? I tested my ADC to serial connection and it worked fine but it stops working when ...


Errors-DSP56F807EVM

Started by seto_dsp56 in Freescale DSPs17 years ago 1 reply

Hi, While building any example project (adc, pwm etc in DSP56F807EVM) I m getting following errors. ...

Hi, While building any example project (adc, pwm etc in DSP56F807EVM) I m getting following errors. ========================================= Can't write link map "". An unknown error occurred when linking target "tools" for projec


Motorola SDK 2.5 bsp adc

Started by Papa__J in Freescale DSPs17 years ago 1 reply

I have been looking at the adcdrv.c code included with the Motorola SDK 2.5 for the 56000/56000E and I am a little perplexed as to...

I have been looking at the adcdrv.c code included with the Motorola SDK 2.5 for the 56000/56000E and I am a little perplexed as to why the fifoInsert and fifoNum functions are being called without the fifoCreate or fifoInit functions having been called. Anyone have any insight on thi


Frequency calculating algorithms

Started by thabomogalanyane in Freescale DSPs15 years ago

I'm programming a DSP56F807EVM board with a Codeworrior Embedded SDK software and would like to request for a code which...

I'm programming a DSP56F807EVM board with a Codeworrior Embedded SDK software and would like to request for a code which calculates the frequency of an analogue signal fed into an onboard-ADC. This program must use the samples of the sampled analogue signal to achieve the


FFT's and signal detection

Started by mickmonx in Freescale DSPs15 years ago 2 replies

Hello all, I'm currently attempting to detect the level of the 66kHz component of an arbitrary signal using an 56F8323, I was...

Hello all, I'm currently attempting to detect the level of the 66kHz component of an arbitrary signal using an 56F8323, I was hoping that I could sample the signal using the ADC (taking say 512 samples) and then perform an FFT on these samples to give me another set of values


IRQA interrupt handling....; Art Johnson

Started by Nitin Madhukar Yewale in Freescale DSPs17 years ago 1 reply

Hi, I am using 56F826 for my project. I have configured IRQA interrupt as edge triggred and it is connected to external ADC. After...

Hi, I am using 56F826 for my project. I have configured IRQA interrupt as edge triggred and it is connected to external ADC. After EOC (4.1 micro seconds) it will generate interrupt and I will have to read digital value. But I can see that IRQA pin is generating interrup


Problem-ADC

Started by seto_dsp56 in Freescale DSPs17 years ago 1 reply

Hi, I have written code for simultaneous sampling of two signals using the DSP56F 807EVM.After loading the flash.elf file , at...

Hi, I have written code for simultaneous sampling of two signals using the DSP56F 807EVM.After loading the flash.elf file , at run time the code jumps to UnhandledISR.Actually, when I go thru the code single-stepping the file descriptor for AN0, AN4, AN2, AN6 are OK. But


I need help with Hardware DSP56F8323

Started by omarjaviert in Freescale DSPs13 years ago

Hi I have a problem. I did design a hardware of 36 x 36 mm with the DSP56F8323 and your performance is very good, this debuging and...

Hi I have a problem. I did design a hardware of 36 x 36 mm with the DSP56F8323 and your performance is very good, this debuging and programing. The modules PWM, GPIO and SPI is corect, but the voltage VLO, VMID and VHIGH of the DSP is the same. Then the ADC don't function correctly. The size is very importance, then I don't can do my design more big. I hope answer. Thanks.


How to reset ADC_STOP.

Started by sudamekedar in Freescale DSPs16 years ago

hi, i am using ADC_Stop to stop the adc sampling and ADC_START to start it. When i want to start sampling again i will have...

hi, i am using ADC_Stop to stop the adc sampling and ADC_START to start it. When i want to start sampling again i will have to reset the ADC_STOP. But it is not possible through SDK i will have to do it through periphBitSet for which i need the register address of STOP


A/d sdk driver for 56f807 question

Started by Roelof Oelofsen in Freescale DSPs18 years ago 1 reply

Hi group, I just started to explore the A/D SDK driver for the 56f807. My question is this: If I set the A/D up in loop...

Hi group, I just started to explore the A/D SDK driver for the 56f807. My question is this: If I set the A/D up in loop sequential mode, the conversion complete interrupt will be disabled. In the header file the auther states that I must use the ADC_STATE_READ ADC ioctl


DSP56807 FileIO Data

Started by li_xinming in Freescale DSPs17 years ago 1 reply

Hi, all: I `m using DSP56F807EVM FILEIO to save ADC data into a data file on hostPC. Next, I have to process these data by...

Hi, all: I `m using DSP56F807EVM FILEIO to save ADC data into a data file on hostPC. Next, I have to process these data by MatLab Wavelet Toolbox. The problem is I cannot load data into MatLab. Does anyone have experience to handle the problem? Thanks for help in advance.


Why the following program is not working?

Started by sudamekedar in Freescale DSPs16 years ago

Hi, I have written a simple ADC program for getting the raw count. But somehow the program is not working according to my...

Hi, I have written a simple ADC program for getting the raw count. But somehow the program is not working according to my expectations. The program does not go in CC_Callback when i run it for the first time, When i run it again i get the raw count as 3????. Can


Missing ports/pins on Demo Brd (56F8300DEMO)

Started by Nicholas Singh in Freescale DSPs16 years ago 1 reply

Hello, Seems as though this board is missing the PCB-mount DB9 serial port as well as what appears to be some RS-232 logic...

Hello, Seems as though this board is missing the PCB-mount DB9 serial port as well as what appears to be some RS-232 logic level shifting IC(s) and analog parts. Also, the Timer/PWM, ADC and GPIO/SERIAL set of connectors do not have pins. I'm specifically interest


Re: ADC Interrupts, SDK

Started by titt...@fzi.de in Freescale DSPs14 years ago

typedef struct { adc_eAnalogChannel AnalogChannel; adc_tSampleMask openSampleMask; Frac16 OffsetRegister; Frac16...

typedef struct { adc_eAnalogChannel AnalogChannel; adc_tSampleMask openSampleMask; Frac16 OffsetRegister; Frac16 LowLimitRegister; Frac16 HighLimitRegister; adc_eZeroCrossing ZeroCrossing; } adc_sState; ..... adc_sState adc_state; adc_state.ZeroCrossing = ADC_ZC_DISABLE; adc_state.OffsetRegister = 0;


FW: Codewarrion sample code

Started by LuisST in Freescale DSPs17 years ago 1 reply

Is there a place where I can find Codewarrior compatible sample code for the DSP 56807? Specifically for the ADC part? I can't find...

Is there a place where I can find Codewarrior compatible sample code for the DSP 56807? Specifically for the ADC part? I can't find a link between Motorolas 56807 manual and Codewarrior. Maybe a book somewhere? Thanks Luis Villa Product Manager Soluciones Tecnol?gi