EFSL and SDHC

Started by drproton2003 in LPC20008 years ago 12 replies

Hello everyone, I am attempting to get EFSL to work with SDHC cards. I have downloaded version 0.2.9 RC7 from this page...

Hello everyone, I am attempting to get EFSL to work with SDHC cards. I have downloaded version 0.2.9 RC7 from this page http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/arm_memcards/ After realizing that I needed to use the SSP FIFO mode I had it working with a 1GB SD card. Now that I am using a SDHC card I am having some problems. The problems start in the sd_Init funct...


LPC1114 - SPI Clock speed

Started by nico...@gmail.com in LPC20008 years ago 5 replies

Hello all! I'm having some problems setting up ssp clock speed on a LPC1114. I want to set it to 15 MHz to communicate with an ATMEL AT45DB011D...

Hello all! I'm having some problems setting up ssp clock speed on a LPC1114. I want to set it to 15 MHz to communicate with an ATMEL AT45DB011D flash memory, but only get 3, no matter what I do, and I'm sure it's not a software problem since I already have this working with an LPC2368 at 15 MHz peripheral clock. On the other hand, AT45DB011D electrical specifications does not specify a minimum ...


LPC2378 Doubts - Clock, SSP/SPI, Timer)

Started by DeV in LPC20006 years ago 10 replies

i have the following queries related to > LPC2378 processor: > 1. normally if nothing is mentioned about power control, so the lpc2378 > ...

i have the following queries related to > LPC2378 processor: > 1. normally if nothing is mentioned about power control, so the lpc2378 > runs on the internal rc oscillator at 4Mhz right?? so if nothing is > mentioned about the PLL registers in our program then can we assume a > frequency of 4mhz being applied to cpu since the cpu divider will also be 1 > if pll is bypassed, am i right?? >


LPC21xx ARMwizard v1.2 freeware applicaton to setup the mcu registers update

Started by Alex in LPC20007 years ago 1 reply

Hi I have just uploaded the new version (v1.2) to my page what is new in ARMwizard v1.2 --------------------------------------------- ...

Hi I have just uploaded the new version (v1.2) to my page what is new in ARMwizard v1.2 --------------------------------------------- A/D converter settings added clear flag code in interrupts corrected from (x|=value) to (x=value) [Nathan Boyd LPC2000 yahoogroup] USB interrupt clear reg name corrected for LPC2141/2/4/6/8. SPI1/SSP interrupt function name has been corrected ...


Philips SPI1 confusion

Started by gen_4p in LPC200011 years ago 4 replies

Hello, I am working on some SPI routines on SSP port (lpc2148) and need some sanity check. Approach for sending data is quite standard and...

Hello, I am working on some SPI routines on SSP port (lpc2148) and need some sanity check. Approach for sending data is quite standard and straightforward - - check if transmit FIFO is not full - write a byte to data register - wait for the end of transmittion (busy flag cleared) Nevertheless that is what I see in Philips provided code. 1. From ../files/LPC214x_LPC213x Sample Code for...


Need a replacement for 4MB serial flash from ATMEL

Started by dhan...@solus.co.in in LPC20007 years ago 11 replies

Hi to all, We are facing an issue nothing technical but affecting the development task. That is we have two serial Flashes on our product...

Hi to all, We are facing an issue nothing technical but affecting the development task. That is we have two serial Flashes on our product interfaced using SPI and SSP, one is used to store the firmware using file system another stores a raw memory which is the user settings and some editable data. Then we have another SD card to store firmware using file system as an alternative option. ...


Emulating SPI interface on GPIO

Started by majess in LPC200011 years ago 1 reply

Hello all, I've got an odd and unusual problem. Unfortunately I'm not able to use SPI0 and SSP serial SPI interfaces on my LPC2131's...

Hello all, I've got an odd and unusual problem. Unfortunately I'm not able to use SPI0 and SSP serial SPI interfaces on my LPC2131's evaluation board. Instead of this I've got some unused GPIO pins. I'm curious if I can use that free GPIO pins to emulate software SPI interface, like it is possible with I2C?? Also I'd like to ask group members if any of them had a similar problem a...


SPI with the SSP on LPC2000 -is there other possibility?

Started by arielnakmann in LPC200011 years ago

Hi That the way I found possible to get the right data (using the real_view compiler ) any other nicer possibilities ? unsigned short...

Hi That the way I found possible to get the right data (using the real_view compiler ) any other nicer possibilities ? unsigned short SPI_ReceiveByte( void ) { unsigned short data; /* wrtie dummy byte out to generate clock, then read data from MISO */ SSPDR = 0xFF; /* Wait for transfer complete, SPIF bit set */ while ((SSPSR & (SSP_BSY/*|SSP_RNE*/)) ); while ((SSPSR & SS...


Rather complicated SPSP& timer setup

Started by Mike Harrison in LPC200011 years ago

I'm at planning stage of a large scale LED panel system & thinking about data distribution. Just been reading the SSP controller & timer...

I'm at planning stage of a large scale LED panel system & thinking about data distribution. Just been reading the SSP controller & timer documentation several times over - think I have the hang of it but wanted to run it past the list in case I've missed anything.... Controller (FPGA slicing up a DVI input) outputs a number of synchronous clock+data streams ( sent via LVDS to the panels). ...


Re: SSP in SPI slave mode

Started by alexnoname27 in LPC200010 years ago 1 reply

--- In l...@yahoogroups.com, "Gus" wrote: > > ok! 3 days of work and got it to work but I just need one question > answered if anyone...

--- In l...@yahoogroups.com, "Gus" wrote: > > ok! 3 days of work and got it to work but I just need one question > answered if anyone can help. philips people..help please! > > Why you need to set the clock divider (SSPCPSR)in slave mode? > When master, you define the clock speed but what about slave? > SSPCPSR value affect RTIM in SSPIMSC. If i set CPSDVSR on 12


3 hardware async serial ports on LPC2103...

Started by Mike Harrison in LPC200011 years ago

Just having a play with the SSP on the LPC2103 for a DMX application to see if I can coerce it into pretending to be a third async transmit...

Just having a play with the SSP on the LPC2103 for a DMX application to see if I can coerce it into pretending to be a third async transmit channel... After initial disappointment in SPI mode due to it asserting the data line early, I found that in SSI mode it works just fine. Set Data length to 11 bits ( start+8+2stop - use 10 for 1 stop bit), and send "0abcdefgh11" ("0abcdefgh1" for 1 st...


Interfacing LPC2148 with SD Card - EFSL (is an LPC2138 == LPC2148+USB?)

Started by Gaspar Pollano in LPC200010 years ago 2 replies

Hi forum! Im dealing with the implementation of "efsl Demo-Application for Philips LPC2138 ARM7TDMI-S" from Martin Thomas in a LPC2148 Olimex...

Hi forum! Im dealing with the implementation of "efsl Demo-Application for Philips LPC2138 ARM7TDMI-S" from Martin Thomas in a LPC2148 Olimex DevKit. (For those who dont know, is an example for using SPI/SSP port on the LPC for interfacing an SD/MMC with a FAT file system) found it here: http://www.siwawi.arubi.uni-kl.de/avr_projects. There is anybody outhere that have success with a...


Sd card Read\Write

Started by FISSORE CARLO in LPC200010 years ago

Re: [lpc2000] Re: SD Card read/write using SSP in Keil's MCB2140 (MCU LPC2148) Dear Joel, I have done some test on EFSL but I would like to try...

Re: [lpc2000] Re: SD Card read/write using SSP in Keil's MCB2140 (MCU LPC2148) Dear Joel, I have done some test on EFSL but I would like to try also Chan FatFS. May you send me your port working on LPC? Thank you in advance Carlo ----- Original Message ----- From: Joel Winarske To: l...@yahoogroups.com Sent: Thursday, September 28, 2006 6:50 PM Subject: Re: [lpc2000] Re: SD Card read...


SSP - LPC2148

Started by mgiaco82 in LPC200010 years ago 1 reply

Hello I need some help how to program it in a good style! Device LPC2148 which must communicate with an ADC and a DAC on SPI1. I need to...

Hello I need some help how to program it in a good style! Device LPC2148 which must communicate with an ADC and a DAC on SPI1. I need to sample an 8 channel 16Bit ADC with 10 kHz at the same sample frequency I must speak to a 4 channel 16Bit DAC.(some digital control loops). Also the processor should do a lot of other stuff too. So I want to use the FIFO on SPI1 for that or ?is there som...


SPI init problem

Started by bahadir_armagan in LPC200010 years ago 1 reply

Hi, I have a LPC2294 board. When I try to init SPI program crashes. OS is RL-ARM and spi_init function executes "SSPCR0 = 0x00C7;"...

Hi, I have a LPC2294 board. When I try to init SPI program crashes. OS is RL-ARM and spi_init function executes "SSPCR0 = 0x00C7;" instruction in simulator then it gives the folloving error: "Data Abort: Thumb Instruction at 00000C7EH, Memory Access at E005C000H" void spi_init (void) { /* Initialize and enable the SSP Interface module. */ U32 i; /* SSEL is GPIO, output set to ...


Re: SD Card read/write using SSP in Keil's MCB2140 (MCU LPC2148)

Started by medw...@hotmail.com in LPC200011 years ago 1 reply

> > There is also the ChaN FatFs project, see > > http://elm-chan.org/fsw/ff/00index_e.html > > This FAT FS supports FAT12 and FAT16 and...

> > There is also the ChaN FatFs project, see > > http://elm-chan.org/fsw/ff/00index_e.html > > This FAT FS supports FAT12 and FAT16 and emphasis is on small > > code size. The code is easily portable to LPC2xxx. > > > > The other FAT filesystem implementations already have ports to > > LPC2xxx. The hardest part is properly associating the SPI port > > in software with the one you use in ha


super fast data dump to SD memory card possible?

Started by joconradt in LPC200010 years ago 5 replies

Hi lpc2000 group! For a data logger I want to store incoming data on a SD-flash memory card as quickly as possible. I am using LPC2103...

Hi lpc2000 group! For a data logger I want to store incoming data on a SD-flash memory card as quickly as possible. I am using LPC2103 runnung at 4x16MHz, and I have connected a 1GByte SD-Flash to the SSP (SPI1) port; no FAT- filesystem (for speed reasons), just pure "data dump" onto the flash. I have never used SPI nor SD Flash cards before, so this might be impossible or stupid, but...


SPI0 works - SPI1 won't

Started by aethr in LPC200011 years ago 7 replies

Hi, Am trying to tackle a problem with my LPC2148 setup on an embedded artists board. I had connected up a LCD screen to SPI0 with SSEL...

Hi, Am trying to tackle a problem with my LPC2148 setup on an embedded artists board. I had connected up a LCD screen to SPI0 with SSEL acting as a CS signal (as GPIO) and SCK and MOSI for clock and data. I used MISO as it is not used for communication as a RESET signal for the LCD. This works fine, no problem. I tried to move the thing to the SSP port acting as SPI1 for increased speed...


Cortex M3, DMA and JTAG

Started by misterhershel in LPC20005 years ago 2 replies

I'm using DMA to transfer data from memory through an SSP interface on a LPC1759. Everything works fine if I power up the chip, with the JTAG...

I'm using DMA to transfer data from memory through an SSP interface on a LPC1759. Everything works fine if I power up the chip, with the JTAG interface connected (IAR Jlink). However, with no JTAG connection, I get data errors during the transfer. It doesn't matter if I'm debugging with the Jlink or not, just that it's connected. The right amount of data is transferred, but about the last half ...


Another LPC2138 Powerdown current issue

Started by noco...@web.de in LPC200010 years ago

Hi all, I'm trying to reduce the powerdown current of a LPC2138 custom minimal parts count board. RTC is configured to generate a wakeup...

Hi all, I'm trying to reduce the powerdown current of a LPC2138 custom minimal parts count board. RTC is configured to generate a wakeup interrupt every minute. a 3V lithium bat is connected to Vbat. Powerdown current is about 500uA. About 150uA is due to external circuitry (device connected to SSP module). I seem to have leakage current of about 50uA per PORT1 pin due to the internal pullup...