Shoan,
Are you on line right now? If so, send me a private email with your phone number. If you are not in the United States, make sure to include the country code.
charles.melear@... <mailto:charles.melear@motorola.com>
Charlie
-----Original Message-----
From: shaoan li [mailto:wflsa@...]
Sent: Thursday, April 10, 2003 8:27 PM
To: 68300@yahoogroups.com
Cc: jeffrey.tenney@...; DigitalDNA Help
Subject: RE: [68300] Can I user the Interrupt of MC68376
Hello,Mr. Charlie:
this is a controller for car, I have programming same interrupt service program in my code and I believe any interrupt request have been a corresponding program. I hope that when a switch is turn on, a low level is appearing in IRQ pin of MCU. in this time, MCU is call my program and does same work, for example, a lamp is lighting. I think the low level is vrey long for the switch, MCU is get a repeat of the interrupt service routine, so HALTED is generated is from a double bus fault.
In MC68HC11 et al, I can set-up the interrupt service routine is generated by level edgt , but I can't it in MC683xx, I don't find it's Register.
I have use a debugger to see if the ISR is even getting run by placing a breakpoint in the ISR, an access to an address is not terminated properly.
in EB265.PDF from motorola, it recommend is "For the general-purpose timer (GPT), an input capture pin or pulse accumulator input pin can be used." I don't know how do it(I have not TPU residual channels). give me same example, please.
I can't write english letter, if it is error, I am very sorry!
best regards
shaoan
Melear Charles-rdph40 <charles.melear@...> wrote:Hello,
Please give some more details on your problem. I am simply guessing on this but if your program is simply halting (or appears to halt) when an interrupt is asserted, my best guess is that you have not set up properly for an Interrupt Acknowledgement Cycle.
You can do this by programming a Chip Select Base Address and Chip Select Option register. Set up the Base Address Register with the value $FFF8. Then, in the Chip Select Option Register code the fields as follows: Mode = Async, Field = Both Read and Write, Strobe = AS, DSACK = 0000, Space = CPU Space, IPL = 000 for all interrupts and AVEC = 1.
If you have the Bus Monitor turned on in the SYPCR register and you have not properly set up for the interrupt acknowledgement cycle, the machine will take a Spurious Interrupt.
Let me know if any of this works.
Charlie
-----Original Message-----
From: wflsa [mailto:wflsa@...]
Sent: Sunday, April 06, 2003 11:18 PM
To: 68300@yahoogroups.com; 68300@yahoogroups.com; 68300@yahoogroups.com
Subject: [68300] Can I user the Interrupt of MC68376
I hope use Interrupt server program in IRQ pin of the MC68376. when
a low level is generated, MCU is call my specify server program. Now,
I generate a low level is IRQx Pin, then MCU is Halted(can't work). I
don't know Why? please help me! thanks.
Yahoo! Groups Sponsor
< http://rd.yahoo.com/M=249981.3083817.4456279.1728375/D=egroupweb/S=1706554205:HM/A=1524435/R=0/*http://webmllc.tempdomainname.com/ais_lp/ais_index_yacan.php?bann=get300x250 <http://rd.yahoo.com/M=249981.3083817.4456279.1728375/D=egroupweb/S=1706554205:HM/A=1524435/R=0/*http://webmllc.tempdomainname.com/ais_lp/ais_index_yacan.php?bann=get300x250&area=CLUBEDIR&site=YaCan&camp=atestNtest> &area=CLUBEDIR&site=YaCan&camp=atestNtest>
< http://us.adserver.yahoo.com/l?M=249981.3083817.4456279.1728375/D=egroupmail/S=:HM/A=1524435/rand=558925153 <http://us.adserver.yahoo.com/l?M=249981.3083817.4456279.1728375/D=egroupmail/S=:HM/A=1524435/rand=558925153> >
---------------------------------------------------
To unsubscribe from this group, send an email to:
68300-unsubscribe@yahoogroups.com
To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu <http://www.motorola.com/mcu> < http://www.motorola.com/mcu <http://www.motorola.com/mcu> >
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service < http://docs.yahoo.com/info/terms/ <http://docs.yahoo.com/info/terms/> > .
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
---------------------------------------------------
To unsubscribe from this group, send an email to:
68300-unsubscribe@yahoogroups.com
To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu <http://www.motorola.com/mcu>
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Do You Yahoo!?
"???¢í¨í???KTV, ?aeê±?aeμ??a・??¨à-OK~~"
[Non-text portions of this message have been removed]
Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=245454.3115308.4434529.1728375/D=egroupweb/S=1706554205:HM/A=1457554/R=0/*http://ipunda.com/clk/beibunmaisuiyuiwabei>
<http://us.adserver.yahoo.com/l?M=245454.3115308.4434529.1728375/D=egroupmail/S=:HM/A=1457554/rand=988103466>
---------------------------------------------------
To unsubscribe from this group, send an email to:
68300-unsubscribe@yahoogroups.com
To learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu <http://www.motorola.com/mcu>
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
[Non-text portions of this message have been removed]Message
RE: [68300] Can I user the Interrupt of MC68376
2003-04-11 by Melear Charles-rdph40
Attachments
- No local attachments were found for this message.