EmbeddedRelated.com
Memfault Beyond the Launch

Unable to send data to host on UART1 in LPC2148

Started by shankariamma in comp.arch.embedded9 years ago

I am trying to send the data to UART1 in LP2148. Given below is the code. But the data displayed is only some junk (mainly ???? is displayed)....

I am trying to send the data to UART1 in LP2148. Given below is the code. But the data displayed is only some junk (mainly ???? is displayed). I am not able to makeout the problem. The terminal software is configured at 9600 baud. pclk is 15 MHz. Here is the code: #include //Includes LPC2148 register definitions #define Fosc 12000000 #define Fcclk (Fosc * 5) #define Fcco


Unable to get the timer working correctly in LPC2148

Started by shankariamma in comp.arch.embedded9 years ago 4 replies

I have written code for delay using timer in LPC2148. But I am not able to get the desired time delay. 1 Sec delay if I give, it looks like...

I have written code for delay using timer in LPC2148. But I am not able to get the desired time delay. 1 Sec delay if I give, it looks like 100 msec (Ddd not calculate correctly). Somewhere something is wrong it looks. Anybody can help? I have written code comments and I hope it is good enough. Also is it good idea to disable and enable timer as in delayus() or allow timer to run continuously ins...


baud rate calculation

Started by patilrohit103 in comp.arch.embedded13 years ago 1 reply

I am having a problem calculating the baud rate of 9600 bauds for ARM7 (LPC2148) at 12MHZ crystal. I have figured out a value of : ...

I am having a problem calculating the baud rate of 9600 bauds for ARM7 (LPC2148) at 12MHZ crystal. I have figured out a value of : U1DLM=0x00; U1DLL=0x62; following is my UART1 initialization code: void init_UART1() { PINSEL0=0x00050000; // FOR UART1 U1LCR=0x83; U1DLM=0x00; U1DLL=0x62; U1LCR=0x03; U1FCR=0x01; } please help me if there is any other...


How to link embedded code against existing routines in flash

Started by emeb in comp.arch.embedded15 years ago 3 replies

I'm using arm-elf-gcc to write embedded code targeting the NXP LPC2148. My application code will be loaded from an SD card into the MCU flash...

I'm using arm-elf-gcc to write embedded code targeting the NXP LPC2148. My application code will be loaded from an SD card into the MCU flash and run by an existing bootloader described in more detail here: http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=94 This bootloader contains a number of utility / library routines that I'd like to be able to use from my own applicat...


USB - Bulk Transfer speed up

Started by edurohr in comp.arch.embedded16 years ago 4 replies

Hi all, I'm using a LPC2148 device with built-in USB (Full Speed) device controller. I can sucessfully make Bulk transfers at every 1ms, but...

Hi all, I'm using a LPC2148 device with built-in USB (Full Speed) device controller. I can sucessfully make Bulk transfers at every 1ms, but cannot do it faster. Since my endpoint is limitted to 64 bytes, I can't reach transfer rates above 64Kbytes/s, even using a full speed device. How could I increase this rate, once it could be close to 12Mbits/sec (theoricaly)? All sugestions are welc...


novice - embedded linux

Started by ven2007 in comp.arch.embedded16 years ago 3 replies

hi I am new to embedded linux but not new to embedded systems. I have an dev board ( LPC2148 - ARM7TDMI) at hand I would like to know where...

hi I am new to embedded linux but not new to embedded systems. I have an dev board ( LPC2148 - ARM7TDMI) at hand I would like to know where to get started to start working with embedded linux? Do I need to know about linux device drivers to proceed ? Any guidance is appreciated thanks in advance


Porting Linux

Started by tech...@gmail.com in comp.arch.embedded17 years ago 3 replies

Hi I have a real fundamental question.. Hoping someone point me to some plausible answers. 1. What is meant by porting of a Operating...

Hi I have a real fundamental question.. Hoping someone point me to some plausible answers. 1. What is meant by porting of a Operating System??? 2. What does say porting uCLinux onto LPC2148 do to the board.. in the sense that, how does it change its functionality?? thanks heaps techie.


Trouble to start with ARM LPC2148. Dev Environement issu

Started by Anonymous in comp.arch.embedded18 years ago 7 replies

Hello all, I started recently to learn MCU world and I have dealed with 8-bits PIC16F684 & HCS08 MCUs and it was exiting & very helpful...

Hello all, I started recently to learn MCU world and I have dealed with 8-bits PIC16F684 & HCS08 MCUs and it was exiting & very helpful experience. Now I want to move on to 16/32 bits witch ARM. I bought a wonderful Dev board with Philips LCP2148, "Embedded Artists", but now I am VERY STUCK witch DEV ENVironment: witch one to use to develop and program my board?. With the board I got many ...


LPC2103 reset when disabling interrupt in VIC

Started by Jon in comp.arch.embedded16 years ago 4 replies

Hi, I'm using: - NXP LPC2103FBD48 with ARM7 core. - Rowley Associates CrossStudio for ARM v1.7 build 4. Sometimes, when I disable the...

Hi, I'm using: - NXP LPC2103FBD48 with ARM7 core. - Rowley Associates CrossStudio for ARM v1.7 build 4. Sometimes, when I disable the interrupt corresponding to TIMER0, doing VICIntEnClr =1 <


LPC2106: Measure wakeup/shutdown time

Started by lawrence in comp.arch.embedded18 years ago 1 reply

Measurement question: what's the best way to measure the wakeup (idle/power-dn --> active) & shutdown (active --> idle/power-dn) time of...

Measurement question: what's the best way to measure the wakeup (idle/power-dn --> active) & shutdown (active --> idle/power-dn) time of LPC2106 by Philips using an oscilloscope? I'm using the IAR kickstart kit. -L


embedded usb

Started by rakesh in comp.arch.embedded18 years ago 3 replies

hello , I am doing my final year project related to interfacing webcam(logitech quickcam express) and bluetooth-usb-dongle to...

hello , I am doing my final year project related to interfacing webcam(logitech quickcam express) and bluetooth-usb-dongle to LPC2106 microcontroller (based on ARM7TDMI processor) through usb host controller ,which transfers the static images captured by webcam through bluetooth.And further capturing the static images through the bluetooth connected at the PC end, and doing some image proce...


Simple Autoexposure algorithm for an Image sensor

Started by Bryan in comp.arch.embedded20 years ago 6 replies

Hi, I'm involved in a project where we are building a still image capture device. We have a CMOS image sensor (Pixart PAS106B) connected via...

Hi, I'm involved in a project where we are building a still image capture device. We have a CMOS image sensor (Pixart PAS106B) connected via I2C to a philips lpc2106 (Arm 7) microcontroller. I'm able to capture images without trouble, however, I notice - depending on the ambient light - my image is either too light or too dark. To correct this problem, I want to write a small (hopefully ...


arm-elf-gcc building erroneous code for ISR (long posting)

Started by Jens Hildebrandt in comp.arch.embedded20 years ago 4 replies

Hello group, I'm curently trying to get familiar with the ARM7 by building some example-projects for a LPC2106-controller. One such project...

Hello group, I'm curently trying to get familiar with the ARM7 by building some example-projects for a LPC2106-controller. One such project is the blinky_irq example from Keil which should demonstrate the use of interrupts and of the LPC2xxx vectored interrupt controller. I'm using gcc-3.2.1 with binutils 3.13.1 and newlib 1.11.0 . So far I had no problems with these tools and I was abl...


Ezurio's UWScript and LPC2104

Started by AlexandreD in comp.arch.embedded15 years ago

Hi all, I'm working on an application with a LPC2104 storing data on a memory card, which is connected through RS232 (using only the ground, TX...

Hi all, I'm working on an application with a LPC2104 storing data on a memory card, which is connected through RS232 (using only the ground, TX and RX) to an Ezurio's WIFI module. I programmed the microcontroller using C, and when I connect it on a computer to check whether it is working, everything is OK. Same goes for the WIFI module, programmed using Ezurio's UWScript. However, when I conne...


Advice neede: Atmel or Philips ARM

Started by Meindert Sprang in comp.arch.embedded18 years ago 39 replies

Hi Gurus, I am switching from AVR to ARM. Currently, I use an ATmega162 which is running out of code space (16kB) and performance. But I find...

Hi Gurus, I am switching from AVR to ARM. Currently, I use an ATmega162 which is running out of code space (16kB) and performance. But I find it difficult to choose between Atmel's ARM (looking at the SAM7S series) and thePhilips LPC2104/5/6 series. I don't need many peripherals (yet). My current design uses an FTDI chip for USB, I could save that by using Atmel (Philips has no USB), but o...


SECURE MESSAGING BASED ON ARM 7

Started by johny in comp.arch.embedded18 years ago 8 replies

HI all i need help regarding my project Secure Messaging Terminal on ARM 7.The purpose of this project is to design a mobile secure...

HI all i need help regarding my project Secure Messaging Terminal on ARM 7.The purpose of this project is to design a mobile secure messaging terminal using a 32-bit ARM processor, LPC2104. Some of the symmetric encryption/decryption algorithms used for securing the data are Data Encryption Standard (DES), Triple Data Encryption Standard (TDES), and Advanced Encryption Standard (AES). ...


LPC2104 and Keil ULINK

Started by Anonymous in comp.arch.embedded18 years ago 2 replies

Hello, Do I have to use the TCK (prim) on pin 1 or do I have to use TCK (sec) on pin 10 to make ULINK work? Thanks. Grad

Hello, Do I have to use the TCK (prim) on pin 1 or do I have to use TCK (sec) on pin 10 to make ULINK work? Thanks. Grad


Simple Kalman filter

Started by onelife in comp.arch.embedded13 years ago 5 replies

Hello, I am new at this forum and this is my first post. We are trying to control some servos with a microcontroller Olimex lpc2103. We...

Hello, I am new at this forum and this is my first post. We are trying to control some servos with a microcontroller Olimex lpc2103. We managed to make all the necessary software and hardware, and everything is working fine. There is just one problem - there is some noice in the servos when turn on the transmitter. We decied to make some filter, but when we use the Kalman filter it works too...


LPC2103 problems

Started by naiden_pn in comp.arch.embedded14 years ago 4 replies

Hi, I'm using Rowley Crossworks 1.7 Build 4 for my Olimex LPC P2103 and I have problems when I flash the board. When I debug it, even with...

Hi, I'm using Rowley Crossworks 1.7 Build 4 for my Olimex LPC P2103 and I have problems when I flash the board. When I debug it, even with the release version on it, everything is fine, but when I just load it and disconnect the debugger, nothing seems to work. Have you ever had this kind of problem and how can I solve it? --------------------------------------- Posted through h...


not enough code space to debug

Started by Bill in comp.arch.embedded15 years ago 3 replies

Hi, I'm using Rowley Associates CrossStudio for ARM v1.7 build 4 (which relies on GCC C++ compiler) to develop a C++ program for an...

Hi, I'm using Rowley Associates CrossStudio for ARM v1.7 build 4 (which relies on GCC C++ compiler) to develop a C++ program for an LPC2103. My problem is that I'm running out of code space (flash), mainly because some of the .cpp files I wrote have many class definitions, even though some of those classes are never instantiated from my application. I need to debug, so I need to keep all c...



Memfault Beyond the Launch