Jump to content

Julian85

Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Just a recent experience. Powered a Orange pi zero at 4V by mistake (should have been 5V but shit happens) , totally ruined the installation, i had to install everything again. must find a way to clone everything on the card
  2. My only confort is that they are all the same resolution and same maker. Overall looks like Frankenstein.
  3. What's your choice and why, tips and tricks. I'm using Geany , simple but it does have some problem with multiple files. I also downloaded code blocks but could not set the flags right (-lwiringPi) and left it for now as it is. To lazy to investigate
  4. This is mine, not to proud but for now it does the job.
  5. I tested the SPI speeds today, up to 8MHz on the logic analyzer and from 8 to 32MHz with 74HC595, data came out right but without a scope or a logic analyzer that can go beyond 32 MHz I can't confirm that. That means you can push 4MBps which is enough for LCD's up to 800x480 at a low fps or 480x320 at a decent fps.
  6. I have dealt with LCD 's up to 800x480 px but with paralel interface and using MCU. After solving this SPI issue i was thinking of giving a try to use the SPI to push data out for the LCD that I already have. I'm not sure yet how to aproach this since i have more experience with MCU rather than SbC and linux. But that is why i am here, to make this transition to SbC. Thanks for the advice, i'l be keeping an eye on your thread.
  7. I did not checked if that was the case but since this library was made originally for raspberry pi and the person who modified the lib for OPZ forgot to change the file path to the proper driver. I do think these boards deserve more support but i'm kinda new to linux.
  8. So , besides the fact that i'm blind as a bat , the problem was a file path in the SPI library. To be able to use the SPI lib for OrangePi Zero you need to go to the source file of the library and change the path name from const static char *spiDev1 = "/dev/spidev0.1"; to const static char *spiDev1 = "/dev/spidev1.0"; that is it it worked for me and i can use the SPI lib. L.E. I checked the github , it was fixed, but if by any chance you download other versions check this issue.
  9. So far I have found out (and tested) that the SPI0 which is tied to the Flash memory on the back (OPI Zero with 512MB ) works, however for some reason channel 1 is still blocked, and it is the only one accessible from the I/O pins.
  10. Hi, Has anyone succeeded into making the SPI lib working for OPI Zero, i'm having dificulties in using the SPI module, the gpio load spi command does not work either. Thanks.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines