SimonBoonstra
Member
Hi
I have two teensy4.1 devices, where 1 acts as sender and the other as receiver.
They are connected together with a SP3485 IC.
Both are using Hardware Serial Port 4 to communicate.
The communication works as long as I don't have the tft display activated.
I don't even have to display something on the tft. It is already enough in the setup() function to have this line: "uint16_t ID = tft.readID();"
As soon as I activate this line, I receive only 1 round of data and then the communication stops.
When I comment out the line then the communication flow works again.
In the lib_deps I have two libraries
In the lib folder I have this Library:
https://github.com/prenticedavid/MCUFRIEND_kbv
I have made a slight modification in the lib on mcufriend_shield.h (subfolder = utility).
This was necessary to adopt it to my own PCB design.
I pusblished my project on GitLab in this group: https://gitlab.com/solarpanel1
The current error is in the blue SolarTracer_Gartenhaus (receiver) program.
Branch = dev or main. They have both the same content.
The sender program is the green SolarTracer_SolarPanel
The receiver program is the blue SolarTracer_Gartenhaus
Also the schematics for sender and receiver are on GitLab.
It would be nice when someone could help me to identify the problem with the communication, as I don't see why the communication stops working when the tft is activated.
Best regards
Simon
I have two teensy4.1 devices, where 1 acts as sender and the other as receiver.
They are connected together with a SP3485 IC.
Both are using Hardware Serial Port 4 to communicate.
The communication works as long as I don't have the tft display activated.
I don't even have to display something on the tft. It is already enough in the setup() function to have this line: "uint16_t ID = tft.readID();"
As soon as I activate this line, I receive only 1 round of data and then the communication stops.
When I comment out the line then the communication flow works again.
In the lib_deps I have two libraries
Code:
lib_deps =
adafruit/Adafruit BusIO @ ^1.8.3
adafruit/Adafruit GFX Library @ ^1.10.10
In the lib folder I have this Library:
https://github.com/prenticedavid/MCUFRIEND_kbv
I have made a slight modification in the lib on mcufriend_shield.h (subfolder = utility).
This was necessary to adopt it to my own PCB design.
I pusblished my project on GitLab in this group: https://gitlab.com/solarpanel1
The current error is in the blue SolarTracer_Gartenhaus (receiver) program.
Branch = dev or main. They have both the same content.
The sender program is the green SolarTracer_SolarPanel
The receiver program is the blue SolarTracer_Gartenhaus
Also the schematics for sender and receiver are on GitLab.
It would be nice when someone could help me to identify the problem with the communication, as I don't see why the communication stops working when the tft is activated.
Best regards
Simon