Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
network_protocol_programming_lab:4_prepareppl [2022/04/14 15:28] – fangenoorth | network_protocol_programming_lab:4_prepareppl [2022/04/18 17:40] (current) – fangenoorth | ||
---|---|---|---|
Line 27: | Line 27: | ||
The PRU controls the SPI bus and offers a software user space interface for reading and writing to and from the SPI bus. | The PRU controls the SPI bus and offers a software user space interface for reading and writing to and from the SPI bus. | ||
- | === Install PRU devtools === | + | ==== Install PRU devtools |
In order to build and use the SPI library we need access to the development tools for the PRU. Since these aren't available anymore in the repositories, | In order to build and use the SPI library we need access to the development tools for the PRU. Since these aren't available anymore in the repositories, | ||
Line 53: | Line 53: | ||
Now we should have access to the PRU assembler //pasm// as well as the prussdrv library. | Now we should have access to the PRU assembler //pasm// as well as the prussdrv library. | ||
- | === Build and install the SPI library === | + | ==== Build and install the SPI library |
To generate the SPI library go to the //spi// directory of the Beaglebone archive. | To generate the SPI library go to the //spi// directory of the Beaglebone archive. | ||
Line 80: | Line 80: | ||
- | === Test Setup === | + | ==== Test Setup ==== |
To test, if everything is working fine, go to the directory | To test, if everything is working fine, go to the directory |