EmbeddedRelated.com
Memfault Beyond the Launch

Linker and startup file for LPC2387 / 88

Started by bartddgd in LPC200011 years ago 7 replies

Hi, I'm new to the ARM world, but have used AVR and AVR32 MCUs before with GNU and IAR compilers. Right now I'm trying to get started in the...

Hi, I'm new to the ARM world, but have used AVR and AVR32 MCUs before with GNU and IAR compilers. Right now I'm trying to get started in the ARM7 world using an already existing custom board that is populated with a LPC2387. My tool chain is Yagarto + Eclipse and I have a Segger J-Link EDU and a Olimex ARM-USB-OCD-H available. What I'm now looking for are linker control and startup files ...


LPC2148 and I2C connection to MCP23017

Started by nickdesantis54 in LPC200011 years ago 6 replies

Hi guys and gals, I'm working on a a project where I want to interface an LPC2148 with 16 MCP23017 I/O Expanders via the two I2C buses. The 2148...

Hi guys and gals, I'm working on a a project where I want to interface an LPC2148 with 16 MCP23017 I/O Expanders via the two I2C buses. The 2148 obviously runs on 3.3V and the MCP23017s will run on 5v, so I'm wondering if SCL and SDA will definitely need to be connected to 5v with a pull up resistor. Besides that, could anyone point me in a good direction for learning how to work with the I2C conn...


USB - Composite Device

Started by Adriano in LPC200011 years ago 2 replies

I have developed an USB device using a LPC2148 and the LPCUSB USB stack. It works well when I set it as an HID device (a keyboard), but when I...

I have developed an USB device using a LPC2148 and the LPCUSB USB stack. It works well when I set it as an HID device (a keyboard), but when I set it as a composite device, storage (SD Flash Card) and HID, it only works on Windows XP. I tried in two different Windows 7 computers and both showed me that the device cannot start (code 10 error). I used


Configuration of SPI/SSI for AS5045

Started by capiman26061973 in LPC200011 years ago 1 reply
SPI

Hello, i have a question about the configuration of SPI/SSI, not directly related to a certain chip of NXP, but currently using a...

Hello, i have a question about the configuration of SPI/SSI, not directly related to a certain chip of NXP, but currently using a LPC812. I have connected a AS5045 (hall sensor IC), which offers a Synchronous Serial Interface: (see figure 5 on bottom of page 13) http://www.ams.com/content/download/1288/7223/AS5045_Datasheet_v1_7.pdf It uses only a CS and CLK, and sends data to uC. ...


LPC11C2x wakeup on CAN activity?

Started by Kevin in LPC200011 years ago 9 replies

Hi all, Is there a way to have the LPC11C2x wakeup from a low-power mode when there is any activity on the CANbus? Looking at the datasheets...

Hi all, Is there a way to have the LPC11C2x wakeup from a low-power mode when there is any activity on the CANbus? Looking at the datasheets I cannot see a way to generate an interrupt or wake-up event from the CAN RX signal, which has no physical pin on this part. The RX signal is available in the CANTEST register, but no interrupt seems to monitor this bit. Without this ability, it seem...


CMSIS 3, has anyone use it for embedded example project

Started by Richard in LPC200011 years ago 4 replies

I'm looking for source code or demo project file that make use of CMSIS 3 so I can see file structure and how it organised within project...

I'm looking for source code or demo project file that make use of CMSIS 3 so I can see file structure and how it organised within project folder. I could not find suitable code and it seem no one bothered to use it since 2009(!), not even CodeRed or Keil provides demo code with CMSIS V3 in it. Only V1.3 or V2.0. I like to try out RTOS later on via CMSIS V3 or FreeRTOOS. -------------------...


Simultaneous use of SSP and SPI ports on LPC1700

Started by ksdoubleshooter in LPC200011 years ago 12 replies

I have a project using an LPC1768. This project has a requirement for 7 UART's, so I used three UART's on the LPC1768 and added two SC16IS752's,...

I have a project using an LPC1768. This project has a requirement for 7 UART's, so I used three UART's on the LPC1768 and added two SC16IS752's, which are dual UART's with selectable I2C or SPI interface. I allocated SSP0 to one of the DUART's and SSP1 to the other. Each DUART has an IRQ line and I ran these back to separate EINT pins. Running the DUART's on separate SSP ports with separate interr...


LPC4357 && 204MHz && SDRAM ??

Started by 42Bastian in LPC200011 years ago 26 replies

Hi, I am currently fighting to get an EA LPC4357 OEM board to work with 204MHz core clock, but EMC or SDRAM is only working up to...

Hi, I am currently fighting to get an EA LPC4357 OEM board to work with 204MHz core clock, but EMC or SDRAM is only working up to 144MHz. Anyone got the LPC4357 work with > 144MHz? Yes, the EMC clock is set to /2 otherwise I can only go up to 96MHz. Strange, the register CLK_EMCDIV_CFG is written with 0x21 and changes to 0x08000001, which is not a documented value. Any hint? -- 4


LPC1800 PLL /CMSIS library issues - beware the LOCK bit!

Started by Mike Harrison in LPC200011 years ago 1 reply
IAR

Just found an undocumented issue with PLL1 on the LPC1830 (NGX LPC1830-Xplorer board, Silicon rev A) The PLL1 LOCK status can bounce low a few...

Just found an undocumented issue with PLL1 on the LPC1830 (NGX LPC1830-Xplorer board, Silicon rev A) The PLL1 LOCK status can bounce low a few times after it initially goes high. See this scope trace (Source 12MHz Xtal osc, x6 multiplier = 72MHz) http://electricstuff.co.uk/temp/lpc1800_pll_lock_glitch.jpg Although this is a minor problem in itself, the library supplied with the NGX IAR exa...


LPC176X I2C reading ADC121C021

Started by sig5534 in LPC200011 years ago

Great frustration trying to get the 16b data read back from a ADC121C021. I've got many other I2C chips on the bus, not much problem getting them...

Great frustration trying to get the 16b data read back from a ADC121C021. I've got many other I2C chips on the bus, not much problem getting them working right, but I can't get the ARM I2C state machine to do the right things to read this ADC. I have written the ISR Read routine like the NXP doc says in the manual, but that results in an infinite loop that the ADC/MCU never comes out of, bounc...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


Memfault Beyond the Launch