
-*- GPIO Support --->
[*] /sys/class/gpio/... (sysfs interface)
Memory mapped GPIO drivers --->
[*] MPC512x/MPC8xxx/QorIQ GPIO support
The above operation can be replaced by executing the command:
make nxp_ls1028ardbXXXX_defconfig
.
NOTE
3. Use the
make
command to create the images.
15.5 Testing the BEE click board
The test application
bee_demo
is created by using the BEE Click Board library. This application can transfer the file between two
BEE Click Boards.
1. You need to create a file in any path. For example,
./samples/test.txt
.
2. First, start a server node by running the command below:
bee_demo -s -f=XXX
The command parameters are as below:
• -s: This device node acts as a server.
• -f=XXX: This parameter is valid only on the server node. XXX is the file path (relative or absolute) to be transferred.
root@OpenIL-Ubuntu-LS1028ARDB:~# ls
samples
root@OpenIL-Ubuntu-LS1028ARDB:~# bee_demo -s -f=./samples/test.txt
spi mode: 0x0
bits per word: 8
max speed: 500000 Hz (500 KHz)
BEE Click Board Demo.
This node is a server node.
Waiting for a client
Reading the content of the file
3. Start a client node on another LS1028ARDB by running the command
bee_demo -c
. In the above command, the parameter
-c implies that this device node acts as a client. After receiving the file, the client node automatically exits. The received
file is saved in the current path.
root@OpenIL-Ubuntu-LS1028ARDB:~# ls
samples
root@OpenIL-Ubuntu-LS1028ARDB:~# bee_demo -c
spi mode: 0x0
bits per word: 8
max speed: 500000 Hz (500 KHz)
BEE Click Board Demo.
This node is a client node.
Starting to get a file
Send the SEQ_REQ command.
Send the SEQ_START command.
Send the SEQ_START command.
root@OpenIL-Ubuntu-LS1028ARDB:~# ls
samples test.txt
root@OpenIL-Ubuntu-LS1028ARDB:~#
NXP Semiconductors
BEE Click Board
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
183 / 199