So recently I've been testing the official 7" touchscreen and everything went ok. But after adding the last update of the bcm2835 library to use the SPI port in order to use the MF-RC522 board, the touch interface stopped working.

So, what could this be due to? I need to use both of them at the same time.

Thanks in advance.

NOTE: I'm using a Raspberry Pi 2 Model B

  • I think what you mean is you can't figure out how to use both of them at the same time, not that installing libbcm2835 caused the screen to stop working.
    – goldilocks
    Apr 25 '16 at 13:51
  • That could be the problem, yes. How can I manage to use both of them at the same time?
    – user1903
    Apr 25 '16 at 15:10
  • Have a look at this but I suspect the touchscreen driver hogs the bus so you are out of luck. I could be wrong.
    – goldilocks
    Apr 25 '16 at 15:15
  • But if the touchscreen hogs the SPI bus it will still be working. It should be the RC522 board the one which wouldn't work, don't you think? Is there any way I could check the SPI bus traffic?
    – user1903
    Apr 25 '16 at 15:25
  • I don't know, I don't use the SPI bus, but it sounds like you are homing in further on what your real question is. My first comment was simply to point out that if simply installing libbcm2835 has disabled the touchscreen even when the other board is not in use or attached, you've made some other mistake/done some additional thing at some point. Installing the library could not, all by itself, disable the SPI bus, etc.
    – goldilocks
    Apr 25 '16 at 15:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.