EmbeddedRelated.com
Memfault Beyond the Launch

questions about LPC2106 SPI

Started by hemanandharamesh in LPC200015 years ago 2 replies

Hai dudes, I'm interfacing Ethernet chip W5100 with the lpc2106 by SPI.., can anyb= ody tell me what should be done for interfacing the chip...

Hai dudes, I'm interfacing Ethernet chip W5100 with the lpc2106 by SPI.., can anyb= ody tell me what should be done for interfacing the chip with lpc2106., im = using the GPIO pins P0.4,0.5,0.6,0.7 for SPI.Is below code enough for initi= alization? /* Include header file depending upon part used */ #include"LPC2=85.h" void Initialize(void); #define SPIF (1 <


LPC2368: problem with USB pins as GPIO pins

Started by laumasrd in LPC200017 years ago 5 replies

Hello everybody, I'm trying to use D+ (P0.29)and D- (P0.30) USB pins as general purpose input/output pins in a LPC2368. The data-sheet (Rev.01...

Hello everybody, I'm trying to use D+ (P0.29)and D- (P0.30) USB pins as general purpose input/output pins in a LPC2368. The data-sheet (Rev.01 - 31 October 2006) says at page 12 that the pads provide digital I/O and USB function in accordance to USB specification. The pins work normally as digital inputs but they don't seem to work as outputs: they seem to be in a high-impedance state (it ...


LPC17xx: Voltage on input pin when pull-up is enabled

Started by amr_mt_bekhit in LPC200013 years ago 13 replies

Hello all, On the LPC17xx family, the GPIO pins are configured as inputs with the pull-ups enabled on reset. I would therefore expect the...

Hello all, On the LPC17xx family, the GPIO pins are configured as inputs with the pull-ups enabled on reset. I would therefore expect the voltage measured on any of those pins to be my power supply voltage, 3.3V. However, on my device, I'm measuring just over 2V on all of my unused input pins. The device is working perfectly fine otherwise. When the pins are set to outputs, they do correctly sw...


Driving LEDs directly from LPC2378

Started by Bruce Marshall in LPC200015 years ago 11 replies

On my LPC2378 board I am unable to turn on LEDs directly from SOME of the G= PIO pins. P0.8 - P0.15=A0 fails=A0 PINMODE0 set for...

On my LPC2378 board I am unable to turn on LEDs directly from SOME of the G= PIO pins. P0.8 - P0.15=A0 fails=A0 PINMODE0 set for pull-up P0.16 - P0.23=A0 OK=A0 =A0 PINMODE1 set for pull-up P1.24 - P1.31 fails=A0 PINMODE3 set for pull-down (LEDs connected to 3V3) P4.0 - P4.15=A0 OK=A0 =A0=A0=A0PINMODE8 set for pull-up The PINSEL registers are set for GPIO on these pins.=A0 FIODIR regi...


Cortex-M0 GPIO shadow registers

Started by in LPC200012 years ago 25 replies

Hello guys, I just can't figure out how the shadow registers works on Cortex-M0, i'm us= ing LPC11C14. I'm doing this way now, using...

Hello guys, I just can't figure out how the shadow registers works on Cortex-M0, i'm us= ing LPC11C14. I'm doing this way now, using CMSIS: LPC_GPIO0-> DATA |=3D (0x1 < < bit); or LPC_GPIO0-> DATA &=3D ~(0x1 < < bit); writing directly on GPIOnDATA register=85 As I could understand writing dir= ectly to this register set all mask bits to 1 allowing directly access. This way of doing is w


USB mouse code for lpc1769 as host

Started by nikita_linux in LPC200010 years ago 2 replies

Hi, I am in need of usb mouse source code for lpc1769 LPCXpresso board , The sample codes have keyboard with LPC board as host but not for...

Hi, I am in need of usb mouse source code for lpc1769 LPCXpresso board , The sample codes have keyboard with LPC board as host but not for mouse,the code simply takes input from joystick at GPIO pins and send it to PC host. What changes do I need to use keyboard_host program for mouse ? I also want to use usb hub with LPCXpresso board, Any other suggestions.. Waiting for rep...


Slow SPI UART Interrupt?

Started by junointegration in LPC200015 years ago 2 replies

I have an MCB2300(LPC2368)eval board and an SPI Dual Uart (SC16IS752) demo board hooked up with the SPI pins from the MCU. The SPI Dual UART...

I have an MCB2300(LPC2368)eval board and an SPI Dual Uart (SC16IS752) demo board hooked up with the SPI pins from the MCU. The SPI Dual UART irq is connected to one of the MCU's GPIO for interrupt. The Dual UART is just in a loopback running in 115200. Xmit is working fine. However, receive interrupts are oddly slow! It takes 400us-600us from the time the byte is sent to SPI bus to t...


ARMwizard v2.0 freeware applicaton to setup the mcu registers (update), LPC2xxx & LPC17xx

Started by Alexan_e in LPC200013 years ago 5 replies

ARMwizard updated to version 2.0 I'm happy to anounce that v2 supports the LPC17xx CortexM3 chips. The new version includes profiles for...

ARMwizard updated to version 2.0 I'm happy to anounce that v2 supports the LPC17xx CortexM3 chips. The new version includes profiles for LPC1763, LPC1764, LPC1765, LPC1766, LPC1767, LPC1768, LPC1769 What is new . Added support for LPC17xx chips, includes LPC1763/64/65/66/67/68/69 mcu profiles . Added pin setting for open drain and repeater mode for LPC17xx . Added GPIO interrupt trigge...


LPC2378 Rising Edge External Interrupt.

Started by jonaschristensen53 in LPC200016 years ago 1 reply

Hey. Rising Edge interrupt on GPIO Port 0 and Port 2: Acording to the manual there are 4 external interrupts. EINT0, EINT1 and EINT2 are...

Hey. Rising Edge interrupt on GPIO Port 0 and Port 2: Acording to the manual there are 4 external interrupts. EINT0, EINT1 and EINT2 are for specific port pins but EINT3 can be used for 1 specific pin and Port 0 and Port 2 pins.. I've setup external interrupt on rising edge for EINT3 and set Port0,4 for rising edge interrupt. But my interrupt are not edge triggered but level triggered...



Memfault Beyond the Launch