汽车网络处理S32G评估板快速入门

上次修改时间: 2020-08-17 10:28:00支持 S32G2车联网评估板

本文档内容

  • 1

    开箱即用
  • 2

    获取软件
  • 3

    连接
  • 4

    构建、运行

1. 开箱即用

1.1 评估板介绍

S32G Evaluation Board - GS Board

S32G Evaluation Board - GS Board

1.2 处理器模块介绍

Get started with S32G Evaluation Board - GS - Module

Get started with S32G Evaluation Board - GS - Module

2. 获取软件

2.1 安装Tera Term控制台

Tera Term是支持UTF-8协议的免费开源软件终端仿真器。现在TTSSH支持SSH2协议(最初版本支持SSH1)。
Tera Term目前是Tera Term Pro 2.3,是后续版本。获得了原作者的正式认可。

Download Tera Term

2.2 安装FTDI CDM WHQL驱动程序

FTDI芯片的FTDI CDM v2.12.28 WHQL串行配置驱动程序

下载FTDI CDM驱动程序

2.3 安装Win32 Disk Imager

这是一款Windows工具,用于将镜像写入USB记忆棒或SD/CF卡。

下载Win32 Disk Imager

2.4 安装Packet Sender应用

这是一个免费的实用程序,用于发送和接收网络数据包:TCP、UDP和SSL。

Download Packet Sender

3. 连接

让我们开始试用它。

3.1 安装S32G插槽和散热器

  1. S32G-PROCEVB-S:带Ironwood Electronics SG-BGA-6124插槽的S32G处理器模块
  2. M4159散热器
  3. 六角扳手
  4. Timiy真空吸笔工具
Get started with S32G Evaluation Board 3.1

观看视频,了解如何安装插槽和散热器。您还可以使用分步指南。

  1. 向左旋转内六角螺丝,松开插槽顶部。
  2. Get started with S32G Evaluation Board 3.1a
  3. 向左转动并向上提起插槽盖,取下插槽盖。将其放到一边。
  4. Get started with S32G Evaluation Board 3.1b
  5. 使用真空工具取下并从插槽中卸下压板。将其放到一边。
  6. Get started with S32G Evaluation Board 3.1c
  7. 4. 使用真空工具,取下S32G并将其放在插槽底座中。
  8. Get started with S32G Evaluation Board 3.1d
  9. 用六角扳手从插槽盖上完全卸下螺丝。
  10. Get started with S32G Evaluation Board 3.1e
  11. 使用真空工具将压板安装在S32G设备顶部。
  12. Get started with S32G Evaluation Board 3.1f
  13. 装回插槽盖并向右旋转,锁定到位。
  14. Get started with S32G Evaluation Board 3.1g
  15. 顺时针缓慢旋转散热器,直到与压板初次接触。转动1/4圈,充分接触。切勿对插槽施加过大压力。
  16. 注意事项

    切勿用力推动散热器。

    Get started with S32G Evaluation Board 3.1h

    安装完成后,应如图中所示:

    Get started with S32G Evaluation Board 3.1i

3.2 连接12V电源

当将S32G-PROCEVB-S堆叠在S32GRV-PLATEVB上时:

S32G-PROCEVB-S上的跳线J96应在位置1-2,只需要为S32GRVPLATEVB通电。

将电源连接至S32GRV-PLATEVB上的12 V电源插孔P3

独立组网(SA)使用S32G-PROCEVB-S时:

跳线J96应在位置2-3。

将电源连接至S32G-PROCEVB-S上的12 V电源插孔P1

4. 构建、运行

4.1 设置Tera Term 4控制台

  1. 打开Windows PC上的Tera Term。
  2. 选择与S32G-PROCEVB-S的微型USB连接的串行端口J58,然后点击OK。
  3. 前往Setup>Serial Port,选择115200为波特率。

4.2 为S32G-VNP-EVB通电

打开S32GRV-PLATEVB上的电源开关SW1 ,并打开S32G-PROCEVB-S上的电源开关SW10

4.3 运行诊断

诊断实用程序自动从SD卡执行。

Tera Term上的控制台显示屏显示诊断测试的状态。

SD卡镜像日志

打开S32GRV-PLATEVB上的电源开关SW1 ,并打开S32G-PROCEVB-S上的电源开关SW10

SD卡镜像日志

我们提供带有S32G-VNP-EVB和S32G-VNP-EVB镜像的即用型SD卡,帮助用户入门和记录数据

Diagnostic Test Release 201909XX
              CPU: NXP S32G
              Board: S32G274A Board
              
              MC_CGM_0 Clock Mux 0 -> XBAR_CLK (Core Clock)
              CORE_DFS_1 Clock -> MC_CGM_0 Clock Mux 0
              CORE_VCO Clock -> CORE_DFS_1 Clock
              FXOSC -> CORE_VCO Clock
              FXOSC: 40000000Hz
              CORE_VCO Clock: 2000000000Hz
              CORE_DFS Clock: 1000000000Hz
              XBAR_CLK: 500000000Hz
              
              Test#1: Setup Init - OK
              Test#2: Running LINFLEXD Test
              
              FXOSC -> PERIPH_PLL_PHI3_CLK
              FXOSC: 40000000Hz
              MC_CGM_0 Clock Mux 8 -> LIN_CLK
              LIN CLK = 80000000Hz
              LIN 0 Mode: UART
              UART 0 Mode: 8-Bit Mode
              UART 0 Baud Rate: 115273bps
              UART 0 TX_INT: Enabled
              UART 0 RX_INT: Enabled
              
                  UART 0 SIUL2 Settings: PK15, PL00
                  
                    Testing LINFLEX Rx
                    Press enter to continue
              
              Test#2: Test OK
              Test#3: Running STM Test
              
                STM CLK = XBAR_CLK
                STM Instance: 0
                STM 0 Channel: 0
                STM 0 Ticks: 3855
                STM 0 NVIC ID: 24
                STM CLK = XBAR_CLK
                STM Instance: 0
                STM 0 Channel: 1
                STM 0 Ticks: 3855
                STM 0 NVIC ID: 24
                STM CLK = XBAR_CLK
                STM Instance: 0
                STM 0 Channel: 2
                STM 0 Ticks: 3855
                STM 0 NVIC ID: 24
                STM CLK = XBAR_CLK
                STM Instance: 0
                STM 0 Channel: 3
                STM 0 Ticks: 3855
                STM 0 NVIC ID: 24
              
              Test#3: Test OK
              Test#4: Running PIT Test
              
                PIT CLK = XBAR_CLK
                PIT Instance: 0
                PIT 0 Counter: DOWN
                PIT 0 Timer: 0
                PIT 0 NVIC ID: 53
                PIT 0 Ticks: 4096
                PIT CLK = XBAR_CLK
                PIT Instance: 0
                PIT 0 Counter: DOWN
                PIT 0 Timer: 1
                PIT 0 NVIC ID: 53
                PIT 0 Ticks: 4096
                PIT CLK = XBAR_CLK
                PIT Instance: 0
                PIT 0 Counter: DOWN
                PIT 0 Timer: 2
                PIT 0 NVIC ID: 53
                PIT 0 Ticks: 4096
                PIT CLK = XBAR_CLK
                PIT Instance: 0
                PIT 0 Counter: DOWN
                PIT 0 Timer: 3
                PIT 0 NVIC ID: 53
                PIT 0 Ticks: 4096
                PIT CLK = XBAR_CLK
                PIT Instance: 0
                PIT 0 Counter: DOWN
                PIT 0 Timer: 4
                PIT 0 NVIC ID: 53
                PIT 0 Ticks: 4096
                PIT CLK = XBAR_CLK
                PIT Instance: 0
                PIT 0 Counter: DOWN
                PIT 0 Timer: 5
                PIT 0 NVIC ID: 53
                PIT 0 Ticks: 4096
                PIT CLK = XBAR_CLK
                PIT Instance: 0
                PIT 0 Counter: DOWN
                PIT 0 Timer: 6
                PIT 0 NVIC ID: 53
                PIT 0 Ticks: 4096
              
              Test#4: Test OK
              Test#5: Running SWT Test
              
                SWT CLK = XBAR_CLK
                SWT Instance: 0
                SWT 0 Counter: UP
                SWT 0 NVIC ID: 14
                SWT 0 Time Out Value: 392400
              
              Test#5: Test OK
              Test#6: Running I2C_0 Test
              
                I2C CLK source= XBAR_DIV3_CLK
                I2C CLK = 166666666Hz
                FXOSC -> CORE_VCO Clock
                FXOSC: 40000000Hz
                CORE_VCO Clock -> CORE_DFS_1 Clock
                CORE_DFS Clock: 1000000000Hz
                CORE_DFS_1 Clock -> XBAR Clock
                XBAR_CLK: 500000000Hz
                I2C 0 Mode: Controller
                I2C Target Address = 0xA0
              
              Test#6: Test OK
              Test#7: Running DSPI_5 Test
              
                PERIPH_PLL_PHI7_CLK -> DSPI CLK
                FXOSC -> PERIPH_PLL_PHI7_CLK
                FXOSC: 40000000Hz
                DSPI CLK = 1Hz
                DSPI 5 Mode: CONTROLLER
                DSPI 5 Frame Size: 7Byte
                DSPI 5 CPOL : 0
                DSPI 5 CPHA : 1
                DSPI 5 Loopback with DSPI 1
                DSPI 5 Data Length: 8 Bytes
              
              Test#7: Test OK
              Test#8: Running GMAC RX Test
              
                GMAC No of Receive Descriptors: 5
                GMAC RX NVIC ID: 59
                GMAC Buffer Max Length: 1536
                ARP Packets Received: 0
                ICMP Packets Receive: 0
                UDP Packets Received: 2
                TCP Packets Received: 0
                Unidentified IPv4 Packets Received: 0
                Unidentified Packets Received: 3
              
              Test#8: Test OK
              Test#9: Running GMAC TX Test
              
                GMAC Mode: RGMII
                GMAC RX CLK Direction: PHY to MAC
                GMAC TX CLK Direction: MAC to PHY
                GMAC Speed: 1Gbps
                PERIPH_PLL_PHI5_CLK -> GMAC TX CLK
                FXOSC -> PERIPH_PLL_PHI5_CLK
                FXOSC: 40000000Hz
                GMAC TX CLCK: 133333334Hz
                GMAC_EXT_RX_CLK -> GMAC RX CLK
                GMAC Communication Mode: Full Duplex
                GMAC DMA channel: 0
                GMAC DMA Burst Size: 16Bytes
                GMAC Source MAC: 0:4:9F:22:E:B0
                GMAC Destination MAC: FF:FF:FF:FF:FF:FF
                GMAC Source IP: 192.168.0.10
                GMAC Destination IP: 192.168.0.11
                GMAC Source Port: 2001
                GMAC Destination Port: 12345
                GMAC No of Transmit Descriptors: 50
                GMAC Packet Type: UDP
              
              Test#9: Test OK
              Test#10: Running LLCE CAN Loopback Tests
              
                FXOSC -> CAN CLK
                FXOSC: 40000000Hz
                CAN CLK = 40000000Hz
                LLCE_CAN_2 Loopback with LLCE_CAN_3
                LLCE_CAN 2&3 ID Type: Standard
                LLCE_CAN 2&3 Data Size: 32 Bytes
                
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
                  Running LLCE CAN 2 & 3 Test: Test OK
              
              Test#11: Running LLCE LIN loopback Tests
              
                FXOSC -> PERIPH_PLL_PHI3_CLK
                FXOSC: 40000000Hz
                MC_CGM_0 Clock Mux 8 -> LIN_BAUD_CLK
                LLCE_LIN_BAUD_CLK = 83333334Hz
                LLCE_LIN_0 connected with MPC5748G DEVKIT LIN_0
                ID : 0x1
                Data Size: 8 Bytes
                LLCE_LIN_1 connected with MPC5748G DEVKIT LIN_0
                ID : 0x1
                Data Size: 8 Bytes
                LLCE_LIN_2 connected with MPC5748G DEVKIT LIN_0
                ID : 0x1
                Data Size: 8 Bytes
                LLCE_LIN_3 connected with MPC5748G DEVKIT LIN_0
                ID : 0x1
              
                  Data Size: 8 Bytes
                  
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
                    Running LLCE LIN 0 Test
                    LLCE LIN 0 message transmitted, Check the received data on follower
                    Running LLCE LIN 1 Test
                    LLCE LIN 1 message transmitted, Check the received data on follower
                    Running LLCE LIN 2 Test
                    LLCE LIN 2 message transmitted, Check the follower for received data
                    Running LLCE LIN 3 Test
                    LLCE LIN 3 message transmitted, Check the received data on follower
              All tests complete, Core in While(1)

支持

论坛

在恩智浦专用社区网站上,可与其他工程师交流,获取专家建议,了解如何使用恩智浦GoldBox进行产品设计。