mscan example

Started by aaronedsinger in Freescale DSPs16 years ago

Hello. I am just getting started using the MSCAN on my 56F807 evaluation board. I haven't been able to find any sample code for ...

Hello. I am just getting started using the MSCAN on my 56F807 evaluation board. I haven't been able to find any sample code for this yet (mscan initialization, interrupt driven rx/tx for 56F8xx). If anyone could point me to some code or would send me an example, that would be really


MSCAN useful information

Started by Art Johnson in Freescale DSPs17 years ago

The following Application Notes and FAQs have some highly useful information for anyone writing code for the MSCAN (Motorola...

The following Application Notes and FAQs have some highly useful information for anyone writing code for the MSCAN (Motorola Scalable Controller Area Network) module. Although they were written for other devices, most of this information does apply to the DSP56F80x MSCAN module, espe


MSCAN for SDK 2.5 DSP56F800

Started by edgardieperink in Freescale DSPs15 years ago 1 reply

Hi Everyone, I am looking for the " mscan.c " file that is missing from the SDK source CD. Could someone forward it to me. Many...

Hi Everyone, I am looking for the " mscan.c " file that is missing from the SDK source CD. Could someone forward it to me. Many thanks. email:


56F803 MSCAN correct bit timings @ 50 kbps

Started by doggy_freestart in Freescale DSPs13 years ago 1 reply

Hello all, I'm having problems with our network running at 50kbps. Over a long time (many hours or a few days) the MSCAN module goes dead and...

Hello all, I'm having problems with our network running at 50kbps. Over a long time (many hours or a few days) the MSCAN module goes dead and is no longer communicating. The environment is pretty noisy, but the CAN signals are not distorted. There are no CAN error interrupts, and the error counter remains at 0. What are the timings you are using? I've tried many different timings, the be...


56803 erratum 11.8: missed MSCAN TXEIE

Started by Corey, Rick in Freescale DSPs17 years ago 1 reply

Hi I only just recently noticed the MSCAN erratum 11.8 (copied below). I was puzzled by this. I thought that as long as...

Hi I only just recently noticed the MSCAN erratum 11.8 (copied below). I was puzzled by this. I thought that as long as the flag bit was set (TXE[2:0] in the CANTFLG register), the Transmitter Empty IRQ was valid, or asserted, or would cause an ISR to fire (whenev


RE: [motoroladsp_unmoderated] Interrupt/context problem?

Started by Art Johnson in Freescale DSPs17 years ago

We have had problems with the MSCAN error interrupts (as I'm sure you've already read about), but I developed a work around that...

We have had problems with the MSCAN error interrupts (as I'm sure you've already read about), but I developed a work around that fixed the problem. It's described in my message "MSCAN problem" on October 3, 2002. Since fixing that problem, we have been having some program


MSCAN problem

Started by in Freescale DSPs17 years ago 7 replies

I have following problem with DSP56807 CAN controller: Using 56807 in CAN application in classic way : 'TX empty' interrupt ...

I have following problem with DSP56807 CAN controller: Using 56807 in CAN application in classic way : 'TX empty' interrupt routine fills the MSCAN registers with new message from the FIFO buffer. Received CAN messages are processed in 'Rx full' interrupt routine... The proble


MSCAN and CanReadCallBack interrupt problem

Started by jamessconnors in Freescale DSPs15 years ago 2 replies

I am using the mscan drivers from SDK3.0 and the example program can.h which comes with that version of the SDK. In their CAN ...

I am using the mscan drivers from SDK3.0 and the example program can.h which comes with that version of the SDK. In their CAN example they setup a function "CanReadCallBack" to handle newly received CAN messages. It is setup in the appconfig.h file as #define CAN_RAW_CALLBA


successful transmission of MSCAN message frame

Started by yadu...@yahoo.co.in in Freescale DSPs13 years ago 1 reply

hi everybody, i am working MSCAN protocol (v02.15) for the MC9S12D64BCPV(16MHz) MCU....can anybody suggest me that how can we...

hi everybody, i am working MSCAN protocol (v02.15) for the MC9S12D64BCPV(16MHz) MCU....can anybody suggest me that how can we know the Succesfull Transmission of the particular CAN message. after the succesful transmission of the CAN message,we can enable the CANTXIE interrupt..but how can we know the successful transmission of the message... plz provi...


568xx MSCAN: "OVERLOAD" Frame?

Started by Corey, Rick in Freescale DSPs17 years ago

Does anyone happen to know whether the 568xx MSCAN peripheral sends a CANbus "Overload Frame" under any condition? I don't mean...

Does anyone happen to know whether the 568xx MSCAN peripheral sends a CANbus "Overload Frame" under any condition? I don't mean setting the "Overrun" flag in CANRFLG register. I understand that it is a close clone of the MSCAN12 peripheral originally shipped with the HC


mscan from scratch

Started by the300x in Freescale DSPs14 years ago

Hi all, I am trying to connect the CAN bus of the 56F807 to other devices that has CANopen. I just need to get some basic status and send...

Hi all, I am trying to connect the CAN bus of the 56F807 to other devices that has CANopen. I just need to get some basic status and send some signals to reset these nodes. Does somebody has some example code to start with? Thanks a lot Marco Henry Panavision Inc.


Re: Digest Number 739

Started by Gary Olmstead in Freescale DSPs15 years ago

At 10:26 PM 2/21/05, you wrote: >Subject: RE: 56800 SDK CAN driver > > >Hello, >I'm a new member of this group and I am...

At 10:26 PM 2/21/05, you wrote: >Subject: RE: 56800 SDK CAN driver > > >Hello, >I'm a new member of this group and I am also looking out for the MSCAN >drivers for the DSP56F805 boards. >I got the free CD from freescale but the driver fi


AW: MSCAN interface on 56f803

Started by Bende Georg in Freescale DSPs16 years ago

Hello Rick, Thanks for your kind answer. Changing setup works for me and I can read REC register in any state. I also managed to...

Hello Rick, Thanks for your kind answer. Changing setup works for me and I can read REC register in any state. I also managed to have automatic baud rate detection by simply monitoring this counter - but I'd like to reset it after the correct baudrate has been detected. I know that a


Receiving Messages on DSP56F805

Started by chandooramkumar in Freescale DSPs15 years ago 1 reply

Hi, I am Chandru. I am trying to program DSP56f805 to send and receive CAN messages. I am able to transmit messages and store...

Hi, I am Chandru. I am trying to program DSP56f805 to send and receive CAN messages. I am able to transmit messages and store them in the Transmt buffers(CAN_TB0_DSR's).I have also setup the identifiers and the mask registers. I also cleared the TXE0 flag after storing the msg. I dont know how to push the message out to the MSCAN bus. I m


TTCAN for DSP56F807

Started by belightednow in Freescale DSPs17 years ago

Hello, I want to use the MSCAN Module of the DSP56807 for a hart real-time application with periodic transmission of messages in a...

Hello, I want to use the MSCAN Module of the DSP56807 for a hart real-time application with periodic transmission of messages in a fix time slot. The automatic retransmission of messages produce an undesired delay in time. Therefore I want to know if it is possible to suppress


56800 SDK CAN driver

Started by schwca in Freescale DSPs15 years ago 4 replies

Motorola does not place the SDK MSCAN drivers on the 2.5 or 3.0 CDs. SDK and Motorola website says that they are "priced separately"...

Motorola does not place the SDK MSCAN drivers on the 2.5 or 3.0 CDs. SDK and Motorola website says that they are "priced separately" but that's all it says about it. "Digital DNA" help emails me back a response to contact one of the distributors for price information. A


#pragma Interrupt

Started by chandooramkumar in Freescale DSPs14 years ago 2 replies

Hi, I am trying to program an ISR in MSCAN recieve routine. I went thru the archives and found a message frm Art Johnson which was...

Hi, I am trying to program an ISR in MSCAN recieve routine. I went thru the archives and found a message frm Art Johnson which was regding the usage of #pragma Interrupt. It will be gr8 if someone culd send me the J1939_task.c file to refer to ISR programming. I am attachin the message frm Art BELOW... Thanks, Chandru RE: si


Re: Motorola Premier SDK Part Number

Started by Terry Litinas in Freescale DSPs17 years ago 1 reply

Jacob, John is right about the SDK premium components being sold separately. For instance the MSCAN support part number is...

Jacob, John is right about the SDK premium components being sold separately. For instance the MSCAN support part number is ENGRCHGCAN. Evidently the software actually comes with the free SDK but can not be used without the purchase of a "software key" for a phenomena


Problem with sending 7 and 8 Byte Frame in CAN

Started by rogergill_99 in Freescale DSPs17 years ago 3 replies

With my target board, and the DSP56F803 Evaluation board, I am experiencing problems with the MSCAN module when sending 7 and 8 byte...

With my target board, and the DSP56F803 Evaluation board, I am experiencing problems with the MSCAN module when sending 7 and 8 byte frames. The problem I have is when I send 7 byte frames, often I do not get an ACK sequence from other connected devices, and when I send an 8


MSCAN interface on 56f803

Started by Bende Georg in Freescale DSPs16 years ago 1 reply