Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Messages

Browse messages

Page 197 of 329 · 16407 messages matched

Re: float in interrupt function?

2005-04-09 by ed_hage

Thanks for the explanation. I defined it as volatile and really it still does not work. ... volatile unsigned long DC0 = 10; void IRQMotorOut (void) { PWM_MR4

Thread view Attachments: 0

Re: float in interrupt function?

2005-04-09 by charlesgrenz

When ever you use a global variable, you have to specify it as a volatile to tell the compiler not to opitmize the variable out of the equation when working

Thread view Attachments: 0

Re: float in interrupt function?

2005-04-09 by ed_hage

I don t want to define DC1 = 20 inside the IRQfunction. That works already. I want to use the value of DC1 = 90 instead that is defined a a global, Already

Thread view Attachments: 0

Re: float in interrupt function?

2005-04-09 by charlesgrenz

Hi guys, just a thought, try this instead volatile unsigned long DC1 = 90; void IRQfunction(void) { DC1 = 20; } regards, Charles

Thread view Attachments: 0

Re: float in interrupt function?

2005-04-09 by ed_hage

Latest update: When I reassign a value to DC1 in the function it works, example: int DC1 = 90; void IRQfunction (void) { DC1 = 20; PWM_MR4 = (PWM_MR0 * DC1) /

Thread view Attachments: 0

Re: spi in lpc2106

2005-04-09 by Jeetendra Singh

Yes i already Pulled up SSEL to 3v3 by a 47K Resister and not used for CS(MMC_CS). I am using another GPIO for the purpose of CS MMC_CS). Notice that In

Thread view Attachments: 0

Re: float in interrupt function?

2005-04-09 by ed_hage

... Hello Dan, That s the point. I have it already running hard coded! I have a simular setup in a PWM_Init () function and I get great 5% DC on my output-pin

Thread view Attachments: 0

Re: Byte Swap Instruction

2005-04-09 by embeddedjanitor

... ARM ... For such nuggets I really suggest the ARM System Developer s Guide which has the following: @ r0 is source/dest @ r1,r2 are scratch mvn r2,

Thread view Attachments: 0

Byte Swap Instruction

2005-04-09 by James Dabbs

Is there a clever, quick way to do 16-bit and 32-bit byte swaps in ARM with only one or two instructions? Thanks, James Dabbs

Thread view Attachments: 0

Re: float in interrupt function?

2005-04-08 by ed_hage

... Yes, correct. I loose precision when I first devide and then multiply.I altered it as you specified here but still the problem seems to be using the

Thread view Attachments: 0

Re: float in interrupt function?

2005-04-08 by ed_hage

Hello Dan, thank you for the info. That is a good and simple way to avoid floats. The only thing that I can not get done is to use a global variable to

Thread view Attachments: 0

float in interrupt function?

2005-04-08 by ed_hage

I am using a LPC2106-board from Olimex to drive two motors via PWM. I have a simple interrupt-function for the PWM which reads the duty cycle variable and then

Thread view Attachments: 0

Re: spi in lpc2106

2005-04-08 by aumat123

You must pull up the SSEL of the SCI that you are using. Seem be that the SCI in master mode need that the SSELx must be connected and pulled up externally for

Thread view Attachments: 0

RE: [lpc2000] spi in lpc2106

2005-04-08 by Mark Crow

Is SSEL1 pulled up? ... From: Jeetendra Singh [mailto:jeet77_7@yahoo.com] Sent: Friday, April 08, 2005 9:44 AM To: lpc2000@yahoogroups.com Subject: [lpc2000]

Thread view Attachments: 0

Re: SCK SPI

2005-04-08 by valdef78

... comunicate ... clock ... conversions. ... line must ... presumably have ... conversion. I ... byte ... third ... select is ... actually perform ... normal

Thread view Attachments: 0

Re: spi in lpc2106

2005-04-08 by aumat123

Hello I have the same problem a days ago. You need: -Apply 3v3 to pin SSEL0 (SSEL1) - In the pin Connect block put this pin as connected to SPI - Use another

Thread view Attachments: 0

Re: IAR compiler and the LPC2131

2005-04-08 by charlesgrenz

Hi Jeff, Just recieved some files with 2138 stuff and demo s as well from my rep. He also mentioned that there will be an update soon to 4.20. Do you currently

Thread view Attachments: 0

Re: [lpc2000] SCK SPI

2005-04-08 by Robert Adsett

... It depends on how it works Option 1 - The device only works when connected. IE the select line must be held low during conversion. In that case the A/D

Thread view Attachments: 0

Re: Simple Graphics for LPC2138

2005-04-08 by acetoel

I have used KS0108 Based LCD, which are monocrome but 128x64, I would like to use a bigger screen. Anyway, take in consideration that most LCD needs 5V, and

Thread view Attachments: 0

Re: SCK SPI

2005-04-08 by valdef78

... clock ... conversions. ... you had to send/read 3 bytes on the SPI to give the necessary clock to the ADS8325 and take the data from it.. you should have a

Thread view Attachments: 0

Re: [lpc2000] SCK SPI

2005-04-08 by dasbento@aeiou.pt

Thanks Robert! I m using an AD (ADS8325, texas instruments) and i want to comunicate with SPI. But i don t know how. The ADS8325 not have an internal clock .

Thread view Attachments: 0

Re: IAR compiler and the LPC2131

2005-04-08 by charlesgrenz

Hi Jeff, There isn t one. I assumed that it should read 213x since there is no actual part 2130. I have my rep. looking into it now to be on the safe side and

Thread view Attachments: 0

Re: [lpc2000] SCK SPI

2005-04-08 by Robert Adsett

... I don t believe so. It would only result in missing data. Robert Freedom has no meaning of itself. There are always restrictions, be they legal,

Thread view Attachments: 0

SCK SPI

2005-04-08 by dasbento@aeiou.pt

Hello, Is it possible to generate a continuous serial clock on the SPI? _________________________________________________________ CEAC Cursos de formação

Thread view Attachments: 0

IAR compiler and the LPC2131

2005-04-08 by Lowry, Jeff

Been working with LPC2138 with IAR just fine. Trying to move to smaller LPC2131. When I download the same app it won t run to main. Anybody do this yet? I

Thread view Attachments: 0

spi in lpc2106

2005-04-08 by Jeetendra Singh

Hi friends i am working in Lpc2106 and facing problem in spi mdule. Actualy i am using spi module in master mode. i checked my code in jtag debugger(wiggler

Thread view Attachments: 0

Re: [lpc2000] Re: Wiggler with LPC2124

2005-04-08 by Aalt Lokhorst

Hello Leon, In first instance I used a HC244 and it was working fine in combination with the KEIL MCB2100 board. After several days I connected some extra

Thread view Attachments: 0

Re: [lpc2000] Re: Wiggler with LPC2124

2005-04-08 by Aalt Lokhorst

Hello Leon, I am using your circuit without problems. I had only one issue. In your schematic is a HC244 buffer. The problem with this one, at least with the

Thread view Attachments: 0

Re: [lpc2000] flash unility for linux

2005-04-08 by Boris Králik

http://rod.info/arm.html ... Regards / S pozdravom Boris Kralik http://www.geocities.com/kralikbo/ ... Send instant messages to your online friends

Thread view Attachments: 0

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.