Sign in

Not a member? | Forgot your Password?

Search motoroladsp

Search tips

Find us on Facebook!





Subscribe to motoroladsp

Search tips

Free PDF Downloads

A Quadrature Signals Tutorial: Complex, But Not Complicated

Understanding the 'Phasing Method' of Single Sideband Demodulation

Complex Digital Signal Processing in Telecommunications

Introduction to Sound Processing

C++ Tutorial

Introduction of C Programming for DSP Applications

Fixed-Point Arithmetic: An Introduction

Cascaded Integrator-Comb (CIC) Filter Introduction

Discussion Groups

IIR Filter Design Software

See Also

Embedded SystemsFPGA

Discussion Groups | Freescale DSPs | 56f8300 dev. board adc problem.....


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

  

Post a new Thread



Is this thread worth a thumbs up?

0

56f8300 dev. board adc problem..... - isa gök - Jul 7 20:15:00 2004

hi!
i have problems with adc of the 56f8323(i am using
56f8300 dev. board).
i am trying to write a simple program usind adc.
i have sent it in my attachment.
in program i am burning the leds according to e-field
sensor or microphone(if button pressed).
i have used the adc initialization bean(in loop
simultaneous mode).
e-field in an4 input and microphone in an0 input.
My program dosn’t work :((
Status of the leds constant.
1)What is wrong?? is there anybody who can correct the
problem.....
2)acording to reference manuel adc result registers
signed(via sext bit)
but i am receiving a warning message if i write:
int sample_an0;
sample_an0 = getReg16(ADCA_ADRSLT0);
warning: implicit arithmetic conversionfrom ’unsigned
int’ to ‘int’
why???
3)making the result conventional (“result =
4095*(Vin/Vdd)” instead of “result =
4095*((Vin-Vdd/2)/Vdd)”) what kind of calculation i
should use? is this correct:
result = (result/32)+4095/2
4)how can i measure the time (or instruction cycle) of
any function in my program?
Thanks for your time.................... __________________________________

Attachment (not stored)
adc1.zip
Type: application/x-zip-compressed






RE: 56f8300 dev. board adc problem..... - Ebersman, Howard - Jul 7 21:57:00 2004

You can find out the execution time of a function by setting an I/O pin at the start and clearing it at the end of the function. Then, just use an oscilliscope to measure the duration of the pulses on the I/O pin.
 
Howard
-----Original Message-----
From: isa "gök [mailto:o...@yahoo.com]
Sent: Wednesday, July 07, 2004 4:15 PM
To: m...@yahoogroups.com
Subject: [motoroladsp] 56f8300 dev. board adc problem.....

hi!
i have problems with adc of the 56f8323(i am using
56f8300 dev. board).
i am trying to write a simple program usind adc.
i have sent it in my attachment.
in program i am burning the leds according to e-field
sensor or microphone(if button pressed).
i have used the adc initialization bean(in loop
simultaneous mode).
e-field in an4 input and microphone in an0 input.
My program dosn't work :((
Status of the leds constant.
1)What is wrong?? is there anybody who can correct the
problem.....
2)acording to reference manuel adc result registers
signed(via sext bit)
but i am receiving a warning message if i write:
int sample_an0;
sample_an0 = getReg16(ADCA_ADRSLT0);
warning: implicit arithmetic conversionfrom 'unsigned
int' to 'int'
why???
3)making the result conventional ("result =
4095*(Vin/Vdd)" instead of "result =
4095*((Vin-Vdd/2)/Vdd)") what kind of calculation i
should use? is this correct:
result = (result/32)+4095/2
4)how can i measure the time (or instruction cycle) of
any function in my program?
Thanks for your time....................
     
           
__________________________________

_____________________________________
/groups.php3







RE: 56f8300 dev. board adc problem..... - isa gök - Jul 8 11:56:00 2004

thank you Howard...
it is hard than i suppose....

and i solwed the problems about adc....
in adc initialization bean i have changed "calibrate
adc mode 0 and 1" option to normal instead of
calibrated......

isa

--- "Ebersman, Howard" <>
wrote:
> You can find out the execution time of a function by
> setting an I/O pin at
> the start and clearing it at the end of the
> function. Then, just use an
> oscilliscope to measure the duration of the pulses
> on the I/O pin.
>
> Howard
>
> -----Original Message-----
> From: isa "gök [mailto:]
> Sent: Wednesday, July 07, 2004 4:15 PM
> To:
> Subject: [motoroladsp] 56f8300 dev. board adc
> problem..... > hi!
> i have problems with adc of the 56f8323(i am using
> 56f8300 dev. board).
> i am trying to write a simple program usind adc.
> i have sent it in my attachment.
> in program i am burning the leds according to
> e-field
> sensor or microphone(if button pressed).
> i have used the adc initialization bean(in loop
> simultaneous mode).
> e-field in an4 input and microphone in an0 input.
> My program dosn't work :((
> Status of the leds constant.
> 1)What is wrong?? is there anybody who can correct
> the
> problem.....
> 2)acording to reference manuel adc result registers
> signed(via sext bit)
> but i am receiving a warning message if i write:
> int sample_an0;
> sample_an0 = getReg16(ADCA_ADRSLT0);
> warning: implicit arithmetic conversionfrom
> 'unsigned
> int' to 'int'
> why???
> 3)making the result conventional ("result =
> 4095*(Vin/Vdd)" instead of "result =
> 4095*((Vin-Vdd/2)/Vdd)") what kind of calculation i
> should use? is this correct:
> result = (result/32)+4095/2
> 4)how can i measure the time (or instruction cycle)
> of
> any function in my program?
> Thanks for your time.................... > __________________________________ >
> _____________________________________
> /groups.php3
> <http://www.dsprelated.com/groups.php3 >
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT <http://us.ard.yahoo.com/SIG90ur6hg/M)5196.4901138.6071305.3001176/D=gr
>
oups/S05771855:HM/EXP89318967/A!28215/R=0/SIGse96mf6/*http://comp
> anion.yahoo.com> click here <http://us.adserver.yahoo.com/l?M)5196.4901138.6071305.3001176/D=groups/S=
> :HM/A!28215/randH1810315 > _____
>
> > . __________________________________








Metrowerks Online Community and Support - MW Ron - Jul 9 3:14:00 2004

CodeWarriors

I am pleased to announce that Metrowerks Online Support and Community are
now available. These enhanced support offerings give you the ability to
interact with us in a new way, and improve the quality of support you
receive.

Our new support offerings enable customers to communicate with the
Metrowerks support team and other developers. Metrowerks new Online Support
<http://www.metrowerks.com/Online_Support> and Community
<http://www.metrowerks.com/community> features the ability to submit and
track service requests online and to search the Metrowerks Knowledge Base,
as well as participate in online developer forums.

Community <http://www.metrowerks.com/Community>
Open to everyone
Community is a forum that will replace the current codewarrior* newsgroups
with web-based forums. Ron Liechty (MW Ron) and the support team will
moderate these new discussion forums, which will serve as free support for
you.
Features include:
- Participate in message boards
- Developer forums for shared learning on CodeWarrior topics
- Discuss and post questions and answers
- Search and view message boards by topic

Online Support <http://www.metrowerks.com/Online_Support>
Available only to customers with a valid support contract
Online Support allows customers to submit & track service requests (SRs)
online and search our full Siebel Knowledge Base.
Features include:
- Submit and track service requests (SRs)
- Search our Knowledge Base of solutions and FAQs
- Manage your profile and your company profile
- View your products and support contracts







RE: Metrowerks Online Community and Support - Wim de Haan - Jul 9 6:27:00 2004

Dear Metrowarriors,

I'm not amazed about this purpose of Metrowerks to set up an own discussion
group, moderated and censored by Metrowerks.
In the last two years, a lot of messages have been posted, which were
critical about Metrowerks and Motorola. Also messages of users (as I), who
decided not to use DSP56F80x and Metrowerks tools for future projects, due
to the problems encountered.
If we all move from this independant yahoo group to the new censored
Metrowerks discussion group, I'm sure that any messages, which are too
critical, will be blocked.
So stay independant at this yahoo group!

Kind regards, Wim de Haan Exendis B.V.
W.J. de Haan
P.O.box 56, 6710 BB Ede
Keesomstraat 4, 6716 AB Ede
The Netherlands.
Tel: +31-(0)318 - 676305
Fax: +31-(0)318 - 676319
mailto:
URL: http://www.exendis.com <http://www.exendis.com/>

-----Original Message-----
From: MW Ron [mailto:]
Sent: vrijdag 9 juli 2004 5:14
To:
Subject: [motoroladsp] Metrowerks Online Community and Support
Importance: Low CodeWarriors

I am pleased to announce that Metrowerks Online Support and Community are
now available. These enhanced support offerings give you the ability to
interact with us in a new way, and improve the quality of support you
receive.

Our new support offerings enable customers to communicate with the
Metrowerks support team and other developers. Metrowerks new Online Support
< <http://www.metrowerks.com/Online_Support>
http://www.metrowerks.com/Online_Support> and Community
< <http://www.metrowerks.com/community>
http://www.metrowerks.com/community> features the ability to submit and
track service requests online and to search the Metrowerks Knowledge Base,
as well as participate in online developer forums.

Community < <http://www.metrowerks.com/Community>
http://www.metrowerks.com/Community>
Open to everyone
Community is a forum that will replace the current codewarrior* newsgroups
with web-based forums. Ron Liechty (MW Ron) and the support team will
moderate these new discussion forums, which will serve as free support for
you.
Features include:
- Participate in message boards
- Developer forums for shared learning on CodeWarrior topics
- Discuss and post questions and answers
- Search and view message boards by topic

Online Support < <http://www.metrowerks.com/Online_Support>
http://www.metrowerks.com/Online_Support>
Available only to customers with a valid support contract
Online Support allows customers to submit & track service requests (SRs)
online and search our full Siebel Knowledge Base.
Features include:
- Submit and track service requests (SRs)
- Search our Knowledge Base of solutions and FAQs
- Manage your profile and your company profile
- View your products and support contracts







Re: Metrowerks Online Community and Support - Michael W. Mann - Jul 9 16:18:00 2004

--- In , Wim de Haan <w.d.haan@e...> wrote:
> Dear Metrowarriors,
>
> I'm not amazed about this purpose of Metrowerks to set up an own
discussion group, moderated and censored by Metrowerks.
> In the last two years, a lot of messages have been posted, which
were critical about Metrowerks and Motorola. Also messages of users
(as I), who decided not to use DSP56F80x and Metrowerks tools for
future projects, due to the problems encountered. If we all move
from this independant yahoo group to the new censored Metrowerks
discussion group, I'm sure that any messages, which are too critical,
will be blocked.
> So stay independant at this yahoo group!
>
> Kind regards,
>
> Wim de Haan

As a former application engineer for the 56F800/E series I'm sorry
that your experience with CodeWarrior and the 56F80x family was not a
happy one. My brother in Colorado complains bitterly about what his
company is going through trying to use TI DSPs. Everybody has a
different experience, some positive, some negative.

For the rest of the community, I suggest you give Metrowerks a chance
to do the right thing in supporting this community of designers. MW
Ron has proven over many years to be an honest, honorable, and
effective technical expert and I doubt very much that the level of
censorship you posit is even remotely possible given his
participation on the new forum.

What Metrowerks is describing will provide more effective support for
CodeWarrior users. If you don't get the help you need, or think
things are amiss, I suggest the following strategy:

1) Contact MWRon directly.

2) Contact technical support for the device you are using and get
them involved. Don't forget, Metrowerks also has "customers" on the
silicon side as well as users like you. (Silicon manufacturers
understand that they need good dev tools to sell devices.)

3) Post your concerns on Yahoo.