URGENT!! HELP PLEASEEEE !! How to use SPI? using the LIB_MCU functions for LPC1769

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

URGENT!! HELP PLEASEEEE !! How to use SPI? using the LIB_MCU functions for LPC1769

200 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jose_peeterson on Thu Oct 11 06:18:45 MST 2012
Hi,

    How to use the functions in LIB_MCU under lpc17xx_spi.h i want to form a connection between gyroscope l3g4200d from spardfun. i want to read the output values.

is there a template?

how to use the functions from here http://www-users.cs.york.ac.uk/~pcc/MCP/drivers/html/lpc17xx__spi_8h.html

particularly spi_readwrite(); spi_senddata(); and spi_receivedata();

[B]please help me. THIS IS FOR MY COLLEGE ASSIGNMENT[/B]

thanks a lot.
0 Kudos
2 Replies

192 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Superfred on Fri Oct 12 00:16:33 MST 2012
Hi Jose,

I used the SSP example provided by NXP, it worked very well!
see:
http://ics.nxp.com/support/documents/microcontrollers/zip/mcb1700.code.bundle.lpc1769.lpcxpresso.zip

But read at first the SSP section in the 1700 User manual, this is the most important starting point!

Fred
0 Kudos

192 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by js-nxp on Thu Oct 11 14:51:19 MST 2012

Quote:
[B]URGENT!! HELP PLEASEEEE !! [/B]

I'm sorry that I can't help you but usually, in other forums, threads which contain the above words get totally ingored by everyone as you are trying to make YOUR problem someone else's problem.:(

Maybe it will be different here.
0 Kudos