![Phytec L-1017e.A3 i.MX 8M Plus Manual Download Page 63](http://html1.mh-extra.com/html/phytec/l-1017e-a3-i-mx-8m-plus/l-1017e-a3-i-mx-8m-plus_manual_1554092063.webp)
L-1017e.A3 i.MX 8M Plus BSP Manual
•
•
target$ candump can0
To generate random CAN traffic for testing purposes, use
cangen
:
target$ cangen
cansend --help
and
candump --help
provide help messages for further information on options and usage.
Device Tree CAN configuration of imx8mp-phyboard-pollux.dtsi:
https://git.phytec.de/linux-imx/tree/arch/arm64/
boot/dts/freescale/imx8mp-phyboard-pollux.dtsi?h=v5.10.72_2.2.0-phy9#n173
PCIe
The phyCORE-i.MX 8M Plus has one plus-PCIe slot. In general, PCIe autodetects new devices on the bus. After
connecting the device and booting up the system, you can use the command
lspci
to see all PCIe devices
recognized.
Type:
target$ lspci -v
You will receive:
00
:
00.0
PCI bridge: Synopsys, Inc. Device abcd (rev
01
) (prog-
if
00
[Normal decode])
Flags: bus master, fast devsel, latency
0
, IRQ
218
Memory at
18000000
(
64
-bit, non-prefetchable) [size=1M]
Bus: primary=
00
, secondary=
01
, subordinate=ff, sec-latency=
0
I/O behind bridge: None
Memory behind bridge:
18100000
-181fffff [size=1M]
Prefetchable memory behind bridge: None
[virtual] Expansion ROM at
18200000
[disabled] [size=64K]
Capabilities: [
40
] Power Management version
3
Capabilities: [
50
] MSI: Count=
1
/
1
M 64bit+
Capabilities: [
70
] Express Root Port (Slot-), MSI
00
Capabilities: [
100
] Advanced Error Reporting
Capabilities: [
148
] L1 PM Substates
Kernel driver in use: dwc3-haps
01
:
00.0
Network controller: Intel Corporation WiFi Link
5100
Subsystem: Intel Corporation WiFi Link
5100
AGN
Flags: fast devsel
Memory at
18100000
(
64
-bit, non-prefetchable) [disabled] [size=8K]
Capabilities: [c8] Power Management version
3
Capabilities: [d0] MSI: Enable- Count=
1
/
1
Maskable- 64bit+
Warning
The mcp2518fd SPI to CANfd supports only baudrates starting from 125kB/s. Slower rates can be selected
but may not work correctly.