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

New!

Thinking MCU? Think TI
Visit the new
TI MCU resource center for the latest videos and documents to help support your design efforts.

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | MSCAN On 9S12D64 80 Pin Package Problem

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

MSCAN On 9S12D64 80 Pin Package Problem - tophongli - Apr 27 20:43:06 2007

Hello All,

I have an MSCAN program that works with 9S12D64 112 Pin package well.
When I use the same program on a 9S12D64 80 Pin package, I could not
make it work as before.

The CAN0 used PM0/PM1 on 112 Pin chip. It will use PJ6/PJ7 on 80 Pin
chip.

I have set: MODRR = 0x03; /* Route CAN0 to PJ6,
PJ7 */

Seems not working.

Tried to set other ports: DDRP |= 0x80; DDRM |= 0x83; DDRJ |= 0x83;
but still no use.

Any ideas? Thanks a lot.
______________________________
Have a look at the new TI MCU Center on EmbeddedRelated.com!


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


Re: MSCAN On 9S12D64 80 Pin Package Problem - Hong Li - Apr 30 13:21:52 2007

Hi Venki,

Thank you very much for your help. I have tried the new settings and haven't
solved the problem yet. I am working with the hardware engineer now to
see if there are any hardware problems. Will let you know once I have solved
the problem.

Best regards,
Hong
On 4/29/07, Venkateshwarlu K wrote:
>
> Hi,
>
> Check with these settings. I have done this with 80 pin DJ64 and it is
> working fine for me.
>
> DDRS = 0x02;
>
> DDRJ |= 0x80; /* PJ7 is CAN_TX : outport */
>
> DDRJ &= 0xBF; /* PJ6 is CAN_RX : Inport */
>
> MODRR |= 0x03; /* CAN0 Routitng PJ6,PJ7 */
>
> Regards,
>
> Venki.
>
> _____
>
> From: 6...@yahoogroups.com <68HC12%40yahoogroups.com> [mailto:
> 6...@yahoogroups.com <68HC12%40yahoogroups.com>] On Behalf Of
> tophongli
> Sent: Saturday, April 28, 2007 6:12 AM
> To: 6...@yahoogroups.com <68HC12%40yahoogroups.com>
> Subject: [68HC12] MSCAN On 9S12D64 80 Pin Package Problem
>
> Hello All,
>
> I have an MSCAN program that works with 9S12D64 112 Pin package well.
> When I use the same program on a 9S12D64 80 Pin package, I could not
> make it work as before.
>
> The CAN0 used PM0/PM1 on 112 Pin chip. It will use PJ6/PJ7 on 80 Pin
> chip.
>
> I have set: MODRR = 0x03; /* Route CAN0 to PJ6,
> PJ7 */
>
> Seems not working.
>
> Tried to set other ports: DDRP |= 0x80; DDRM |= 0x83; DDRJ |= 0x83;
> but still no use.
>
> Any ideas? Thanks a lot.
>
> DISCLAIMER------------------------------------------
> This communication and any files transmitted with it contain information
> which is
> confidential and which may also be privileged. It is for the exclusive use
> of
> the intended recipient(s). If you are not the intended recipient(s),
> please
> note that any disclosure, copying, printing or use what-so-ever of this
> communication or the information contained in it is strictly prohibited.
> If you
> have received this communication in error, please notify the author or
> p...@jopasana.com and then delete the
> e-mail together with any copies of
> it. Although this communication is believed to be free of any virus(s)
> which
> might affect any computer or IT system into which they are opened, it is
> the
> responsibility of the recipient to ensure that they are virus free.
>
> [Non-text portions of this message have been removed]
>

--
Best Regards
Hong
[Non-text portions of this message have been removed]
______________________________
Have a look at the new TI MCU Center on EmbeddedRelated.com!


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

Re: MSCAN On 9S12D64 80 Pin Package Problem - Hong Li - May 2 12:36:31 2007

Hi Venki,

After we changed CAN transceiver from MAX 3053 to Philips C250, my programs
worked on PJ6/PJ7. We don't know why MAX 3053 didn't work but it seems a
hardware problem instead of a software problem. Thank you very much for your
help.

Best regards,
Hong
On 4/29/07, Venkateshwarlu K wrote:
>
> Hi,
>
> Check with these settings. I have done this with 80 pin DJ64 and it is
> working fine for me.
>
> DDRS = 0x02;
>
> DDRJ |= 0x80; /* PJ7 is CAN_TX : outport */
>
> DDRJ &= 0xBF; /* PJ6 is CAN_RX : Inport */
>
> MODRR |= 0x03; /* CAN0 Routitng PJ6,PJ7 */
>
> Regards,
>
> Venki.
>
> _____
>
> From: 6...@yahoogroups.com <68HC12%40yahoogroups.com> [mailto:
> 6...@yahoogroups.com <68HC12%40yahoogroups.com>] On Behalf Of
> tophongli
> Sent: Saturday, April 28, 2007 6:12 AM
> To: 6...@yahoogroups.com <68HC12%40yahoogroups.com>
> Subject: [68HC12] MSCAN On 9S12D64 80 Pin Package Problem
>
> Hello All,
>
> I have an MSCAN program that works with 9S12D64 112 Pin package well.
> When I use the same program on a 9S12D64 80 Pin package, I could not
> make it work as before.
>
> The CAN0 used PM0/PM1 on 112 Pin chip. It will use PJ6/PJ7 on 80 Pin
> chip.
>
> I have set: MODRR = 0x03; /* Route CAN0 to PJ6,
> PJ7 */
>
> Seems not working.
>
> Tried to set other ports: DDRP |= 0x80; DDRM |= 0x83; DDRJ |= 0x83;
> but still no use.
>
> Any ideas? Thanks a lot.
>
> DISCLAIMER------------------------------------------
> This communication and any files transmitted with it contain information
> which is
> confidential and which may also be privileged. It is for the exclusive use
> of
> the intended recipient(s). If you are not the intended recipient(s),
> please
> note that any disclosure, copying, printing or use what-so-ever of this
> communication or the information contained in it is strictly prohibited.
> If you
> have received this communication in error, please notify the author or
> p...@jopasana.com and then delete the
> e-mail together with any copies of
> it. Although this communication is believed to be free of any virus(s)
> which
> might affect any computer or IT system into which they are opened, it is
> the
> responsibility of the recipient to ensure that they are virus free.
>
> [Non-text portions of this message have been removed]
>

--
Best Regards
Hong
[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 )