ADC to LED problem

Started by AlD in 68HC126 years ago 2 replies

I have code that is not working for the MC68HC12, it takes 0-5V into the ADC and does some math to convert to revolutions per second and...

I have code that is not working for the MC68HC12, it takes 0-5V into the ADC and does some math to convert to revolutions per second and outputs to 2 LED's. Could someone analyze the code to tell me in general what might be wrong with the code. Some where I've think I've made a basic mistake, I have not used the ADC before. I get not display on LED's. The code, sorry don't know how to wrap ...


trouble with PLL on the HC12

Started by Chris in 68HC126 years ago 13 replies

Hello; I am using an ICC12 compiler and NOICE debugger with a USB pod with an HC12 128kB chip running with a 16MHz crystal. My problem is that...

Hello; I am using an ICC12 compiler and NOICE debugger with a USB pod with an HC12 128kB chip running with a 16MHz crystal. My problem is that when I try to set the PLL up for about 40MHz, the code does not seem to work in the way it should and I can't get a LOCK - or even a TRACK signal. I have to turn off the PLLSEL bit before trying to set up the mult and divide registers and turning the...


Interrupts on Port H

Started by dedison07 in 68HC126 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 ------------------------------------


About DB9 Female connecte to HCS12

Started by cwl_hf121 in 68HC126 years ago 4 replies

Hello,This is my first time to do one carte based on Hcs12 using SCI module. I have one RS232 cable M/F, one DB9 Female connecte to...

Hello,This is my first time to do one carte based on Hcs12 using SCI module. I have one RS232 cable M/F, one DB9 Female connecte to HCS12.But I'm not sur which one of connection is right in the picture. Picture Thanks for all your help. ------------------------------------


help for CHIPS12

Started by cwl_hf121 in 68HC126 years ago 4 replies

Hello,I have one chips12, but I can't debug it with P&E USB BDM MULTILINK. I use codewarrior version 5.9, I have installed the latest driver for...

Hello,I have one chips12, but I can't debug it with P&E USB BDM MULTILINK. I use codewarrior version 5.9, I have installed the latest driver for USB BDM. Every time it shows : the target MCU has no clock or wrong BDM clock speed is used or derivative is secured. So, for P&E USB BDM, the Pin 1: BKGD; Pin2: GND; Pin6: VDD ;Is it correspond to CHIPS12 BDM 6-PIN connector? Thanks a lot. ----...


HC12 CAN bootloader/flasher

Started by Gabriel Torres in 68HC126 years ago 2 replies

Hello, I'm currently working on a school senor project that requires me to flash an MC9S12C128 microcontroller through CAN. I was wondering if...

Hello, I'm currently working on a school senor project that requires me to flash an MC9S12C128 microcontroller through CAN. I was wondering if anyone had done something like this before and had any pointers for me. Thanks, Gabe ------------------------------------


Unable to flash 9s12 !

Started by jpdi in 68HC126 years ago 4 replies

Hi all ! It's a lot of time I didn't program with S12. Now, I've some soft release to do, and the cpu I try to modify soft refuses to be...

Hi all ! It's a lot of time I didn't program with S12. Now, I've some soft release to do, and the cpu I try to modify soft refuses to be programmed. NoIce reports me "Verify fail at add... wanted xx, got yy (if this is protection byte, NoIce may prevent you from locking yourself out) .../..." I never-never protected the CPUs I use. I tried with 3 other boards I've, wich refused ...


912D60(A), 912B32 and 9S12DG128 devices via BDM

Started by "carl.bulger" in 68HC126 years ago 1 reply

Hello to All I am designing my own interface for reading and writing to various Freescale MCU's. I've read and written to '908' etc devices...

Hello to All I am designing my own interface for reading and writing to various Freescale MCU's. I've read and written to '908' etc devices for many years with my own interface. Now I would like to make my own project hardware/software to read/write 912D60(A), 912B32 and 9S12DG128 devices via BDM. All the required commands are published in many tech bulletins on the internet but what I...


Minidragon C code limit /Codewarrior serialmonitor

Started by jeff...@bendnet.com in 68HC126 years ago 6 replies

Hello, I am using a Minidragon plus2 with mixed C & assembly as shown in the book: "Learning C by example" & have seemingly run into the max C...

Hello, I am using a Minidragon plus2 with mixed C & assembly as shown in the book: "Learning C by example" & have seemingly run into the max C code limit. Using special edition version of Codewarrior with serial monitor My C code is growing & now now during flash programming at approx 14210 bytes size the Hiwave debugger indicates: Link Error : L1102: Out of allocation space in segment R...


CAN Bootloader for MC9SXEP

Started by axel_20002003 in 68HC127 years ago 2 replies

Hi everybody, i'm new of this group. I've to do a CAN bootloader for mc9s12xep100 microcontroller i've read AN2546 and AN3391 application notes...

Hi everybody, i'm new of this group. I've to do a CAN bootloader for mc9s12xep100 microcontroller i've read AN2546 and AN3391 application notes but at this moment i'm a little confused. Some of you have already write a bootloader for this family? Can you explain the step i've to do to write a bootloader? Thanks Fausto ------------------------------------


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