Hi! I use MC9S12E128 micro in my application, and XIRQ interrupt to handle power fail. In the XIRQ interrupt, I need to save data to memory via the SPI bus....
Hi guys, I have an existing ecm running on a MC68HC912B32. While it is running I can put it in a mode to accept a flash routine through J1850. I'm at the point...
Hello, I am using cosmic Compiler. I have this struct: typedef struct { unsigned int IDAC; unsigned int CANidar0; unsigned int CANidmr0; unsigned int CANidar1;...
The initialization must be part of the declaration, so simply write: FILTER stConfig = { 0x00, 0xFF, ... Best Regards, Jean-Pierre Lavandier ... De :...
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 =...
Hi. I have been tasked with programming a timer board and haven't used assembler in almost 15 years. I am using the Adapt912DT60 EVB and would like to take...
I'm rocking a Freescale MC9S12DG256B with a crystal oscillator of 16MHz. What is my exact P CLOCK or E CLOCK supposed to be? I assume it's 8MHz, but my clock...
... Your P Clock and E Clock will be exactly 1/(2^n) of the frequency of your system oscillator. The value of n will vary depending on what you set the related...
Hello Everyone, I am a computer engineering student at Gonzaga University, and am working on a delivery robot with 3 other guys for our senior design project....
One relatively painless way to use expanded memory is to move functions up there, and call them with the call directive, returning with an RTC instead of an...
Hi, I see various links to Eric Engler's EmbeddedGNU web site, but the site is down. Is there a link to another site that has the package or can someone send...
Hello, Inorder to receive only message with CAN ID "0x001", set the Mask and Acceptance registers as shown below. CAN0IDMR0 = 0x00; CAN0IDMR1 = 0x00; ...
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...
Hello Mukul; Because of the unknown relationship between the filling from the GPS and the query from the laptop you will need a double buffer. This second...
Hi Greg, Thank you very much! I do have a few questions though, (and it stems from me being a novice at programming).. Your mention of a query has me...
Hi, Mukul, I use a 68HC11 to read the data from a GPS receiver. Below is the code I use to do this. It should work with little change for a 68HC12. I use a...
... Hello, I tried the settings but it does not work. Has anybody another idea. I had a look at the manual but I do not know what I am doing wrong. Perhaps...
Hi all, Currently I'm facing problem with using I2C in my project. I'm using M68HC912B32 connected to a pressure transducer CSDX2000A2R from SensorTechnics....
Hi ! What is bit banging method ? For I2C access (memory and clock), I don't understand how run I2C Interrupt, so I developed soft (C) driver... For me, it...
Hi Joel, For communicating with the sensor, I didn't use I2C driver. Instead, I connected the SDA and SCL lines of the sensor to 2 pins on the microcontroller....
Hi, 1. Are you writing "0xFF" to any of the mask registers i.e. CAN0IDMR0~7 ?? you should not write the value of "0xFF" to these registers in your case. ...
OK, Rivan. This is the system I use for a couple of years. I can send you of list the C source file I use for that. This is the "driver" I spoke in my...
Hello, here are parts of my code: typedef struct { unsigned int IDAC; unsigned int CANidar0; unsigned int CANidmr0; unsigned int CANidar1; unsigned int...
To ignore ID bits, corresponding DMR bits should be set to '1'. You have all DMR's set to all zeros. When DMRx bit is zero, then corrsponding IDRx bit should...
hello. I have a single board computer (TS-5500) running linux. The SBC request data from my hc12 by sending a specific character through serial port. When Hc12...