Forums More 68hc12
urgent. bluetooth pda
inHi I have a project to complete for my university. I am designing a PDA controlled vending machine. I have made a program on Labview for the...
Hi I have a project to complete for my university. I am designing a PDA controlled vending machine. I have made a program on Labview for the PDA. Now when the user opens the software and stands infront of the vending machine he will scan for vending machines. whatever he wants he then selects that vending machine. the vending machine will have buttons corresponding to 3 slections. When the us...
Controlling a servo motor with PWM
inHello, Im trying to learn how to use the pulse width modulation feature of the MC9S12DP256C by using it to control a simple futaba servo...
Hello, Im trying to learn how to use the pulse width modulation feature of the MC9S12DP256C by using it to control a simple futaba servo motor. however I cant seem to get any movement out of it and im not exactly sure why. I have the white command wire conencted to PortP0 and code as followed: $HC12 ORG $0D00 PWEN: equ $0042 ; PWM enable register PWPE
Newbie - Codewarrior and first LED-blink program
Hello everyone, I am just about at the end with my board. I'm just starting out with this chip, and I can't seem to get a simple...
Hello everyone, I am just about at the end with my board. I'm just starting out with this chip, and I can't seem to get a simple port-toggler to work using codewarrior. I have the bootloader, and DBug12 V3.0 installed (I got the bootloader on, then loaded DBug12 myself. All seems to work ok. My main.c code*************************************** #include /* common d
HC12 BDM Programming
inHi, is it possible to program the HC12 MCU via BDM without having control of the RESET line (Hot Attach) ? Thanks in advance. Mike
Hi, is it possible to program the HC12 MCU via BDM without having control of the RESET line (Hot Attach) ? Thanks in advance. Mike
Reset and wrong value in eeprom
inHello, I write some values in the eeprom of 9s12dt128. Before doing a hard reset (power off) if i read the content at 0x800 it is...
Hello, I write some values in the eeprom of 9s12dt128. Before doing a hard reset (power off) if i read the content at 0x800 it is correct. I do the hard reset and i follow this code with the debugger : for(;;) { /* forever: initialize the program; call the root-procedure */ if (!(_startupData.flags&STARTUP_FLAGS_NOT_INIT_SP)) { /* initialize the stack pointer */ ...
Xgate CPU and memory
inHello, I would like to understand how the access ram works. For example, the Xgate write the variable test (test=0x50). At the same time the...
Hello, I would like to understand how the access ram works. For example, the Xgate write the variable test (test=0x50). At the same time the CPU read the variable test (if test==0x40 .) What happens? Could this operation take place? Thank you for help Regards
MC9S08GB60 I2C and PCF8583 Real time clock
inHello I try to use C+ that is new for me, and Codewarrior. Running in circle since a couple of weeks with this simple clock,...
Hello I try to use C+ that is new for me, and Codewarrior. Running in circle since a couple of weeks with this simple clock, did somebody got experiences and softwares that can manage IIC?. (with or with out IT managment (I try both), I just need simple as possible, as RCT seems to be) Many thanks in advance.
DJ64 eeprom programming in low temperature
inWe are using HCS12 micro ( MCS12DJ64 CPV 2L86D mask set) in our automotive CAN application . Recently, we have discovered some problem...
We are using HCS12 micro ( MCS12DJ64 CPV 2L86D mask set) in our automotive CAN application . Recently, we have discovered some problem with eeprom programming in low temperature ( -20 degree Celsius ) environment. Our automotive application is programmed to write some datum to DJ64??s eeprom before turning the power off . The application runs fine in room temperature ( 10 ?V 20 deg...
Need help reg PPAGE in MC9S12A256
inHi, In my current project we are going to use Freescale MC9S12A256 16bit controller. It is using paging concept to access 256KByte inbuilt...
Hi, In my current project we are going to use Freescale MC9S12A256 16bit controller. It is using paging concept to access 256KByte inbuilt Flash with 16K address space and PPAGE register. Let us assume that my application code is more than 64KByte, stored in block 2 & 3 of inbuilt Flash and it is executing from FLASH(using page window). Becauseit is > 64K, it is not only crossed the
Printf() in banked memory model
inI am facing some problems using printf(). It works nicely in large memory model, but in banked memory model, I am forced to allocate STRINGS in...
I am facing some problems using printf(). It works nicely in large memory model, but in banked memory model, I am forced to allocate STRINGS in the nonbanked section, which isn't very nice because we don't have a lot of unbanked space. Is it possible to make printf() work in banked memory model with arguments in banked ROM/RAM? If so, how? The code I get seems to hand over 16bit pointers only...
Ask a Question to the EmbeddedRelated community
To significantly increase your chances of receiving answers, please make sure to:
- Use a meaningful title
- Express your question clearly and well
- Do not use this forum to promote your product, service or business
- Write in clear, grammatical, correctly-spelled language
- Do not post content that violates a copyright