Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Discussion Groups | Freescale DSPs | A/d sdk driver for 56f807 question

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

A/d sdk driver for 56f807 question - Roelof Oelofsen - Apr 19 7:54:00 2002



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 command. Howver, how will I know
if the conversion is still in progress (No macro to read CIP bit in API)
or if I am reading the ADC register too frequent (Read one sample more
than once)?

Thank you in advance

Roelof Oelofsen
Telkom Development Laboratory
Telkom SA





(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

RE: A/d sdk driver for 56f807 question - Johnson, Jerry - Apr 19 14:14:00 2002

While you may not be able to do exactly what you want with a specific driver
and its API, there is always the basic system API.
periphMemWrite();
periphMemRead();
periphBitTest();
Etc...

These are defined in periph.h.

It has been my experience, that as I become more familiar with a specific
peripheral, the less I use the SDK drivers, and the more I gravitate to
optimizing the specific features I need via direct manipulation of the
peripheral registers, even resorting to my own interrupt routines in
assembly language when necessary.

I very much appreciate the SDK as a starting point, and for providing the
building blocks for a complete system. Working within its framework,
provides early success, and early feedback on the usefulness and viability
of the hardware as implemented. However, as my application has progressed,
I find that the only parts of the SDK that are left, are initialization, the
framework for register context, certain functions that are "just what the
doctor ordered," and other non-critical parts of my application.

I have never expected it to be anything else, that what it is. Taken
individually, most drivers and API's are of production quality. However,
would I build a system without replacing a few of the critical API's or
drivers with my own specialized routines? I sincerely doubt it.

Hope this helps, without stirring up too much controversy.

JJ

-----Original Message-----
From: Roelof Oelofsen [mailto:]
Sent: Friday, April 19, 2002 2:54 AM
To:
Subject: [motoroladsp] A/d sdk driver for 56f807 question 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 command. Howver, how will I know
if the conversion is still in progress (No macro to read CIP bit in API)
or if I am reading the ADC register too frequent (Read one sample more
than once)?

Thank you in advance

Roelof Oelofsen
Telkom Development Laboratory
Telkom SA _____________________________________
/groups.php3
<http://www.dsprelated.com/groups.php3 > .




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )