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 | Re: WANT PROGRAM FOR CAN COMMUNICATION IN LOOP-BACK MODE

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

Re: WANT PROGRAM FOR CAN COMMUNICATION IN LOOP-BACK MODE - venkateshwarlu kacham - Feb 6 13:20:14 2009

Hi,

Here are the steps to test the loop back procedure for HC12 micro
controller.

1)Set the controller sleep mode and get the ACK for sleep mode
1)Set the loopback mode in controller register(To do this you need to go
first initialization mode, do the required initalization for CAN module,set
LOOPB and exit from initialization mode)
2)Transmit the message in normal message tranmission(Fill the hardware IDR
and data registers with you sample data)
3)Enable the TX & RX interrupts
4)In RXInterrupts have software flag where it will say LOOP back in progress
if yes compare against the transmitted message with received message from
the RX registers.
5)If DLC,CAN Id and data matches then LOOP BACK is successfull else it got
failed
6)Clear the loop back mode so normal communication will be restored.

Cheers,
Venky

On Thu, Jan 22, 2009 at 1:05 PM, chaitudeepak wrote:

> any one who has done lloop-back mode in dt512 hcs12
> microcontroller pls send the program
>
[Non-text portions of this message have been removed]

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



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