![Freescale Semiconductor MPC5604B Скачать руководство пользователя страница 124](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5604b/mpc5604b_quick-start-manual_2330604124.webp)
9.
CAN Transceiver(MCZ33905S5EK) Configuration
The starter kit TRK-MPC5604B is equipped with a SBC (System Basis Chip) which also fulfils the
role of a CAN transceiver for FlexCAN1 (or FlexCAN4, they both have the same pins). For this
transceiver to work, this chip has to be powered up and put in debug mode for configuration.
And then it has to be configured using SPI commands.
For powering this chip up, an external power source is necessary, therefore a power supply from
9V to 12V should be used. Be aware that using an external power supply can be problematic for
programming MPC5604B using USB, so, we suggests powering up the board from USB and
letting the external power supply only work on the SBC.
For putting SBC to the debug mode, a voltage over 8V must be applied to the DGB (TP1) pin. This
can be done by removing the jumper on J4 and putting a jumper on J5.
Once all these steps are completed, SBC can be configured using MPC5604B, the DSPI1 modules
PORT H pins are connected to the SBC, so all that is needed is to configure DSPI1 to work on
PORT H and send the following commands with over 1ms of delay between them to allow
transient operations to be completed:
-
0xDF80 : Read Vreg register H, clear power on flags,
-
0x5A00: Go into ‘Normal Mode’,
-
0x5E90: configure voltage regulator,
-
0x60C0: activate CAN transceiver for TX/RX.
Here’s an example code initializing the SPI and the SBC chip’s CAN transceiver:
Содержание MPC5604B
Страница 1: ...LAAS CNRS Quick Start to MPC5604B Embedded Development Sahin Serdar 21 06 2013...
Страница 31: ...Figure 33 INTC SW HW mode comparison Freescale Tutorial...
Страница 87: ......
Страница 132: ......
Страница 133: ...127 Appendix 2 Pad Configurations...
Страница 134: ......
Страница 135: ......
Страница 136: ......
Страница 137: ......
Страница 138: ......
Страница 139: ......
Страница 140: ......
Страница 141: ...Appendix 3 Peripheral input pin selection...
Страница 142: ......
Страница 143: ...137 Appendix 4 Interrupt Vector Table...
Страница 144: ......
Страница 145: ......
Страница 146: ......
Страница 147: ......
Страница 148: ...Appendix 5 I C Baud Rate Prescaler Values...
Страница 149: ......
Страница 150: ......