EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

SPi with inclinometer

Started by el_lopo06 May 22, 2009
Hi everybody this my first time here .

I came here and sold my previous STM32 (Cortex M3 based) board when I saw the activity of this LPC2000 group to buy a LPC2148.

So here is my first question :
I have that LPC2148 I want to connect to an inclinometer (ADIS16209) via SPI bus : did someone already used it or equivalent.

I had searched and did not found any code elsewhere.

An Engineer's Guide to the LPC2100 Series

The following links might be of some help to you:

http://jcwren.com/arm/
http://code.google.com/p/blueboard-lpc214x/

-Ashwin

On Fri, May 22, 2009 at 1:47 PM, el_lopo06 wrote:

> Hi everybody this my first time here .
>
> I came here and sold my previous STM32 (Cortex M3 based) board when I saw
> the activity of this LPC2000 group to buy a LPC2148.
>
> So here is my first question :
> I have that LPC2148 I want to connect to an inclinometer (ADIS16209) via
> SPI bus : did someone already used it or equivalent.
>
> I had searched and did not found any code elsewhere.
>
>
>


--- In l..., "el_lopo06" wrote:
>
> Hi everybody this my first time here .
>
> I came here and sold my previous STM32 (Cortex M3 based) board when I saw the activity of this LPC2000 group to buy a LPC2148.
>
> So here is my first question :
> I have that LPC2148 I want to connect to an inclinometer (ADIS16209) via SPI bus : did someone already used it or equivalent.
>
> I had searched and did not found any code elsewhere.
>

Hi, I'm using the LPC2148 with a SCA3000 accelerometer via SPI bus. I use the SSP port of the LPC2148.

In the past I was using the ADIS16201 with an AVR microcontroler.

If you need some help I can give you my source code.

Noel

Yes I would get some inspiration.
Thanks for your answer

--- In l..., "noel.lemoult" wrote:
>
> --- In l..., "el_lopo06" wrote:
> >
> > Hi everybody this my first time here .
> >
> > I came here and sold my previous STM32 (Cortex M3 based) board when I saw the activity of this LPC2000 group to buy a LPC2148.
> >
> > So here is my first question :
> > I have that LPC2148 I want to connect to an inclinometer (ADIS16209) via SPI bus : did someone already used it or equivalent.
> >
> > I had searched and did not found any code elsewhere.
> > Hi, I'm using the LPC2148 with a SCA3000 accelerometer via SPI bus. I use the SSP port of the LPC2148.
>
> In the past I was using the ADIS16201 with an AVR microcontroler.
>
> If you need some help I can give you my source code.
>
> Noel
>

Ok I will try to extract SPI code from the task.
Thanks for your answer
--- In l..., Ashwin Athani wrote:
>
> The following links might be of some help to you:
>
> http://jcwren.com/arm/
> http://code.google.com/p/blueboard-lpc214x/
>
> -Ashwin
>
> On Fri, May 22, 2009 at 1:47 PM, el_lopo06 wrote:
>
> >
> >
> > Hi everybody this my first time here .
> >
> > I came here and sold my previous STM32 (Cortex M3 based) board when I saw
> > the activity of this LPC2000 group to buy a LPC2148.
> >
> > So here is my first question :
> > I have that LPC2148 I want to connect to an inclinometer (ADIS16209) via
> > SPI bus : did someone already used it or equivalent.
> >
> > I had searched and did not found any code elsewhere.
> >
> >
> >
>
>

Thanks for your code, as an equivalent inclinometer it's really near of
what I want to implement.
--- In l..., "noel.lemoult" wrote:
>
> --- In l..., "el_lopo06" dlewin@ wrote:
> >
> > Hi everybody this my first time here .
> >
> > I came here and sold my previous STM32 (Cortex M3 based) board when
I saw the activity of this LPC2000 group to buy a LPC2148.
> >
> > So here is my first question :
> > I have that LPC2148 I want to connect to an inclinometer (ADIS16209)
via SPI bus : did someone already used it or equivalent.
> >
> > I had searched and did not found any code elsewhere.
> > Hi, I'm using the LPC2148 with a SCA3000 accelerometer via SPI bus. I
use the SSP port of the LPC2148.
>
> In the past I was using the ADIS16201 with an AVR microcontroler.
>
> If you need some help I can give you my source code.
>
> Noel
>

Hi,

I tried the Keil SPI code, there are many errors.

>From the Keil site, the "AA missing" problem is about an old compiler.
So I made a new Project, import the SPI code into it (I'm not using
MCB2140) and "build".
So many errors arise, like the first

".\Common\inc\irq.h(74): error: #40: expected an identifier".

I'm not obliged to use this code but I thought that Keil is the ref.
Except in the FreeRtos project code, is there an SPI example code ?

--- In l..., "el_lopo06" wrote:
>
> Thanks for your code, as an equivalent inclinometer it's really near
of
> what I want to implement.
> --- In l..., "noel.lemoult" noel.lemoult@ wrote:
> >
> > --- In l..., "el_lopo06" dlewin@ wrote:
> > >
> > > Hi everybody this my first time here .
> > >
> > > I came here and sold my previous STM32 (Cortex M3 based) board
when
> I saw the activity of this LPC2000 group to buy a LPC2148.
> > >
> > > So here is my first question :
> > > I have that LPC2148 I want to connect to an inclinometer
(ADIS16209)
> via SPI bus : did someone already used it or equivalent.
> > >
> > > I had searched and did not found any code elsewhere.
> > >
> >
> > Hi, I'm using the LPC2148 with a SCA3000 accelerometer via SPI bus.
I
> use the SSP port of the LPC2148.
> >
> > In the past I was using the ADIS16201 with an AVR microcontroler.
> >
> > If you need some help I can give you my source code.
> >
> > Noel
>



The 2024 Embedded Online Conference