You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • Sun 2021.09.19

    reply to post #14

    'simply by connecting the Arduino Nano to the ESP32. I did it and it works.'

    'But I want to implement everything on esp32'


    Reviewing the images from post #30, #32 and #32 it is difficult to observe the initial state of the pulse train. It also isn't possbile to determine the squareness of the leading pulse edges.

    For what it's worth, after hours of struggle with SPI, I2C and UARTS, I discovered a floating CS Chip Select pin that rounded out the leading edge, so the receiving device never started the data receive.

    http://forum.espruino.com/comments/14687­689/

    Adding a scope probe or a logic analyzer probe may result in unwanted expectations.
    (see unrelated use at:)

    https://hackaday.com/2017/01/20/cheating­-at-5v-ws2812-control-to-use-a-3-3v-data­-line/


    From this post some non-original boards have inverted pins and non-assigned pin designations.

    http://forum.espruino.com/conversations/­338814/#comment14912700



    From the microcontroller summary above in post #36 we have a move from the Microchip ATmega328 to the Espressif ESP32 running source streamlined originally for the STMicroelectronics STM32. The internal die would be different for each chip manufacturer and therefore the electrical characteristics will be different.



    As a logic analyzer tends to square up the pulse, is it possible that there is a rounding of the leading pulse edge or even an inversion of the pulse train along with a chip select that isn't behaving as it should?

About

Avatar for Robin @Robin started