DrRandom
DrRandom
Thank you, i will try this!
Wow @SuGlider i got a bunch of warning messages ( like really much ) and then a linker fail ```C c:/users/pc/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: final link failed: No such file or directory collect2.exe:...
Okay, deleted cache, packages and platform folder from .platformio inside users. The sketch compiled, i did upload it to my esp32 but the problem presist. Serial.flush() does not wait for...
Yeah, its 4.1.0 
This is really interesting. Is there something wrong with my code? I configured Serial2 now instead of the Serial1 and commented out the microsec delay and i rarely got frame...
```C void mBusSetup(){ pinSetup(); Serial2.begin(MBUS_BAUD,SERIAL_8N1,MBUS_RX,MBUS_TX); } void mSystem::pinSetup(){ pinMode(MBUS_TX_EN, OUTPUT); digitalWrite(MBUS_TX_EN, LOW); } void mSystem::startWrite(){ digitalWrite(MBUS_TX_EN, HIGH); } void mSystem::endWrite(){ Serial2.flush(); //delayMicroseconds(400); digitalWrite(MBUS_TX_EN, LOW); } void mSystem::rawWrite(uint8_t * data, int...
Can it be high baud rate problem? ( 115200 ) Or can it be that other tasks interfere, and the pin is not going to low in time?
```C void mSystem::startWrite(){ digitalWrite(MBUS_TX_EN, HIGH); } void mSystem::endWrite(){ Serial1.flush(); digitalWrite(MBUS_TX_EN, LOW); } void mSystem::rawWrite(uint8_t * data, int length){ int crc16 = getCRC_16(data, length); startWrite(); Serial1.write( data, length ); Serial1.write( lowByte(crc16)...
Thank you for your response. I did update my environmnet. Currently using espressif 4.2.0 and PlatformIO 5.2.5. This results in a strange boot loop when using default_16MB.csv with `esp-wrover-kit` board....
Boot loop problem solved. Upgraded to latest framework, issue still presist. Frame timeouts are inconsistent. Can not lower the baudrate because the modules that i communicate with are tied to...