LPC213x SSP Controller

Started by lp2000c in LPC200013 years ago 1 reply

We recently migrated a design from LPC2124 to LPC2138. We assumed that when they converted SPI1 to SSP, they added...

We recently migrated a design from LPC2124 to LPC2138. We assumed that when they converted SPI1 to SSP, they added functionality, but did not remove any of the existing functionality. We discovered, that they removed the option of having it transmit LSB first. We can


LPC21xx SSP controller as SPI master and slave

Started by ashwin athani in LPC200010 years ago

Hi all, We have been trying to use the SSP controller on the LPC2148 (master) and LPC2138 (slave) as SPI. The hardware design is...

Hi all, We have been trying to use the SSP controller on the LPC2148 (master) and LPC2138 (slave) as SPI. The hardware design is such that LPC2148 and LPC2138 are connected over the SSP interface. There are some sensors connected to the LPC2138 and the LPC2148 has to read these sensor values over SPI. Typically while developing the driver for any interface you would have t...


SSP Slave mode

Started by charlesgrenz in LPC200010 years ago

Hi all. I need a reality check here. I have a LPC2103 processor running at 70MHz. I need to have the SSP running in slave mode and with a...

Hi all. I need a reality check here. I have a LPC2103 processor running at 70MHz. I need to have the SSP running in slave mode and with a minimum divisor for the CPSDVSRmin = 12 the fastest clock is 5.833MHz. Am I correct in this understanding or have I missed something here. Thanks and regards, Charles


SSP in SSI mode

Started by raphaelloeffel in LPC200013 years ago

Hi I try to run the SSP(SPI1) in the SSI mode (LPC2138). Is it possible to use a FS signal which is longer than one SCK...

Hi I try to run the SSP(SPI1) in the SSI mode (LPC2138). Is it possible to use a FS signal which is longer than one SCK period in slave mode? In other words is the FS falling edge sensitive? thanks raphi


Re: LPC2131 SPI problem

Started by charlesgrenz in LPC200012 years ago

Hi, I am not sire about the 2131, but the 2138 has a SPI and SSP. The SPI only does 8 bit and the SSP allows from 4 (?) to 16 which is ...

Hi, I am not sire about the 2131, but the 2138 has a SPI and SSP. The SPI only does 8 bit and the SSP allows from 4 (?) to 16 which is programmable. Charles --- In lpc2000@lpc2..., "drb5599" wrote: > Thanks for the good info guys. I am looking at the assembly code > for changing the SPI registers. It's jus


What is the interest of SSP Peripherals ?

Started by croquettegnu in LPC200012 years ago 2 replies

Sorry for this newbie question, but regarding the SPI and the UART peripherals , I don't see what is the interest, the use of the...

Sorry for this newbie question, but regarding the SPI and the UART peripherals , I don't see what is the interest, the use of the SSP peripheral ? Thanks


SSP in LPC2468

Started by metin in LPC20007 years ago
SSP

Hi all, I am using LPC2468 in my system I am going to use SSP for sending some datas as continuosly (in Texas Instruments Synchronous Serial...

Hi all, I am using LPC2468 in my system I am going to use SSP for sending some datas as continuosly (in Texas Instruments Synchronous Serial Frame Format - Continuous Frames Transfer.) But I couldn't set the SSP0 interface of LPC2468 to continuos frame transfer. I would appreciate any help on this issue. Mguv ------------------------------------


Available Software for SSP peripheral (LPC2148 - IAR) ???

Started by croquettegnu in LPC200011 years ago 6 replies

Hi All, I'm looking for software examples concerning the fast SPI called SSP but I was not able to find one especially under the IAR...

Hi All, I'm looking for software examples concerning the fast SPI called SSP but I was not able to find one especially under the IAR toolchain: there are UART, timer, usb but not SPI examples. Could you point me to some soft please? Thanks a lot Frederic


UART, SPI and SSP max speed ???

Started by croquettegnu in LPC200012 years ago 9 replies

Hello all ! I'm working on the LPC214x family MCU and I need to know the different max speed, throughput for their embedded UART, SPI and SSP...

Hello all ! I'm working on the LPC214x family MCU and I need to know the different max speed, throughput for their embedded UART, SPI and SSP because I was not able to find them on the user manual ... Thanks a lot!


Help,About LPC2132's SSP

Started by lightstar317 in LPC200011 years ago

Hi,every one! Recently,i have beening working with my design.I use a RCM3000=20 and LPC2132 on my board.Now i face with a question. ...

Hi,every one! Recently,i have beening working with my design.I use a RCM3000=20 and LPC2132 on my board.Now i face with a question. RCM3000 has a spi,and i use it to send three-bytes command to=20 2132.In the part of 2132,i use the SSP(SPI1) and in a interrupt=20 mode. The following is my assignment of the communication lines: R3000 LPC2132 PB0(CLKB)


LPC2103 SSP problem ;(

Started by samlee1234567 in LPC200010 years ago 1 reply

Hi i am trying to program the LPC2103 using the OLIMEX board to work the SPI and i am using IAR workbench. however, i have been encountering...

Hi i am trying to program the LPC2103 using the OLIMEX board to work the SPI and i am using IAR workbench. however, i have been encountering quirky problems. Upon further investigation, i found the following symptoms: i hooked up the SSP miso to mosi ... hoping to see that the same stuff gets back into the data register. when i do SSPDR_bit.DATA=0xAA; int a=SSPDR_bit.DATA; i g...


LPC2138: Strange SSP Behavior

Started by tah2k in LPC200013 years ago 7 replies

I'm writing the driver for the LPC2138 SSP block and I am encountering some strange behavior: First of all, the user manual...

I'm writing the driver for the LPC2138 SSP block and I am encountering some strange behavior: First of all, the user manual states SSPCR1, SSPCPSR, and SSPIMSC are all reset to 0x0 upon powerup. I am finding the following values in these registers after reset:


SSP Bug consequences on LPC2148 (errata sheet): no workaround !!!!!!!!!!!!

Started by croquettegnu in LPC200011 years ago 2 replies

I've got a question on the following errata: Initial data bits/clocks of the SSP transmission are shorter than subsequent pulses at higher...

I've got a question on the following errata: Initial data bits/clocks of the SSP transmission are shorter than subsequent pulses at higher frequencies There is no work around whereas there are some issues for frequencies between 20MHz and 30MHz. How can we handle these baudrates with this bug? I do not understand how to deal with the consequences... Thanks in adavance Frederic


SSP LPC2148

Started by mgiaco82 in LPC200010 years ago 5 replies

Hello I have some questions concerning the SSP on the LPC2148. I need to speak with one ADC and one DAC. So therefore I need 2 slave...

Hello I have some questions concerning the SSP on the LPC2148. I need to speak with one ADC and one DAC. So therefore I need 2 slave select pins. But the LPC has only one. I know that I can use a normal GPIO for slave select, but I want to use the FIFO for TX and RX. Let me explain. When I speak to the ADC (8Ch x 16Bit) I need to write 8 word commands one for each CH. After each command th...


2138 Data Abort Loading SSP Reg

Started by dsidlauskas1 in LPC200013 years ago 8 replies

This one instruction program creates a Data Abort when setting an SSP Register. Anyone know what's going on? int main...

This one instruction program creates a Data Abort when setting an SSP Register. Anyone know what's going on? int main (void) { #define SSPCR0 (*((volatile unsigned char *) 0xE0068000)) SSPCR0 = 0x3f; } The assembly code loo


LPC2148 SSP with DAC TDA1543

Started by miguel labolida in LPC20008 years ago

Hi, Have some problem about SSP protocol with TDA1543 The problem appears as the last bits (low order) are unordered, giving a distortion for...

Hi, Have some problem about SSP protocol with TDA1543 The problem appears as the last bits (low order) are unordered, giving a distortion for low signals. I had trying lot of configuration combinations=20 without results. Follow the source. Appreciate any help. Tanks in advance. Miguel // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // spi1.c - ARM7 lpc2148 -=A0 DAC...


Re: SPI, SSP on LPC2148 MCB2140 Keil Bug?

Started by Problem Solver in LPC200012 years ago

Dear Philips Apps Team: I want to know if it is required to attach a 7-bit crcs and 1 bit stop bit to the command you sent to detect the...

Dear Philips Apps Team: I want to know if it is required to attach a 7-bit crcs and 1 bit stop bit to the command you sent to detect the card (RDID command)? --- In lpc2000@lpc2..., "philips_apps" wrote: > > Hello Malcom, > > Apart from the fact that the SSP supports several different seri


Is SSP Possible with SPI Flash Mem?

Started by sig5534 in LPC20009 years ago 3 replies

I'm trying to setup an SSP port as SPI to interface with a 4M SPI Flash memory chip, eg. M25P40. For a MEM write cycle, you must send 8 bit...

I'm trying to setup an SSP port as SPI to interface with a 4M SPI Flash memory chip, eg. M25P40. For a MEM write cycle, you must send 8 bit opcode, 24 bit adr, and 8 bit data. For a MEM read cycle, you send 8 bit opcode, 24 bit adr, and then read 8 bit data. How is this possible with the SSP/SPI setup of these LPC MCUs? They only have 1 reg setting for "data size", 4-16 bits. But th...


SSP_SPI1 Read

Started by sudip nag in LPC200012 years ago 2 replies

Hi Everyone, I am using LPC2138's SSP Controller (SPI1) in SPI mode. I am successful in sending data to SPI slave device. But...

Hi Everyone, I am using LPC2138's SSP Controller (SPI1) in SPI mode. I am successful in sending data to SPI slave device. But confused how to read data from slave. If not mistaken, during read operation SPI master will provide the SCK signal to the slave. How to do this task with SSP. Thanks. Sudip Nag -----------


LPCUSB port for LPC2148

Started by myfriendmarkis in LPC200011 years ago 6 replies

Hi all, anyone got a LPC2148 port of LPCUSB? I'm trying to get it running on a Keil MCB2140 dev board which has the SD slot on the SSP...

Hi all, anyone got a LPC2148 port of LPCUSB? I'm trying to get it running on a Keil MCB2140 dev board which has the SD slot on the SSP instead of the SPI. Have made the changes to LPC2000_SPI but the SPISend, SPISendN and SPIRecvN functions are SPI specfic. Have tried re-coding them for SSP operation but no success yet. Am attempting to integrate ELFS to LPCUSB. Got ELFS working fi...