I am running Device OS 1.4.4 on E-Series LTE.
What I am tring to do
I am trying to utilize five different serial communication ports utilizing ParticleSoftSerial by @ScruffR for one of the serial ports and hardware serial for the other four.
Using just hardware serial, everything is working fine as I took the necessary approaches getting Serial2 to work. I moved the LED (blue, green) to pins C4 and C5 using timer 4 and removed the resisters to the proper locations.
Trying to get ParticleSoftSerial serial port working alongside the four hardware serials have been giving me some trouble. First I connected software serial to pins D2 and D3 which I found is using the same timer which may lead to why it doesn’t work properly. I then moved the pins to B3 and B2 which uses timer 3 expecting a different outcome, but I am getting the same problem.
When having the LED pin on (C4, C5) and using software serial on either (B3, B2) or (D2, D3), the led will blink red during each serial transmission and then after a random amount of time, between the first message to about 10 minutes (transmission occurs once a second), the software serial will stop working and the electron will crash and eventually restarts itself. If I move the LED pins back to its original location on Serial2, everything works fine.
I am at a lost on why this is happening?