SSP: How to clear transmit FIFO

Started by Gerhard Unrecht in LPC200014 years ago 8 replies

Hey, I want to clear the transmit-Fifo, to have a defined state. Knows anybody how to do do this? Regards Gerhard Unrecht ...

Hey, I want to clear the transmit-Fifo, to have a defined state. Knows anybody how to do do this? Regards Gerhard Unrecht


FTP protocol on LPC2148

Started by srinath_ars in LPC20006 years ago 5 replies

Hi, am using LPC2148 for interfacing SD/MMC cards through SPi/SSP protocol.I want to deal with file transfers with these arrangement for which...

Hi, am using LPC2148 for interfacing SD/MMC cards through SPi/SSP protocol.I want to deal with file transfers with these arrangement for which i need to use FTP protocol.....so is there any one can help me on this ... thankyou ------------------------------------


Definitive answer - is there one? Using SSEL as GPIO on SSP port (SPI1) on 213x

Started by darcy_will in LPC200012 years ago 3 replies

Hi all, I'm hoping someone could please provide an answer to this one to save me a bit of work. We're using the LPC2138 for development,...

Hi all, I'm hoping someone could please provide an answer to this one to save me a bit of work. We're using the LPC2138 for development, dropping back to the LPC2134 for production. We're using 13 of the 16 ADCs, and both USARTs, so we can't use SPI0. I've spent the last 30 minutes searching the old forum posts and have yet to find a concrete "yes/no" answer. The question: With S...


questions re ssp0 rx and dma

Started by John S in LPC20009 years ago 2 replies

On a LCP2378. I am using PWM to toggle control lines of a a/d and start a ssp (master) transfer at a 5us interval. I've setup the DMA to move...

On a LCP2378. I am using PWM to toggle control lines of a a/d and start a ssp (master) transfer at a 5us interval. I've setup the DMA to move the (16bit) data to usbram. DMACCONFIGURATION.E=1; DMACC0CONTROL.TransferSize = 0x100; .SBSize = 1; .DBSize = 1; .SWidth = 1; .DWidth = 2; .SI = 0; .DI = 1; DMACC0SRCADDR = 0xe0068008; DMACC0DESTADDR = 0x7fd00000; DMACC0CONFIGURATION.SR...


AC97, TDM or CODEC Interfacing ?

Started by croquettegnu in LPC200013 years ago 1 reply

Hi guys, I2S seems to be possible with the use of a SPI What about AC97 or TDM management ? Is the SPI enough , the SSP to dela with ? Thanks...

Hi guys, I2S seems to be possible with the use of a SPI What about AC97 or TDM management ? Is the SPI enough , the SSP to dela with ? Thanks in advance


DMA questions

Started by drproton2003 in LPC200011 years ago 2 replies

Hello everyone, I'm working on an application in which I need to spit a lot of info out an SSP port. It seems to me like DMA would be a good...

Hello everyone, I'm working on an application in which I need to spit a lot of info out an SSP port. It seems to me like DMA would be a good to do this, rather than tying up the processor with the mundane task of data transfer. From the reading I've done it looks like only the USB or external ram can be used for DMA. How about the Ethernet RAM? I am working with an LPC2366 and not usin...


Re: SSP FIFO

Started by shilpi_dhoot17 in LPC200011 years ago

hi, i tried your code but the S0SPDR shows 0xff even after assigning=20 S0SPDR =3D 0x0055; in debug mode any idea why? Please...

hi, i tried your code but the S0SPDR shows 0xff even after assigning=20 S0SPDR =3D 0x0055; in debug mode any idea why? Please suggest. thanks --- In l...@yahoogroups.com, "philips_apps" =20 wrote: > > Hello Malcom, > =20 > Here are elements of your SPI0 code that are not lined up with this=20 > peripheral's spec published in the LPC214x User Manual: > =20 > 1)S0SPC


General SPI Question

Started by jeffbranc01 in LPC200013 years ago 3 replies

Hello, This is more of a general question regarding using the SPI peripherals with the LPC2000 chips. I'm somewhat new to this form of...

Hello, This is more of a general question regarding using the SPI peripherals with the LPC2000 chips. I'm somewhat new to this form of serial communications, so sorry for boring all you pros out there. I'm developing with the LPC2220 chip, and am actually using the SSP peripheral, which, for all intents and purposes works just like an SPI, but with a few extra options. My question is, i


Synchronous Serial Port of LPC213x - is it useful for PS/2 keyboard/mouse interface

Started by Yuri Ostry in LPC200013 years ago 1 reply

Hello, Just a stupid question from someone who still not digged up through all those huge pile of datasheets and other documentation......

Hello, Just a stupid question from someone who still not digged up through all those huge pile of datasheets and other documentation... 8-) Is it possible to use SSP peripherial of LPC213x for PS/2 keyboard/mouse interface? I now trying to figure this out, reading LPC user manual and all information that I found about PS/2 protocol, but maybe


SSP and DMA

Started by in LPC20009 years ago 1 reply

Hi, I'm using LPC2478 with keil. I have an external master device that sends data using SPI (CLK,DATA,CS) continually. I need to record...

Hi, I'm using LPC2478 with keil. I have an external master device that sends data using SPI (CLK,DATA,CS) continually. I need to record this data. It's quite fast (about 1 byte every 2 micro second). I want to use DMA to store this large (endless) stream to external SDRAM. I= t could be a circular area of 32MB. =20 I never use DMA =96 so it's quite new to me. Doe's anyone ...


SSEL1 functionally

Started by javida13 in LPC200014 years ago 2 replies

The manual states that for the SSEL0 signal, that when SPI is setup as a Master, this signal can be used as GPIO. This statement is not...

The manual states that for the SSEL0 signal, that when SPI is setup as a Master, this signal can be used as GPIO. This statement is not in the description of the SSEL1 signal. I'm configurating the SSP as an SPI port and would like to use SSEL1 as a GPIO pin. Any experience? Barry


Advice to Initialize SD on LPC2148

Started by Gaspar Pollano in LPC200010 years ago

Hi Guys! The past two days I was dealing with some strange behaviour on my project. I use a LPC2148 conected to an SD-CARD (1GB Kingston) on...

Hi Guys! The past two days I was dealing with some strange behaviour on my project. I use a LPC2148 conected to an SD-CARD (1GB Kingston) on the SP1 (SSP) port. The code I was using is EFSL (0.2.9 RC 7) on Yagarto Toolchain. My Code is something like this: 1> Reset uC 2> Init peripherals (GPIOs, EEPROM, GLCDs, etc) 3> Some Beeps, Splash screen at GLCD, etc 4> Init SD Being shor


Crossworks sample project for sdcard support

Started by Jean-Sebastien Stoezel in LPC20008 years ago 2 replies

Hello, I've been battling with this for a while now, I cant seem to get any communication going between an lpc1756 and an sdcard. I've used...

Hello, I've been battling with this for a while now, I cant seem to get any communication going between an lpc1756 and an sdcard. I've used code from cmsis, demo code from NXP and my own code (that works on an lpc2148). I've used different sdcards, I just can't get it to work. Does anybody have ready to run project for crossworks, that exercises an sdcard on ssp/spi0 with a cortex m3? Th...


Error in UM10114, Rev. 03/2008, belonging LPC21xx and LPC22xx

Started by g200...@aon.at in LPC200010 years ago

Good Day All, I'm bringing up a project with LPC2294 Rev/01. This part owns the SSP interface. To activate this, you first have to...

Good Day All, I'm bringing up a project with LPC2294 Rev/01. This part owns the SSP interface. To activate this, you first have to deactivate SPI1 in PCONP, using Bit 10 PCSPI1. Then bit PCSSP is to avtivate. In table 74, page 77, this bit is assigned to bit no. 23. This is definitely wrong. The correct bit no. is 21!!!! Kind Regards Gottfried ----------------------------------...


SSP issues with lpc24xx

Started by Herbert Demmel in LPC200010 years ago 4 replies

Hi, when switching an lpc2000 design with a SPI slave to a lpc24xx I used the second set of MISO0 / MOSI0 / SSEL0 / SCK0 pins on P2[xx]...

Hi, when switching an lpc2000 design with a SPI slave to a lpc24xx I used the second set of MISO0 / MOSI0 / SSEL0 / SCK0 pins on P2[xx] expecting to be able to run my existing SPI code via these port pins. After investigating several hours into "why doesn't it work anymore" I found out that the SPI clock SCK (not SCK0) is available on P0[15] only, so when using P2[xx] SSP0 must be use...


SSP/SPI with DMA / LPC1765

Started by Chris in LPC20008 years ago

Question #1: SPI is a data exchange protocol where both TX and RX is going on at the same time, even though generally you only care about one...

Question #1: SPI is a data exchange protocol where both TX and RX is going on at the same time, even though generally you only care about one of the two. The other is dummy data. But it still has to be read. In the case of DMA transfer, I would assume that I must provide memory buffers for both streams of DMA data. Even though I may only care about the TX data I am sending out, I still hav...


LPC embedded work

Started by Bruce Paterson in LPC200010 years ago 2 replies

Leon, I hope it's OK to post this short request ? Due to some overcommitted resources, we may be after an embedded LPC programmer for a few...

Leon, I hope it's OK to post this short request ? Due to some overcommitted resources, we may be after an embedded LPC programmer for a few months work in Melbourne, Australia. Familiarity with SSP, SPI, Ethernet and USB Host useful, and work with synchronous clocking a plus. Coding would be largely in Gnu-C. Get back to me via email directly if you're interested. Cheers, Bruce Br...


SPI and SSP double buffered?

Started by Gus in LPC200013 years ago 2 replies

Hello, On SPI, is the shift register different than the data register? In other words, if I am a slave, can I put data in the SPI data...

Hello, On SPI, is the shift register different than the data register? In other words, if I am a slave, can I put data in the SPI data register any time even while a transition is in progress? On PIC micros this is safe practice but what about LPC? Thanks, Gus


LPC2138 SSP port questions

Started by beedward2 in LPC200014 years ago

Hello all, I want to connect an LPC2138 to a Cirrus Logic serial ADC, the CS5451A. This chip is a 6-channel, 16-bit...

Hello all, I want to connect an LPC2138 to a Cirrus Logic serial ADC, the CS5451A. This chip is a 6-channel, 16-bit sigma-delta ADC that samples all 6 channels simultaneously. It acts as an SPI master, and outputs all 6 words of data in one continuous 96-bit transmissio


lpc2148 SPI SSP problem

Started by ssonderhoff in LPC20008 years ago 1 reply

Hi, I am attempting to hook up a SPI battery backed up clock DS3234 to the SSPm port on a Logomatic V2 from sparkfun. I have yet to show any sort...

Hi, I am attempting to hook up a SPI battery backed up clock DS3234 to the SSPm port on a Logomatic V2 from sparkfun. I have yet to show any sort of communication, however that is getting ahead of myself. I initialize the port as shown on one of the NXP application notes and try to send data to the RTC. The logomatic uses SPI0 for an SD/MMC card which promptly loses it's ability to access the car...