'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.
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?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sun 2021.09.19
reply to post #14
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.
Adding a scope probe or a logic analyzer probe may result in unwanted expectations.
(see unrelated use at:)
From this post some non-original boards have inverted pins and non-assigned pin designations.
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?