Skip to content

Connection opens without errors, but I can't neither read or write #117

Open
@FabioFusimoto

Description

@FabioFusimoto

Setup

  • Version: 1.4.3
  • OS: Windows 10
  • Platform: Desktop | Attempting to connect to an ESP32 Dev Module

Expected Behavior

It should be possible to both send and receive messages through the serial port after the connection is opened.

Actual Behavior

Calling Circuits.UART.write has no effect, despite it not rendering an error and Circuits.UART.read always results in a timeout

Steps to Reproduce the Problem

I'm using Circuits UART on a personal project.

The ESP32 board is recognized properly by the enumerate function, which I use in order to decide which port to use. After opening the serial connection (which BTW returns :ok as expected), I try to call either write or read and have no success whatsoever while trying to communicate with and ESP32 Dev Kit running at 921600 bps baud rate.

The serial communication works properly if I run my project under Pop_OS! instead of Windows 10. Prior to using and ESP32, I was using an Arduino Uno board; which worked flawlessly on both Linux and Windows.

I've already tried to recompile the depencies by running mix clean, mix compile and mix deps.compile but the result remains the same.

Any idea on what I could try next?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions