upgrade question

Started by Joe Dee Kay in 68HC127 years ago 7 replies

I have two s12compact boards from elmicro, s12dg256 and s12dp512. I just got the s12dp512. Are there any changes that need to be made to the...

I have two s12compact boards from elmicro, s12dg256 and s12dp512. I just got the s12dp512. Are there any changes that need to be made to the programs for the s12dp512. I tried running a program that uses the DAC which works on the s12dg256 and it doesn't work on the s12dp512. Program details: The program gets a value from the ADC does some calculations and outputs a value on the DAC. When ...


Error in c program / Dragon 12 plus /68hcs12

Started by narendra pipaliya in 68HC128 years ago 1 reply

Hello, I am doing my graduate project using Dragon 12 Plus kit. I have written C Progrm in codewarrior for my project. I got error like...

Hello, I am doing my graduate project using Dragon 12 Plus kit. I have written C Progrm in codewarrior for my project. I got error like TMSK1 is not declared. should I need to use any header file for staus register? It would most if anybody explain how to load program into 68hcs12 microcontroller with codewarrior? Thanking you, Narendra ------------------------------------ ...


Introduction; Early Project Planning; 9S12NE64

Started by jwalther1919 in 68HC128 years ago 4 replies

Hello, I just joined the group, because I am considering a hobbyist project which I might take open source. I am still in the...

Hello, I just joined the group, because I am considering a hobbyist project which I might take open source. I am still in the planning/feasibility/costing stage and could use some advice. I'll describe the project in more detail at the bottom, but I'm going to go straight to the question. so you don't have to wade through what may be needless detail. 1) Are many folks using the 9S12NE64...


Unable to read SPI1DR

Started by marc...@gmail.com in 68HC128 years ago 2 replies

Hi, I have a function that returns that value of the SPI data register (SPI1DR). I expect this function to return 0xFF if there is no other...

Hi, I have a function that returns that value of the SPI data register (SPI1DR). I expect this function to return 0xFF if there is no other data coming in from the slave device. However, I only ever see 0x00 in this register even though I see the correct bit pattern on the MOSI pin. Does anyone have any thoughts? The receive function and my initialization are below. Also, I am using an MC9S12DG...


newbie Dragon12 board softwar-hardware question

Started by catsalsa in 68HC128 years ago 11 replies

Hi, I'm taking an embedded course and my prof dug out an old Dragon12 board without the software CD. I did not get a BDM either. I am trying...

Hi, I'm taking an embedded course and my prof dug out an old Dragon12 board without the software CD. I did not get a BDM either. I am trying to understand if there is any option to program the board in C without supplementary hardware. I need to program it using C with which I'm familiar and by reading the various documentation and downloading different software it seems a clear question is n...


SPI problem Specifically about SPIDR

Started by amit shrigondekar in 68HC128 years ago 3 replies

Hi everyone .. I have a problem with SPI bus and I have pasted below=A0init functions for master and slave. if any body had the same problem,...

Hi everyone .. I have a problem with SPI bus and I have pasted below=A0init functions for master and slave. if any body had the same problem, kindly let me know how to get around that= . Problem: 1) =A0when I read SPIDR register it gives me random values and once in a while correct value 2) Also it does not copy any value =A0in the arr[] it just copies first location in arr void ...


Difference between S12 and S12X

Started by drew...@gmail.com in 68HC128 years ago 2 replies

I have code written for a HCS12 Micro and was thinking about porting it over to a HCS12(X). It has interrupts, and it seems that the interrupts...

I have code written for a HCS12 Micro and was thinking about porting it over to a HCS12(X). It has interrupts, and it seems that the interrupts are handled differently. Is this true, or if the modules are the same between the 2 chips, will the code just port over and work the same. ------------------------------------


USB to Virtual COM port

Started by ghoshraju_m in 68HC128 years ago 4 replies

Hi all, My application currently communicates with Instrument through COM port(serial communication). Now the instrument manufacturer is going...

Hi all, My application currently communicates with Instrument through COM port(serial communication). Now the instrument manufacturer is going to support USB in place of COM port and the PC application will communicate to instrument through USB using virtual com port (VCP). 1. Should i have to write a driver to convert USB to VCP? Please help me and put your suggestion. Thanks in advan...


SRF08 interface with I2C

Started by "nielsen.daniel" in 68HC128 years ago 1 reply

Hello, I am trying to interface an SRF08 Ultrasonic Sensor to my Dragon-12 board (I2C) via CodeWarrior and C language. I have tried and tried...

Hello, I am trying to interface an SRF08 Ultrasonic Sensor to my Dragon-12 board (I2C) via CodeWarrior and C language. I have tried and tried again but no succes...I am pretty sure I am writing to the SRF08 but I dont think I am reading correctly. Any help or suggestions or working code would be greatly appreciated. Thanks. This is my code. #include /* common defines and ma


MG9S12DG256 Resistor Question

Started by "Fry, Gordon" in 68HC128 years ago 7 replies

Hey all, As I'm working through my Introductory tutorial with this board, I'm having some trouble reaching a conclusion again. The...

Hey all, As I'm working through my Introductory tutorial with this board, I'm having some trouble reaching a conclusion again. The question that is stumping me on the tutorial is "What standard 5% value of resistor would you use to limit current?" First of all, what is meant by "5% value of resistor?" I guess the obvious answer would be: 1.) Find the value of the resistor 2.) Divide ...


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