Find help, specifications and source code for the LPC900. The LPC900 challenges Microchip and AVR based on the worlds most popular 8-bit architecture the 80C51. With a 2-clock core the LPC900 series is a high performance, very flexible and low cost 8-bit microcontroller family. Designers using or interested in these devices are encouraged to share their know-how and ask questions.
- Juan Antonio - Jan 5 10:04:06 2009
sorry,i redo the mail, I believe that the information was a little useless.
I´m currently working in a development for a hand-portable system, using
features of the LPC family ( low power, low consumption ).
I´m using LPC936 (2 AD modules-4 channels with shared controls).
I do a little programm in assembler and I use DAC1(AD13) only in AD1
module, and it’s OK.
But when I want to use AD00 + DAC0(AD03) in AD0 module I have an incorrect
function: if I read AD00, DAC0(AD03) disappears.
I think is a problem manipulating the shared control registers.
There are 4 channels in AD0 module, and I assume that is possible to work
with AD00 + DAC0(AD03) at same time.
Where could I find more information about this issue??
Can someone help me???
" For a prompt reply I would be very thankful ".
gracias a todos.
jamr
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
AW: - ast66 - Jan 5 11:08:19 2009
Hi jamr,
have you checked the user manual UM10116?
I havn't used ADC with the LPC936 yet. But if I understood the description
of "Table 18: A/D Mode register B (ADMODB - address A1h) bit description" on
pages 35/36 correctly, it's not possible to use ADC and DAC of one block at
the same time.
Look at bits 2 (ENDAC0) an 3 (ENDAC1).
regards
Armin
-----Ursprüngliche Nachricht-----
Von: l...@yahoogroups.com [mailto:l...@yahoogroups.com]Im
Auftrag von Juan Antonio
Gesendet: Montag, 5. Januar 2009 16:03
An: l...@yahoogroups.com
Betreff: [lpc900_users]
sorry,i redo the mail, I believe that the information was a little useless.
I´m currently working in a development for a hand-portable system, using
features of the LPC family ( low power, low consumption ).
I´m using LPC936 (2 AD modules-4 channels with shared controls).
I do a little programm in assembler and I use DAC1(AD13) only in AD1
module, and it’s OK.
But when I want to use AD00 + DAC0(AD03) in AD0 module I have an incorrect
function: if I read AD00, DAC0(AD03) disappears.
I think is a problem manipulating the shared control registers.
There are 4 channels in AD0 module, and I assume that is possible to work
with AD00 + DAC0(AD03) at same time.
Where could I find more information about this issue??
Can someone help me???
" For a prompt reply I would be very thankful ".
gracias a todos.
jamr
------------------------------------

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )
Re: - lpc2100_fan - Jan 5 13:19:49 2009
--- In l...@yahoogroups.com, "ast66"
wrote:
>
> Hi jamr,
>=20
> have you checked the user manual UM10116?
>=20
> I havn't used ADC with the LPC936 yet. But if I understood the
description
> of "Table 18: A/D Mode register B (ADMODB - address A1h) bit
description" on
> pages 35/36 correctly, it's not possible to use ADC and DAC of one
block at
> the same time.
> Look at bits 2 (ENDAC0) an 3 (ENDAC1).
>=20
> regards
>=20
> Armin
>=20
> -----Urspr=FCngliche Nachricht-----
> Von: l...@yahoogroups.com
[mailto:l...@yahoogroups.com]Im
> Auftrag von Juan Antonio
> Gesendet: Montag, 5. Januar 2009 16:03
> An: l...@yahoogroups.com
> Betreff: [lpc900_users]
>=20
>=20
> sorry,i redo the mail, I believe that the information was a little
useless.
>=20
> I=B4m currently working in a development for a hand-portable system, usin=
g
> features of the LPC family ( low power, low consumption ).
> I=B4m using LPC936 (2 AD modules-4 channels with shared controls).
>=20
> I do a little programm in assembler and I use DAC1(AD13) only in AD1
> module, and it's OK.
> But when I want to use AD00 + DAC0(AD03) in AD0 module I have an
incorrect
> function: if I read AD00, DAC0(AD03) disappears.
>=20
> I think is a problem manipulating the shared control registers.
> There are 4 channels in AD0 module, and I assume that is possible to
work
> with AD00 + DAC0(AD03) at same time.
> Where could I find more information about this issue??
> Can someone help me???
>=20
> " For a prompt reply I would be very thankful ".
> gracias a todos.
> jamr
>
You can not use the ADC and the DAC of one block simultaneously. In
theory you can use a capacitor to buffer the output of the DAC. It
needs to be big enough to keep the voltage for the time you use the
block as ADC but small enough to be charged fast enough to support
your max frequency. Hope you understand what I am telling you. If not,
my only recommendation is to NOT use the block with both functions in
one system.=20
Bob
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )Re: - Alvin Schmitt - Jan 6 0:04:34 2009
Your probably trying to read multiple A to D channels at the same time . There is usually
only one A to D per a group of channels so you can't read two channels at the same time.
You must read one first and then when that is finished read the second.
APSTRON LLC
P.O. Box 10336
Blacksburg VA 24062-0336
www.blacksburg.net/~schmitta
--- On Mon, 1/5/09, Juan Antonio
wrote:
From: Juan Antonio
Subject: [lpc900_users]
To: l...@yahoogroups.com
Date: Monday, January 5, 2009, 10:03 AM
sorry,i redo the mail, I believe that the information was a little useless.
I´m currently working in a development for a hand-portable system, using features of the
LPC family ( low power, low consumption ).
I´m using LPC936 (2 AD modules-4 channels with shared controls).
I do a little programm in assembler and I use DAC1(AD13) only in AD1 module, and it’s
OK.
But when I want to use AD00 + DAC0(AD03) in AD0 module I have an incorrect function: if I
read AD00, DAC0(AD03) disappears.
I think is a problem manipulating the shared control registers.
There are 4 channels in AD0 module, and I assume that is possible to work with AD00 +
DAC0(AD03) at same time.
Where could I find more information about this issue??
Can someone help me???
" For a prompt reply I would be very thankful ".
gracias a todos.
jamr

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