Example audio player for LPC

Started by Ed Schlunder in LPC200014 years ago 3 replies

I've been busy porting the TRAXMOD project from dsPICs to the LPC2103. http://www.k9spud.com/traxmod/ Currently, it can play raw wave audio...

I've been busy porting the TRAXMOD project from dsPICs to the LPC2103. http://www.k9spud.com/traxmod/ Currently, it can play raw wave audio streaming off of a FAT formatted MMC/SD Card at 44100Hz, 10-bits, stereo. It is also beginning to play small 4 channel MOD music files. It uses the Embedded Filesytem Library (EFSL) for the FAT filesystem support and is open source under the GNU GPL....


LPC2103 watchdog issues

Started by Langosta39 in LPC200014 years ago 3 replies

I'm having trouble hitting the watchdog on the 2103. It works just fine without IRQs, but after I enable interrupts I can no longer feed it. ...

I'm having trouble hitting the watchdog on the 2103. It works just fine without IRQs, but after I enable interrupts I can no longer feed it. I am disabling interrupts around the feed so it is atomic, and I know the feed works becasue I call the same code in the init function. I've tried using the standard __enable_interrupt __disable_interrupt functions in IAR and I've tried directly ...


V 1.6 of CrossWorks for ARM available

Started by leon_heller in LPC200014 years ago 7 replies

The new version 1.6 of CrossWorks for ARM is available on the Rowley web site. It now supports newer devices like the LPC2103 and...

The new version 1.6 of CrossWorks for ARM is available on the Rowley web site. It now supports newer devices like the LPC2103 and LPC2148. Leon ------------------------ Yahoo! Groups Sponsor --------------------~--> =20 Everything you need is one=A0click away.=A0 Make Yahoo! your home page=A0no= w. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/dN_tlB/TM ----------------------------------


Flash Utility > 115200Baud possible?

Started by joconradt in LPC200014 years ago 9 replies

Hi LPC2000 group, In a current design with LPC2103 I have added a RS232-Bluetooth=20 (wireless) interface that operates up to 1MBaud in my...

Hi LPC2000 group, In a current design with LPC2103 I have added a RS232-Bluetooth=20 (wireless) interface that operates up to 1MBaud in my application=20 without problems. However, the Philips Flash Utility Version 2.2.3=20 only supports up to 115.200Baud for reprogramming, so I need to=20 manually reconfigure my bluetooth module every time I want to update=20 software. The bluetooth modul...


Resonator with LPC2103

Started by Langosta39 in LPC200014 years ago 3 replies

I have been thinking about using a resonator for the main clock and=20 RTC crystal inputs to save area and z-space on my design. Does...

I have been thinking about using a resonator for the main clock and=20 RTC crystal inputs to save area and z-space on my design. Does anyone=20 know if this is possible, or do I just need to try it? The manual and=20 datasheet do not indicate anything about this. Andy ------------------------ Yahoo! Groups Sponsor --------------------~--> =20 Everything you need is one=A0click away.=A0


Time efficient ranging

Started by "Marko Pavlin (home)" in LPC200014 years ago

LPC2103, ADC: all 8 channels used, every channel has 2 output pins for own "bin" range. There are 3 ranges with Lo/Hi limits. Output pins pair...

LPC2103, ADC: all 8 channels used, every channel has 2 output pins for own "bin" range. There are 3 ranges with Lo/Hi limits. Output pins pair must reflect range number (00, 01 or 10), or not_in_any_range value (11). From distance it looks like sort of 8 nonlinear 2 bit ADC converters with parallel output for each channel, except non-valid input values are all decoded as "11" value. R...


BDI 2000 configuration

Started by Shane Harrison in LPC200014 years ago 3 replies

Hi there, I haven't had much luck connecting my BDI2000 to an LPC2103 board (JTAG connection). It complains about a lack of clock. I have...

Hi there, I haven't had much luck connecting my BDI2000 to an LPC2103 board (JTAG connection). It complains about a lack of clock. I have set it up to use adaptive clocking and checked the cabling. Does anyone have a working BDI2000 config file that they would be willing to share, that way I can double check that part of the process. Cheers Shane Shane Harrison General Manager P...


LPC2103 no shadow register for the PWM

Started by gaetanbarthelemy in LPC200014 years ago 1 reply

I have started working with a LPC2103 to control a Brushless motor. I just remarked that this microcontroller doesn't use the shadow latch...

I have started working with a LPC2103 to control a Brushless motor. I just remarked that this microcontroller doesn't use the shadow latch mechanism which allows the new PWM values to take effect only at the beginning of a new cycle. I am thinking to generated a fast interrupt every time TC matches MRx.3 (the one fixing the PWM period). The interrupt routine will then update the PWM va...


How to achieve 70MHz from LPC2103?

Started by grodo2k in LPC200014 years ago

Hello As written in topic, I would like to know if it is possible to run lpc2103 at 70MHz, because, they (in users manual) write, that it...

Hello As written in topic, I would like to know if it is possible to run lpc2103 at 70MHz, because, they (in users manual) write, that it can be done, but further they write that it can run at up to 60Mhz. The table with frequencies and pll settings says too, that it can only be run at maximum 60Mhz. So, I would like to know if anybody knows something about this - if it is posiible and, when...


UART and Flash Utility

Started by deliconn in LPC200014 years ago 10 replies

I have a really strange problem. I have an LPC2103 running at 70MHz, with a 10MHz oscillator. The UART0 TX and RX lines come to a header at...

I have a really strange problem. I have an LPC2103 running at 70MHz, with a 10MHz oscillator. The UART0 TX and RX lines come to a header at the edge of the board. When I plug in a CP2102 USB UART into the header and connect to my PC everything works fine, I can use the Philips flash utility or the lpc21isp and my application communicates correctly over the serial line. But when I stick a ...


PWM example for LPC210x and IAR

Started by "R. Wimmer" in LPC200014 years ago

Hello, I try to get a PWM output on pin 0.8 with IAR, but had no luck yet. The Keil software has register like #define PWMLER ...

Hello, I try to get a PWM output on pin 0.8 with IAR, but had no luck yet. The Keil software has register like #define PWMLER (*((volatile unsigned long *) 0xE0014050)) which I can not find in the LPC2103 manual. The IAR I seem to be different. This is how far I got: PINSEL0 |= 0x20; // select pin 0.08 PWM4 function T0TCR_bit.CR; // counter reset T0PR = PWM_PCLK_D...


Debug problem with LPC2103 "Source not found"

Started by steoveplant in LPC200014 years ago 5 replies

Hi all, I'm a newbie to the LPC and have been attempting to get the JTAG debugger working. using the "ARM Cross Development with...

Hi all, I'm a newbie to the LPC and have been attempting to get the JTAG debugger working. using the "ARM Cross Development with Eclipse Revision 4" manual, everything seemed to be working fine (IOPerm and OpenOCD starts OK)until I hit the "debug" button. It then comes up with an error in a new window next to the main.c window stating "Source not found" with a button "edit Source lookup p...


LPC2103 P0.7 as interrupt source for EINT2 ?

Started by joconradt in LPC200014 years ago

Hi! The LPC2103 data sheet specifies that pins P0.15 and P0.7 can be selected as inputs for EINT2 (page 15). However, in the "pin connect...

Hi! The LPC2103 data sheet specifies that pins P0.15 and P0.7 can be selected as inputs for EINT2 (page 15). However, in the "pin connect block" section, P0.7 does not mention EINT2 (page 67), but P0.15 does (page 68). I am wondering if Philips just missed that for P0.7? Shall I assign bits 14:15 to "11" (the "reserved" value)? Has anyone experience using P0.7 as interrupt input on LP...


THUMB compile option in WinARM

Started by Srdan Suka in LPC200014 years ago 4 replies

Hi! I am trying to compile my code in WinARM with -THUMB option enabled. I am using LPC2103 and want to make my code smaller. But problem...

Hi! I am trying to compile my code in WinARM with -THUMB option enabled. I am using LPC2103 and want to make my code smaller. But problem is in ISR's and asm calls. static inline unsigned __get_cpsr(void) { unsigned long retval; asm volatile (" mrs %0, cpsr" : "=r" (retval) : ); return retval; } I get an error: Error: selected processor does not support `mrs r0,cpsr' Th...


Open Drain Pins on LPC2103

Started by deliconn in LPC200014 years ago

I know this is a stupid question because I am staring at the answer in the User Manual, but I have to ask anyway, what pins do I need to...

I know this is a stupid question because I am staring at the answer in the User Manual, but I have to ask anyway, what pins do I need to pull up? Some pins have a footnote, some pins say open drain in the description. Some pins are footnoted saying they are open drain for I2C compliance, but those pins dont even support I2C. It would be nice to have some consistency. From now on I do a...


Ethernet JTAG

Started by jsm09a in LPC200014 years ago 3 replies

I am in the market for a reliable JTAG unit, preferrably with ethernet, capable of thorough debugging on LPC2103 and PXA270. Anyone have an...

I am in the market for a reliable JTAG unit, preferrably with ethernet, capable of thorough debugging on LPC2103 and PXA270. Anyone have an opinion on the following possibilities: - Embest UNetICE - Ronetix PEEDI - ARIUM LC-500 - Abatron BDI1000/BDI2000 Thanks, Scott.


Need help with VIC on LPC2103

Started by C in LPC200014 years ago 3 replies

Hello everyone. I was wondering if someone could point me in the right dirrection with this problem. I want to set up two vector interrupts...

Hello everyone. I was wondering if someone could point me in the right dirrection with this problem. I want to set up two vector interrupts along with their corresponding ISRs. Both interrupt sources are from External interrupts EINT1 and EINT2, could someone point me to some sample code, I've looked and looked but cant find anything other than single simple non-vectored interrupt samples....


Still Having problems getting vectored interrupts to work on LPC2103 with Keil

Started by C in LPC200014 years ago 5 replies

Background: - Im using Keil dev tools with LPC2103 controller - Need to service two external interrupts EINT1 and EINT2 - Want to use two...

Background: - Im using Keil dev tools with LPC2103 controller - Need to service two external interrupts EINT1 and EINT2 - Want to use two separate ISRs - Ive tried sample code from many places Here is the code I am using to setup the Vectored Interrupts, please someone let me know if I am missing something or doing something wrong. Could something be wrong with my Startup.s file, if so ...


BLDC with 3 or 6 PWM?

Started by Gaetan Barthelemy in LPC200014 years ago 5 replies

Hello, I have been working on controlling a BLDC motor with a LPC2103. I wanted to use 6 PWM signals (3 generated by Timer 1 and 3 by...

Hello, I have been working on controlling a BLDC motor with a LPC2103. I wanted to use 6 PWM signals (3 generated by Timer 1 and 3 by Timer2) to control the MOSFETs. The issue is that there is a small time difference (about 330ns) between the PWM generated by Timer1 and the ones generated by Timer2. I have read an application note using only 3 PWM signals for the high side, the low sid...


Contents missmatch at: 0000106BH (Flash=FFH Required=00H) !

Started by C in LPC200014 years ago 3 replies

Im getting this error when I try to flash my code onto an LPC2103 (using Kiel tool chain. What my program is supposed to do is display a 1k...

Im getting this error when I try to flash my code onto an LPC2103 (using Kiel tool chain. What my program is supposed to do is display a 1k bitmap onto an LCD. I am using 8 arrays of 128bytes each to store the pixels of the bitmap. Could someone help me with this error? Is there another way to do what Im trying to do? This is my first time working with LCDs and bitmaps.