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 | msCAN: receive-buffer

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

msCAN: receive-buffer - Sebastian Schuster - Apr 22 1:51:00 2004

I got a problem in understanding the system of buffers and filters in
the msCAN-modul.
First thing is, when sending a message from the tx-buffer to the
canbus, the same message is written to the receivebuffer. Is the can-
modul sensing the bus and therefore receive its own message?

Secondly, why do I receive all the incoming messages from the canbus
in my receivebuffer (in the debugger all messages appear at the
address of the rx-foreground-buffer), even if I closed the filters. I
thought there is a difference between fore- and backgroundbuffer.
Shouldn't I see only the foregroundbuffer? Regards,

Sebastian





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


AW: msCAN: receive-buffer - Christoph Brügge - Apr 22 4:03:00 2004

First:
Yes, the modul recieves its own message, but doesn't set
the recieve-Flag!

Second:
Is the recieve-bit set?
"WARNING: To ensure data integrity, do not read the receive buffer registers
while the RXF flag is cleared." (S.524 MC9S12DP256.pdf)

Read the chapter "MSCAN" of the file "MC9S12DP256.pdf" for entire
information. (You can get it from the Motorola-HP.)

Regards,
Christoph

-----Ursprüngliche Nachricht-----
Von: Sebastian Schuster [mailto:]
Gesendet: Donnerstag, 22. April 2004 08:51
An:
Betreff: [68HC12] msCAN: receive-buffer I got a problem in understanding the system of buffers and filters in
the msCAN-modul.
First thing is, when sending a message from the tx-buffer to the
canbus, the same message is written to the receivebuffer. Is the can-
modul sensing the bus and therefore receive its own message?

Secondly, why do I receive all the incoming messages from the canbus
in my receivebuffer (in the debugger all messages appear at the
address of the rx-foreground-buffer), even if I closed the filters. I
thought there is a difference between fore- and backgroundbuffer.
Shouldn't I see only the foregroundbuffer? Regards,

Sebastian

--------------------------------------------------------To learn more about
Motorola Microcontrollers, please visit
http://www.motorola.com/mcu
o learn more about Motorola Microcontrollers, please visit
http://www.motorola.com/mcu

Yahoo! Groups Links




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