Skip to content

Cannot configure latest espsoftwareserial to work with V9261F device  #224

@Demonic098

Description

@Demonic098

Older commit (git checkout f4f8fcf ) works without problem with V9261F device
older working serial init:

#define V9261F_BAUDRATE                 4800 
SoftwareSerial * _serial = NULL;
 . . .
 . . . 
  _serial = new SoftwareSerial(4, SW_SERIAL_UNUSED_PIN, true, 256);
  _serial->begin(V9261F_BAUDRATE);

But newer version doesn't work no matter how to configure :

            _serial = new SoftwareSerial(4, -1, true);
            _serial->enableIntTx(false);
            _serial->begin(V9261F_BAUDRATE, SWSERIAL_8O1);

I also tried 8O2, 8N1, 8N2, 8E1, 8E2
but according to V9261F manual

 -  A 11-bit byte, composed of 1-bit Start bit, 8-bit Data bits, 1-bit Parity bit (Odd), and 1-bit Stop bit
 -  Least significant bit (lsb) shifted in or out firstly when the chip receives or transmits a byte

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions