CAN Interrupt or FullCAN on LPC2294

Started by Boris Kralik in LPC200011 years ago 1 reply

Hi all. We have a discussion about implementing CAN controllers. We are using two CANs, devices on I2C bus, devices on ISP and UART...

Hi all. We have a discussion about implementing CAN controllers. We are using two CANs, devices on I2C bus, devices on ISP and UART bus.Interrupt sources are ExternalInterrupt 0 and 2, LUTerror interrupt, Timer 0 and 1 and WatchDog interrupt. I thing, that we don't need CANs Rx Interrupts, I implementing fullCAN and it works fine. My colleagues think inverse opinion. What is yours opinion...


DMA->SSP/SPI Mystery on LPC2468

Started by markcrow in LPC200012 years ago 7 replies

Using the sample code (from code.lpc23xx.lpc24xx.peripherals.usvision) I got GP DMA to drive the SSP1 port (in SPI mode) on a LPC2368. I...

Using the sample code (from code.lpc23xx.lpc24xx.peripherals.usvision) I got GP DMA to drive the SSP1 port (in SPI mode) on a LPC2368. I ported that code over to a LPC2468 and now it won't work (using SSP0 this time and also in SPI mode). I get a watchdog reset when I set the Channel Enable bit in the Channel 0 configuration register. I have meticulously checked every setting and ever...


New to LPC2129 (coming from PIC) - Attempting to enter ISP mode from user code

Started by tc_lawabider in LPC20007 years ago 9 replies

Hi, I've recently inherited a project running an LPC2129 and FreeRTOS 6.1.1, and I've not got much background with this type of chip. I'm...

Hi, I've recently inherited a project running an LPC2129 and FreeRTOS 6.1.1, and I've not got much background with this type of chip. I'm trying to enter ISP mode from user code, using AN10356 and the help of one website which suggested I use a watchdog timer to ensure I can exit after the code upgrade has been performed. My code, unfortunately, does not seem to enter bootloader mode. If ...


gnu arm - lpc register definitions

Started by klemen_dovrtel in LPC200013 years ago 11 replies

I have a question about register definitions (in WinARM). I read in user manual that WD for instance has four registers: 0xE000 0000 0xE000...

I have a question about register definitions (in WinARM). I read in user manual that WD for instance has four registers: 0xE000 0000 0xE000 0004 0xE000 0008 0xE000 000C Shouldn't be there another REG_8 _pad0[3]; after the REG_8 feed;, because now WDTV is pointing at wrong adress (it is pointing at 0x0xE000 0009 right?)? // lpcWD.h // Watchdog Registers typedef struct { REG_8 mod;...


Processor doesn't run unless JTAG is connected

Started by ajellisuk in LPC200010 years ago

Hi I'm working on a project where I have 2 boards where the firmware on board them doesn't appear to run unless the JTAG adaptor is physically...

Hi I'm working on a project where I have 2 boards where the firmware on board them doesn't appear to run unless the JTAG adaptor is physically connected and my embedded workbench is in a debug session. Both of the boards used to run ok but now have stopped working correctly. One of the boards failed after a reset from the watchdog timer. I'm using the watch dog timer to reset the device to ...


IAP Problem in LPC2138

Started by dine...@hcl.in in LPC200012 years ago 2 replies

Hi All, I have a problem in using IAP commands. When i do a sector 8 erase and write to address 0x00008000 or any sector8 address...

Hi All, I have a problem in using IAP commands. When i do a sector 8 erase and write to address 0x00008000 or any sector8 address the microcontroller is getting reseted. In the write routine it is exactly getting reseted when i call the IAP routine to prepare the sector for write. The 2 reset sources are watchdog and the signal at P0.14. While doing the flash erase and write operation...


LPC2148_Demo updated with IAP, WDT, DAC, SWI and I2C demos

Started by jcwren in LPC200012 years ago 2 replies

I've updated the LPC2148 demo code package to include examples of IAP (In-Application Programming, or writing flash from within a...

I've updated the LPC2148 demo code package to include examples of IAP (In-Application Programming, or writing flash from within a program), watchdog handling, outputting a waveform on the DAC, software interrupts (SWI), and I2C functionality. The IAP code allows interrogating the boot loader version, processor ID, erasing, filling and blank checking flash sectors from the CCI (Console Comm...


LPC17xx Deep Sleep and WDT wakeup question

Started by goodgodgivemeanaliasalready in LPC20008 years ago 5 replies

Hi all, I'm using Deep Sleep mode on an LPC1768. You can wakeup from this mode using Watchdog, external interrupts, RTC alarm. However, I...

Hi all, I'm using Deep Sleep mode on an LPC1768. You can wakeup from this mode using Watchdog, external interrupts, RTC alarm. However, I don't have external interrupts to use, and the RTC is inoperative (it is also listed as an unreliable item in the LPC17xx errata anyway), so I'm using the WDT. The problem I have is that this doesn't easily allow multiple entries / exits of deep sleep. I...