EmbeddedRelated.com
The 2024 Embedded Online Conference

MC9S12DP512 Software Interrupt

Started by ga5941 in 68HC1215 years ago 2 replies

My program is executing a hardware interrupt reading the serial keypad and I want to turn on the display which uses the same serial port and...

My program is executing a hardware interrupt reading the serial keypad and I want to turn on the display which uses the same serial port and interrupt service routine. Trying to generate a transmit interrupt before the receive rti instruction executes causes the system to hang up. Is there any way to implement a software interrupt so that after the serial receive hardware interrupt finishes the s...


DP256 - DP512 Transition

Started by Jonathan Masters in 68HC1215 years ago 5 replies

Hello All. I have recently started to upgrade an old board that uses DP256B's with DP512. I managed to program the board a couple of days ago...

Hello All. I have recently started to upgrade an old board that uses DP256B's with DP512. I managed to program the board a couple of days ago with no issues. Today, I ran into a problem with my application code - it couldn't write to paged flash when downloading data from my PC app. This was quickly identified as a problem with the bank select in my flash loading routine. However no...


comparing 9S12 and S12X to Microchip PIC18

Started by Carl Ungvarsky in 68HC1215 years ago 4 replies

Hi, I have a design that currently uses a Microchip PIC18 MCU. I need to do a m= ajor revision of the design and I have the choice to go to...

Hi, I have a design that currently uses a Microchip PIC18 MCU. I need to do a m= ajor revision of the design and I have the choice to go to the next larger = PIC series, the PIC24, or another chip. I want to consider Freescale again.= =20 =20 I'll look at Freescale's parts selection matrix... but if someone is famili= ar with how the latest 9S12 or S12X chips stack up against these ...


trouble with S12XS SCI controller

Started by ben_smida_hamdi in 68HC1215 years ago 3 replies

i'm developing an uart driver based on interrupts. i've realized that when executing the ISr software failed to reset TDRE Flag.i made sure...

i'm developing an uart driver based on interrupts. i've realized that when executing the ISr software failed to reset TDRE Flag.i made sure tha i've followed all steps listed in the datasheet to do so which are: 1-reading the SCI Status Register. 2-Writing to the SCI Data Low register. but the ISR Continue to go in Loop. i wish tha anyone could help me figure this out. --------------...


Accumulator A - INCA - C flag

Started by stewartraymond in 68HC1215 years ago 2 replies

The contents of Accumulator A are $FF, and the C flag is cleared. An INCA instruction is executed, the C flag will be ____________________. 1....

The contents of Accumulator A are $FF, and the C flag is cleared. An INCA instruction is executed, the C flag will be ____________________. 1. set 2. cleared 3. cannot be determined 4. added to Accumulator A, so that it contains $01 ------------------------------------


68hc12 TOVF interrupt problems ICC12

Started by hendersonmarv in 68HC1215 years ago 4 replies

I'm trying to get the timer overflow interrupt working on the hc12dp256b but so far I haven't had any luck. The overflow interrupt is never...

I'm trying to get the timer overflow interrupt working on the hc12dp256b but so far I haven't had any luck. The overflow interrupt is never generated in my program(used a breakpiont in isr) and I can't find the logic error in my code. Here is my work environment: CHIP: hc12dp256 COMPILER: ICC12 DEBUGGER: NOICE Here's the code that doesn't work ---------------------------------...


Problem in setting CAN ID filter

Started by folg...@yahoo.com in 68HC1215 years ago 6 replies

Hello, I have a problem with setting the CAN ID filter. I use four 16 bit filter. I want to set one filter now. CAN0IDMR0 = 0xFF; ...

Hello, I have a problem with setting the CAN ID filter. I use four 16 bit filter. I want to set one filter now. CAN0IDMR0 = 0xFF; CAN0IDAR0 = 0x00; CAN0IDMR1 = 0x18; CAN0IDAR1 = 0x08; CAN0IDMR2 = 0x00; CAN0IDAR2 = 0x00; CAN0IDMR3 = 0x00; CAN0IDAR3 = 0x00; CAN0IDMR4 = 0x00; CAN0IDAR4 = 0x00; CAN0IDMR5 = 0x00; CAN0IDAR5 = 0x00; C...


Re: Request for Help with hcs12 microcontroller!

Started by mukul tewary in 68HC1215 years ago 2 replies

Hi all, I just signed up for this group.. I needed to ask someone for some help.. I am working on a project, and a part of it requires me to...

Hi all, I just signed up for this group.. I needed to ask someone for some help.. I am working on a project, and a part of it requires me to take information that is being sent in from a GPS device and parse the string to extract the latitude and longitude coordinates and send it serially to a laptop connected via the second serial port.. The GPS device unfortunately can't be controlled to send...


Problem with struct and Cosmic compiler

Started by folg...@yahoo.com in 68HC1215 years ago 3 replies

Hello, I am using cosmic Compiler. I have this struct: typedef struct { unsigned int IDAC; unsigned int CANidar0; unsigned...

Hello, I am using cosmic Compiler. I have this struct: typedef struct { unsigned int IDAC; unsigned int CANidar0; unsigned int CANidmr0; unsigned int CANidar1; unsigned int CANidmr1; unsigned int CANidar2; unsigned int CANidmr2; unsigned int CANidar3; unsigned int CANidmr3; unsigned int CANidar4; unsigned int CANidmr4; unsigned in...


M68HC912B32

Started by Rivan Rivaldy in 68HC1215 years ago 5 replies

Hi all, Currently I'm a bit confused in using the M68HC912B32 MCU. I got a few questions regarding this MCU. 1. After successfully uploading...

Hi all, Currently I'm a bit confused in using the M68HC912B32 MCU. I got a few questions regarding this MCU. 1. After successfully uploading all the necessary program into the MCU EEPROM, how do we start the MCU to actually execute all the program that we've uploaded? Is it done by simply resetting the MCU? I've uploaded the program into $0D00 (EEPROM) and I've put the address into the RE...


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