Good Day
I have a tennsy 4,1 and an esp32, I need to pass data along between them, mainly teensy to esp 32, but esp32 to teesny as well. I need to send about 500 bytes of Data between the Teensy and ESP, mainly sensor values that the ESP will then translate into Json and transmit to a server.
I have tried Serial Communication on URT2 on the teensy, I do get response on the ESP so no wire crossed, sometimes i get the full package and sometimes just a []. The baud rates are the same.
i have tired, rates of 9600 to 115200 same type of errors, IF and while (serial available()) methods as well as well as various delays. I have tired the PowerBroker2/SerialTransfer Lib, but i keep getting CRC_ERRORS,
is there any suggestions on another way i can pass clumps of data between these boards. I have tired Structs, Char[] all with similar issues. The big thing is it must be bidirectional, as the esp will receive some data from from the server it must pass to the teensy.
I really am stuck.
I have a tennsy 4,1 and an esp32, I need to pass data along between them, mainly teensy to esp 32, but esp32 to teesny as well. I need to send about 500 bytes of Data between the Teensy and ESP, mainly sensor values that the ESP will then translate into Json and transmit to a server.
I have tried Serial Communication on URT2 on the teensy, I do get response on the ESP so no wire crossed, sometimes i get the full package and sometimes just a []. The baud rates are the same.
i have tired, rates of 9600 to 115200 same type of errors, IF and while (serial available()) methods as well as well as various delays. I have tired the PowerBroker2/SerialTransfer Lib, but i keep getting CRC_ERRORS,
is there any suggestions on another way i can pass clumps of data between these boards. I have tired Structs, Char[] all with similar issues. The big thing is it must be bidirectional, as the esp will receive some data from from the server it must pass to the teensy.
I really am stuck.