Assuming you have successfully connected via the UART and are seeing the PX4/NuttX nsh> prompt, you can try a few things using PX4/NuttX
This will show you basic help as well as list the Builtin Apps.
Try running some of the builtin apps: (Lines beginning with # below are just comments)
As you can see there are also a number of other builtin apps ready to test servo's, I2C devices, SPI devices, and even a GPS when attached.
If you followed the instructions on the previous page to enable CAN utilities in PX4, then follow the steps below to test CAN communication between the boards.
Connect two UCANS32K146 boards with the included CAN cable (yellow and white twisted pair with red and black power lines)
Connect a termination resistor to each board on the same bus
Boot up each board and connect to them using the included debuggers
Run the following commands to communicate between boards over the CAN bus:
Once you run the cansend
command on the sending board, you should see some output on the receiving board indicating that it received a message with arbitration ID 0x123
and data 0xDEADBEEF
.
If this was successful, you have now successfully demonstrated CAN bus communication on UCANS32K146 running PX4.