EmbeddedRelated.com

Busoff problem [plz refer to this mail, the previous mail was not perfect]

Started by yadunandan kasu in 68HC1216 years ago 5 replies

Hi everyone, I am using S12MSCANV2 can protocol for my application. I have an issue here As we all know, When the nodes enters the...

Hi everyone, I am using S12MSCANV2 can protocol for my application. I have an issue here As we all know, When the nodes enters the Busoff state, it is not allowed to participate in the communication untill recovery to normal state. The following two are my sample codes in which one enables my Transmit interrupt for every 10ms and the other one in CAN error interrupt ISR. CAN_Tx...


Novice help wiring HCS12 to program

Started by darkprism23 in 68HC1216 years ago 5 replies

Hello, I'm trying to get back into microcontrollers, however, I'm having trouble figuring out how to wire the controller to get programmed. ...

Hello, I'm trying to get back into microcontrollers, however, I'm having trouble figuring out how to wire the controller to get programmed. I would like to start out by using an RS232 interface. Can somebody guide me along? The chip I'm currently interested in using is MC9S12DG256. Thanks in advance! -Chris


Schematic/PCB File for 9S12DP512/256

Started by jehenzeb2978 in 68HC1216 years ago 6 replies

Hi All, If any friend has Schematic/PCB files (Protel, PCAD, Altium) for 9S12DP512 9S12DP256B (112-LQFP) Microcontroller based board. I...

Hi All, If any friend has Schematic/PCB files (Protel, PCAD, Altium) for 9S12DP512 9S12DP256B (112-LQFP) Microcontroller based board. I request him to share with me. Than Mian Jehnazeb


10-Bit ATD -- ATDDR0

Started by "matthias.hildebrand" in 68HC1216 years ago 2 replies

Hey all, I have a question concernig the 10-bit ATD conversion. Until today I used the 8-bit conversion without having problems. For...

Hey all, I have a question concernig the 10-bit ATD conversion. Until today I used the 8-bit conversion without having problems. For a higher accuracy I want to use the 10 bit conversion now. I had a look on the registers. The data is stored right justified and unsigned. Is the only difference setting the SREM bit to low? How can I convert the value? Before I stored the low register (ATD...


Interrupt Vectors

Started by Paul Williams in 68HC1216 years ago 2 replies

Hi, I am have problems with a MC9S12DP512, I am using ICC12 and using TwinPeeks to load the programs. My question relates to the operation...

Hi, I am have problems with a MC9S12DP512, I am using ICC12 and using TwinPeeks to load the programs. My question relates to the operation of the timer interrupts. I can get TC7 working correctly. But if I try and use TC0 nothing appears to happen. I believe it has something to do with the redirected interrupt vectors. Mainly because of the redirect vector that works for TC7 is actuall...


USB BDM Multilink - Command Files Syntax Help

Started by eric_cina in 68HC1216 years ago 7 replies

I'm using the P&E Micro USB BDM Multilink with CodeWarrior 3.1. I use several command files to help initialize the micro before the BDM...

I'm using the P&E Micro USB BDM Multilink with CodeWarrior 3.1. I use several command files to help initialize the micro before the BDM performs the flash load. One command file in particular is the p&e_preload.cmd file which I have modified to do a sector erase of the entire flash except for my bootloader which is in the upper portion of flash. Recently I have expanded my Bootloader...


Reg problem with Input capture interrupts

Started by saravanan in 68HC1216 years ago 5 replies

Dear all, I am using HCS12X evaluation board.I wrote a simple code to compute the wheel speed using the input capture...

Dear all, I am using HCS12X evaluation board.I wrote a simple code to compute the wheel speed using the input capture timer. I have connected the wheel speed outputs to the channels IOC0 - IOC3. Now the wheels are moving at a constant pace. The problem what I am facing is, as TIE(C0I) has higher priority than the remaining three(C1I,C2I,C3I), channel ...


[MC9S12XDP512] How to jump to _Startup() from user code (Problem)

Started by yadunandan kasu in 68HC1216 years ago 2 replies

Hello all, I am trying to develop the CAN communication between my PC and the HCS12X starter kit which includes MC9S12XDP512 MCU.Here I am...

Hello all, I am trying to develop the CAN communication between my PC and the HCS12X starter kit which includes MC9S12XDP512 MCU.Here I am facing a small problem at the initial stage itself. As we know, the Reset vector is configured to _Startup(). But I modified the Reset vector to my own ISR _iProjectEntry() in the .prm file and then I want to call the _Startup() inside my ISR _iPr...


Dual SCI on 9S12D64 confused Interrupt

Started by WadeA & RebeccaM Smith in 68HC1216 years ago 5 replies

We are working with a proprietary board based on the Elektronikladen CardS12.D64 using ICC12 and NoICE with the ComPOD12 Pro BDM. The processor...

We are working with a proprietary board based on the Elektronikladen CardS12.D64 using ICC12 and NoICE with the ComPOD12 Pro BDM. The processor boots up in the TwinPeeks monitor and jumps to the user code at 0x8000 where all of our code starts (including startup and init). SCI1 is interrupt driven RS485. SCI0 is polled RS232 half-duplex. SCI0 set up: SCI0CR2=TE+RE SCI1 is outputtin...


mc68332 interfacing with scv64

Started by chandaraaditya in 68HC1216 years ago 4 replies

Hi, We have designed a board with MC68332 16 bit micro controller interfacing with scv64.Since scv 64 is 32 bit register access, higher...

Hi, We have designed a board with MC68332 16 bit micro controller interfacing with scv64.Since scv 64 is 32 bit register access, higher data lines of it are interfaced with latch implementation,writing the registers by one extra 16 bit write cycle with this configuration .Using BDM(debugging tool) ,application is dumped into flash and running from flash VME accessing is fine,but when...


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