Interconnect 2 UAVCAN board nodes with a single JST-GH cable between both board's CAN2 plugs, and the connectors with the 120 ohm terminal.
- Open S32 Design Sudio.
- Click File -> Import
- Under the Git tab, select "Projects from Git" and next.
- Click "Clone URL" and next.
- Paste the URL of this repository and click next. https://github.com/noxuz/libuavcan_demo
- Click the master branch and next.
- Click "Browse" for the desired destination directory of the project and click next.
- Choose "Import existing Eclipse projects" and click next and then "Finish".
- Click the down arrow at the right of the Hammer Icon in the toolbar and select a desired build for NODE_A or NODE_B.
- Click the yellow ligthning shaped icon in the toolbar for flashing the project into the board.
- In the list loacted at the left of the popped windowd and choose the same of profile previosuly built "libuavcanV1_demo_Debug NODE_A" for example and click flash with the board connected to the Jlink debugger and to 5V power.
- Repeat steps 9-11 for the other board but with the desired build configuration NODE_A or NODE_B swapped.
- A green led close to the 5V headers should blink approx each second, read description in top of src/main.cpp, if the green LED from both boards is still, try pressing the reset button in the board that got the NODE_A program flashed into, which is the one that starts the transmission.
- With an oscilloscope view the frames being transmited at 4Mbit/s data phase and 1Mbit/s in nominal phase.