MA55xx library incompatible with AdafruitST5537 library??

Status
Not open for further replies.

igor p

Active member
Hi, Using both Adafruit 1.8 TFT and MS5535 sensor sharing same SPI on Teensy 3.1 I have lot of problems. I nailed them down to not being able to read data from sensor. Library MS55xx posted in another thread manipulates its CS manualy. If I use it with AdafruitST7735 library on same Teensy 3.1 I have problems. Untill I do not initialize
Code:
tft.initR(INITR_BLACKTAB);
sensor is read normaly. As soon as tft is initialized I can not reach the sensor any more. I think it is a CS problem - seems AdafruitST7735 limits in some way manual maniputaltion of sensors CS.
As sensor does not have its port for CS I added tristate buffer for the purpose as there must be and it works ok until I initialize the tft.

Is anyone able to help?
 

Attachments

  • MS55xx_underwater_test.zip
    6.2 KB · Views: 69
Ok, got a reply from Paul in other thread and am working on solving the problem.
If not coming back with questions.... If anyone has other suggestions beside adding SPI.beginTransaction() and SPI.endTransaction() to both libraryes, please post.

Regards and tanks

Igor P
 
Status
Not open for further replies.
Back
Top