Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Problems with CAN (and Cosmic Compiler)

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Problems with CAN (and Cosmic Compiler) - folg...@yahoo.com - Jan 18 13:32:34 2009

hello,

I just write a function for the initialization of the CAN modules. Now I have the following problem. I pass the number of the CAN module which should be initialized. This is stored in the variable CANm for example 0 for the CAN module 0. Now I wanted to switch on the modul, e.g.,

CANm + CANCTL0 = 0x01;

But I always get the error message that CANCTL0 is not defined. I am using a cosmic compiler.
With CAN0CTL0= 0x01; it works.
CANm + CANCTL0 I have found in the internet but this does not work.

Could someone tell me what is wrong or how I can solve the problem?

Best regards

------------------------------------



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )