Using D-Bug12 + interrupts

Started by marcelmenne in 68HC1214 years ago

Hi all, I'm using D-Bug12 with HC912BD32. Now i want to use interrupts with d-Bug12 (version 2.1.x). I read the manual...

Hi all, I'm using D-Bug12 with HC912BD32. Now i want to use interrupts with d-Bug12 (version 2.1.x). I read the manual and included the dbug 12 vector table and used "SetuserVector". But my hc12 don't have the interrupt for port J/H and SCI1. Must i


How about nested(multiplined?) interrupts in HSC12 ?

Started by lenux22 in 68HC1216 years ago 3 replies

Hello! I had a question about interrupts organisation in HCS12. If interrupt routine for low-priority interrupt is curently...

Hello! I had a question about interrupts organisation in HCS12. If interrupt routine for low-priority interrupt is curently execute and new interrupt with high-priority is come, which one would execute? If first service rounting doesn't interrupted until it done, how i can int


HC912 EEPROM Write/Erase vs Interrupts

Started by Killingsworth, Steve in 68HC1216 years ago 2 replies

I have been using a set of routines for over a year to read and write to the internal EEPROM memory of a 68HC912DG128A processor....

I have been using a set of routines for over a year to read and write to the internal EEPROM memory of a 68HC912DG128A processor. The routines have worked without incident. During the development phase of these routines I thought it necessary to disable interrupts before accessing t


input capture isn't working right

Started by garyolmstead in 68HC1210 years ago 4 replies

Hi -- I have a 9S12GC16 with Port T bits 0 and 1 tied to Hall effect sensors. I have them set up as input captures, with interrupts on...

Hi -- I have a 9S12GC16 with Port T bits 0 and 1 tied to Hall effect sensors. I have them set up as input captures, with interrupts on low-going edges only. The inputs are very clean, no noise at all. What I expect to happen is one interrupt per bit per falling edge. What I actually get is continuous interrupts whenever either interrupt is low. Also, I expect to see values being ...


Interrupts on Port H

Started by dedison07 in 68HC127 years ago 4 replies

I'm having a problem having two interrupts on Port H, I want to use two dip switches to show two different messages on my LED but I don't know how...

I'm having a problem having two interrupts on Port H, I want to use two dip switches to show two different messages on my LED but I don't know how to configure it two where both messages show I only can get one message on both switches. Please help ------------------------------------


Problems with 9S12DT256 PortJ interrupt local disable

Started by aerowesty2000 in 68HC1214 years ago 3 replies

Hello 9s12 types, Has anyone had any problem disabling the PortJ interrupts (namely bit 0,1). I have the PIEJ register set...

Hello 9s12 types, Has anyone had any problem disabling the PortJ interrupts (namely bit 0,1). I have the PIEJ register set to 0x00 which should disable all Port J interrupts. However, I am getting an occasional Port J interrupt that I am trapping. I did not see anyth


help with Interrupts Please!!

Started by prel...@gmail.com in 68HC127 years ago 1 reply

Hi everyone I am using the the Dragon 12 Plus and the GNU compiler. I am having a major problem using interrupts to completing my project. For my...

Hi everyone I am using the the Dragon 12 Plus and the GNU compiler. I am having a major problem using interrupts to completing my project. For my project I am using a sensor to measure a distance and when the distance is under 30 ins it should activate a timer that would count to 10 (displayed on the seven segment) and stop but if the sensor measures under 30 ins again it should restart the count...


D-Bug12 and Interrupts

Started by Redd, Emmett R in 68HC1215 years ago 5 replies

D-Bug12 has an interrupt vector table from $F7D0 to $F7FF. However, it appears that one must have a complete image of D-Bug12 with...

D-Bug12 has an interrupt vector table from $F7D0 to $F7FF. However, it appears that one must have a complete image of D-Bug12 with the changed vectors, bulk erase the entire flash, and reprogram it with the changed-vector image. Is there an easier way to use HC12 interrupts in


Timer module interrupt interaction on E128?

Started by Donald E Haselwood in 68HC1213 years ago 1 reply

Are there any problems with multiple interrupts with the timer modules on the E128 (mask 2L15P)? I don't see any in the errata, but I keep...

Are there any problems with multiple interrupts with the timer modules on the E128 (mask 2L15P)? I don't see any in the errata, but I keep coming back to something peculiar with the interrupts. Timers 0 & 1 are configured for output capture on all pins, and Timer 2 with ch7 and ch6 input capture, the two pins tied together with ch6 rising edge and


D64 reset

Started by WadeA & RebeccaM Smith in 68HC1211 years ago 6 replies

Hi all, I am working with 9S12D64 with TwinPEEKS monitor at 0xF000. The application resides at 0x8000:0xBFFF. At some point in...

Hi all, I am working with 9S12D64 with TwinPEEKS monitor at 0xF000. The application resides at 0x8000:0xBFFF. At some point in the application we want to go to the monitor to load a new version of the program. COP is running at 1 Sec. How do I get a reset to happen (to turn off the COP) and then get to the monitor at 0xF000? I turn off all of the timer interrupts, serial interrupts ...


Disable

Started by Pascal in 68HC1215 years ago 9 replies

Hello, In my application i have several interrupts. But in some case i want do disable some interruptions. Is there is a...

Hello, In my application i have several interrupts. But in some case i want do disable some interruptions. Is there is a register to do that? Thank you very much Regards


A little more help

Started by the_oog6789 in 68HC1214 years ago 4 replies

Back again.. I been playing around with my new hcs12 and I've managed to set up some serial communication, played around...

Back again.. I been playing around with my new hcs12 and I've managed to set up some serial communication, played around with the PLL to increase the chips clock speed and used the RTI. What I'm stuck on at the moment is the external interrupts through P


CME-12A4 EVB

Started by sylentkaos in 68HC1215 years ago 8 replies

Does anyone have this Board for sale. I need this board for school. Also can anyone help me out with some basic programs (arithmetic,...

Does anyone have this Board for sale. I need this board for school. Also can anyone help me out with some basic programs (arithmetic, real time interrupts etc) using WHYP12? Or if you know any good links that might be useful. I will appreciate any help i can get.


BDM headaches

Started by bertho_b in 68HC1215 years ago 3 replies

I am getting too old for these problems! I have lived through 68- 00,02,05,09,11 and now finally 12. I am just starting to...

I am getting too old for these problems! I have lived through 68- 00,02,05,09,11 and now finally 12. I am just starting to learn the HCS12 and have written a very simple program, no interrupts and in single page mode using the EVBPlus dragon development board. I


Re: CAN protocol implementations

Started by in 68HC1215 years ago 4 replies

Hello, You can always bitbang additional serial ports using timer interrupts and/or IRQ/XIRQ. I don't think that remote IO...

Hello, You can always bitbang additional serial ports using timer interrupts and/or IRQ/XIRQ. I don't think that remote IO modules require high baudrates so this wouldn't be to hard to do. Regards / Ruben > Hi, > > The


interrupts

Started by Anonymous in 68HC1215 years ago

hi, i am working on a project which involves in automating control of switches based on position, so i would like to know abt the...

hi, i am working on a project which involves in automating control of switches based on position, so i would like to know abt the various sensors and their circuits which will be useful to detect object crossings.kindly shed light on the above request. thanks and regards.


Not returning from Interrupt

Started by Jerry Fields in 68HC127 years ago 15 replies

Hello, I do not have my source code with me to post, however, I was hoping someone can help me with a quick tip, or something I might be...

Hello, I do not have my source code with me to post, however, I was hoping someone can help me with a quick tip, or something I might be over looking. I am using a MC9S12DP512 microcontroller on a Axiom CMD-12DP512 board. I am new to using interrupts(to a degree), so please bare with me. I am running through an infinite loop in my software, but during that loop, I enable the ATD interr...


dp256b errata

Started by Michael Huslig in 68HC1214 years ago 3 replies

Gentlemen, If I remember right, the 9S12DP256B was supposed to have the SCI odd-number-of-interrupts bug fixed, but now there...

Gentlemen, If I remember right, the 9S12DP256B was supposed to have the SCI odd-number-of-interrupts bug fixed, but now there is a new errata sheet for the part that says it is still a problem. Am I remembering right? Mike


Serial Communication

Started by Jackie Johnson in 68HC1215 years ago 19 replies

Good afternoon...I was wondering if anyone has a program written for serial communication (SCI) using interrupts (would be using two...

Good afternoon...I was wondering if anyone has a program written for serial communication (SCI) using interrupts (would be using two controllers - one as a transmitter and one as a receiver)? Thanks, Jackie


Email Portfolio

Started by Matt Hartfield in 68HC1215 years ago

See, I bet you thought we never even looked at these. Im glad that we have an easy way to use the interrupts. This should make...

See, I bet you thought we never even looked at these. Im glad that we have an easy way to use the interrupts. This should make things go much smoother. Have a good break. Matt Hartfield -----Original Message----- From: [mailto:] Sent: Friday, March 19, 2004