So, I have been playing with the BeagleBone and Starterware for some time now and today I decided to try to hook up my TFT and play around for a while. This TFT is one that I usually use with my STM32F4 board. It has an 8-Bit parallel interface as it was made to be used with an Arduino. I finally got the code written and everything hooked up and was eager to see this thing refreshing MUCH faster than it does on my STM32F4, but to my surprise, it was about 5 times slower. After researching, I found that most people who are looking for speed from the GPIO are using the PRU module. However, all examples I have seen are using Assembly. I'm 100% comfortable with using assembly, but am curious as to how this can be used with the StarterWare package. Can my StarterWare app handle the logic and pass on the data to the PRU to update the screen? If so, are there any tutorials on how to load the code into the PRU from within my StarterWare app? Do I need to flash the PRU code onto the SD card and load it from there, or is there a more accepted way to do it? I've downloaded the PRU starter pack with the tools and the examples, but this stuff is getting into an area that I am not at all familiar with. Any help or guidance provided would be MUCH appreciated.
Also, if there is a way to get more speed from the GPIO without using the PRU, I would also be interested in that as well. I would be more than happy to post a video of this thing running to show just how slow it really is. On a 320 x 240 screen, it takes about 2 seconds to do a full screen update. The same update on my STM32F4 with 168MHz (50MHz GPIO speeds) I can refresh the screen in under half a second.
Thanks in advance.