Double checked the devdescs and there was a part that was causing the issue but its all fixed now. Thanks for replying in a timely manner really appreciate it.
Yes I am sure I did a spi loop test and the clock works. When testing codesys it doesn't make the cs go low at all which is the problem as it is a low trigger.
Hello I have installed multiple devices to the device repository however when I try to add the device to the project tree they do not appear even if I click on display all versions and display outdated versions. Any help would be greatly appreciated.
Hello I haven't gotten a response in a while so I wanted to clarify. The project https://forge.codesys.com/drv/spi-temperature/home/Home/ has exactly what I want. However when trying to use it for the Beaglebone Black it doesn't work. What modifications have to be made for it to be compatible any help would be greatly appreciated.
I now have the Raspberry Pi example projects. Its said in raspberrypi_en.pdf "For the communication use the standard methods of the base FBs i2c (read8, write8, etc.) or spi (transfer)", doesn't this mean that I should be using transfer instead of read8 and write8 or is it because its a FB that read8 and write8 work.
When I used the generic SPI master device description I was unable to add the SPI Temperature device to it even though it is in the device repository. I couldn't find a solution on the forge for this. For the original post in the device tree I get a symbol indicating (The device is not exchanging data; bus error, no configuration, or simulation mod). I am not sure what I've done wrong and included what happens when I run the project and the parameters I've set. I've included the /dev folder of the...
Even if it's for the BBB. Does the BBB use the Raspberry PI package?
I've added the SPIMaster.devdesc.xml file (C/Users/XXX/CODESYS Control for Beaglebone SL/ 4.1.0.0/Devices) to the device repository however it does not come up when I add device from Device (CODESYS Control for Beaglebone SL). This file references a library called Beaglebone Black Peripherals, and has interfaces called BBB.SPIMaster and BBB.SPI. How do I modify the SPI_Template library to link to the Beaglebone Black Peripherals instead of the Raspberry Pi Peripherals. Any help would be greatly appreciated....