EmbeddedRelated.com
The 2024 Embedded Online Conference

Fw: ACM/ICPC 2008 Arab & North Africa Programming Contest: Call for Participation

Started by Shaimaa Yehia in 68HC1215 years ago

Message attached below. Regards, Shaimaa Yehia ---------- Forwarded message ---------- From: Ziad H. Najem Date: Tue, Nov 4,...

Message attached below. Regards, Shaimaa Yehia ---------- Forwarded message ---------- From: Ziad H. Najem Date: Tue, Nov 4, 2008 at 6:27 AM Subject: ACM/ICPC 2008 Arab & North Africa Programming Contest: Call for Pa= rticipation To: i...@icpc-anarc.org =20=20 =20=20=20=20 =20=20=20=20 =20=20=20=20 =20=20=20=20 =20=20=20=20 =20=20=20=20 =20=20 =20=


How to configure Enhanced Capture Timer in capture mode?

Started by Sim IPS in 68HC1215 years ago 4 replies

Hi, I am using external uart (XR16C854)for communication with MC9S12DJ256B . XR16C854 have a special feature to know the baudrate of...

Hi, I am using external uart (XR16C854)for communication with MC9S12DJ256B . XR16C854 have a special feature to know the baudrate of channels by using ECT in capture mode.How to configure Enhanced Capture Timer for MC9S12DJ256B in capture mode?If anyone know its details,please share with me. thanks in advance Simi _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...


input capture problem

Started by chai...@hotmail.com in 68HC1216 years ago 4 replies

Hi, Im trying to use input capture to sense the rising edge from the encoder. It seems like my program cant go into the interrupt function....

Hi, Im trying to use input capture to sense the rising edge from the encoder. It seems like my program cant go into the interrupt function. After i sense 100 times rising edge, i set ptm.0 to be 1. Im using channel 5 as input capture. void interrupt TIC5 (void) { int i; i = i + 1; if(i == 100) { PTM = 0xFF; } TFLG1 = 0x20; } void main (void) { ...


DC motor PID controller

Started by waks_up in 68HC1216 years ago 1 reply

Hi, Im doing a dc motor PID controller. Im using Nanocore12DX. I have an enocoder. It is a quadrature encoder. I have generated PWM signal...

Hi, Im doing a dc motor PID controller. Im using Nanocore12DX. I have an enocoder. It is a quadrature encoder. I have generated PWM signal from HC12 to drive the motor. The question I wanted to ask is how do i implement the PID controller in Codewarrior? Regards, Chai ------------------------------------


Cross banking calls (9S12DG128)

Started by da_old_skool in 68HC1216 years ago 1 reply

Hi, I have got a problem with cross banking calls which I hope somebody can help me with. Target: 9s12DG128 Compiler: Cosmic I have...

Hi, I have got a problem with cross banking calls which I hope somebody can help me with. Target: 9s12DG128 Compiler: Cosmic I have been using the 9s12DJ64 for ages, but now I would like to go to the DG128 because it has twice as much memory. I have created a new linker file (.lkf) and the code compiles OK, but when running the code crashes when it encounters a cross banking call....


Migrating project from IAR EW 2.31 C to 4.7 problems

Started by Rickard Rohlin in 68HC1216 years ago 1 reply

Hello, I am asking you for help with a migration problem, migrating code from IAREW 2.31 C to 4.7. The memory won't map in the same areas as...

Hello, I am asking you for help with a migration problem, migrating code from IAREW 2.31 C to 4.7. The memory won't map in the same areas as in the older versions. In the old version, #pragma codeseg(XXX) was used, looking in the IAR migration guide, this translates to #pragma location = "XXX". The same with #pragma memory=constseg(YYY) will be #pragma constseg = "YYY". However, the linker...


Sorry for newbe question. Can't get timer interrupt to work at all... :-(

Started by anda...@hotmail.com in 68HC1216 years ago 3 replies

Hello all, I use the HCS12 T-board with the mc9s12dp512. I also use the trial version of ICC12 compiler and the TWINpeeks monitor. My purpose of...

Hello all, I use the HCS12 T-board with the mc9s12dp512. I also use the trial version of ICC12 compiler and the TWINpeeks monitor. My purpose of the program is to toggle the T-board LED bar, so I can see when the timer interrupt works. #include void SetTimer(unsigned int Ticks) { asm("sei"); TSCR1 = 0x80; //Set TEN = 1 (enable) TSCR2 = 0x04; //Timer Prescaler selec


a problem with reading continuous values into Microcontroller

Started by roopa valluri in 68HC1216 years ago 8 replies

hello can any body help me with a problem of reading continuous voltages into the controller comparing the voltages read and generating pulses as...

hello can any body help me with a problem of reading continuous voltages into the controller comparing the voltages read and generating pulses as per the logic listed in the program. the code should basically read the voltages continuously and compare the voltages and generate pulses at PWM port. But my code is not reading the voltages as and when they are changed it has to be compiled for the ne...


CFNE vs. CFN on HC11

Started by "James M. Knox" in 68HC1216 years ago 7 replies

Sorry to post an HC11 question to the HC12 list, but the HC11 list is pretty dead. I have an old homebrew HC11 programmer that I have used...

Sorry to post an HC11 question to the HC12 list, but the HC11 list is pretty dead. I have an old homebrew HC11 programmer that I have used for years for programming MC68HC711E9CFN2 chips. No problems. Today, while working my way through a stack of chips, it suddenly stopped working... timeout error while programming. After some investigation, it turns out that SOME of the chips I w...


7-SEGMENT DISPLAY

Started by "steve.ece_umd56" in 68HC1216 years ago 2 replies

how can you write 0124 on the 68hc12 7-segment display ? ------------------------------------

how can you write 0124 on the 68hc12 7-segment display ? ------------------------------------


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


The 2024 Embedded Online Conference