I make the same things, whith Phytec board LPC2294, Isystem Ione and Iar compiler, work fine for EINT1-3 and always 0 for EINT0! Regards, JBH --- In lpc2000@yahoogroups.com, Sébastien MARION (UMM) <s.marion@u...> wrote: > hi, > > I make the same things with pathfinder and EXTMODE are correct BUT without effect on the behaviour of EINT0 always on low level detection mode .... > > I note that EXTMODE and EXTPOLAR never chane the behaviour of EINT0 !!! (same code with EINT2 work very fine) > > Regards, > Sébastien > > > ----- Original Message ----- > From: philips_apps > To: lpc2000@yahoogroups.com > Sent: Thursday, March 31, 2005 11:58 PM > Subject: [lpc2000] Re: external interrupt edge sensitive don't work > > > > Bruce, > > I tried debugging the below code using the Keil MicroVision3 > debugger. > > /* Configuring EXTMODE and EXTPOLAR */ > VPBDIV=0x0; > EXTMODE=0x1; > VPBDIV=0x1; > > VPBDIV=0x0; > EXTPOLAR=0x1; > VPBDIV=0x1; > > VPBDIV=0x0; > > It works fine on my end. Please dont single-step through these > instructions. You need to place a breakpoint at the instruction > following > > VPBDIV=0x0; > > When this breakpoint is hit, on the Memory Window of the debugger, > EXTMODE and EXTPOLAR should reflect 0x1 > > Best Regards, > Philips_apps > > --- In lpc2000@yahoogroups.com, Bruce Paterson <bruce@t...> wrote: > > jbhoudry wrote: > > > > > > I have the same problem, impossible to put 1 in EXTPOLAR and > EXTMODE > > > for EINT0 (no problem for 1 to 3). I program all the > recomendations > > > from philips : > > > Before writing to the EXTMODE and EXTPOLAR registers, > > > 1> Write 0x0 to VPBDIV > > > 2> Then write the desired value to EXTMODE or EXTPOLAR register. > > > 3> Then write the same value to VPBDIV ( additional step) > > > 4> Restore the VPBDIV to the previously saved value or simply > write > > > to the register again with the desired value. > > > > > > I test on 2 LPC2294 the same, so now i use IT capture 0 timer 1 > > > > Could Philips urgently confirm or not this EINT0 edge problem > exists on > > a LPC2124 ? > > > > Just about to change a layout to use EINT0 in edge sensitive mode > > (wasn't using it at all before) to WAKEup out of sleep mode, so I'm > not > > in a position to test this till it's all too late !! > > > > -- > > Cheers, > > Bruce > > ---------------------------------------------------------------- --- > > /\\\/\\\/\\\ / / Bruce Paterson > > / \\\ \\\ \\\ / / Senior Design Engineer > > / /\\\/\\\/\\\/ / 8 Anzed Court, Mulgrave, Vic, 3170 > > / / \\\ \\\ \\\ / PO Box 4112, Mulgrave, Vic, 3170, Australia > > / / \\\/\\\ \\\/ Ph: +61 3 8561 4232 Fax: +61 3 9560 9055 > > Tele-IP Ltd. Email: bruce@t... Icq: #32015991 > > WWW: http://www.tele-ip.com VK3TJN > > ---------------------------------------------------------------- --- > > > > > > -------------------------------------------------------------------- ---------- > Yahoo! Groups Links > > a.. To visit your group on the web, go to: > http://groups.yahoo.com/group/lpc2000/ > > b.. To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > [Non-text portions of this message have been removed]
Message
Re: external interrupt edge sensitive don't work
2005-04-01 by jbhoudry
Attachments
- No local attachments were found for this message.