-
The title says it all. I have seen some conflicting info on whether or not the various I2S->DAC routines for generating composite video will work on different ESP32 modules. Some clarity here would be helpful! Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Hi Jim.
I am not sure if this library will work with the S2 that has the DAC. I have only confirmed that it works with ESP32-PICO-D4(M5Stack ATOM Lite). I believe it will probably work with other ESP32 that have DAC. I am working on another project and cannot confirm that composite video will work with S2. |
Beta Was this translation helpful? Give feedback.
-
The ESP32-PICO-D4 was discontinued by Espressif, replaced by the ESP32-S2. I am not sure what would need to be changed in the existing composite video generating programs to try the code with the S2. Is the DAC and I2S setup the same, with just a different GPIO used? I know that DAC1 and DAC2 are pins 17 and 18 on the S2. Is it just a matter of changing the normal pin 25 to 17? |
Beta Was this translation helpful? Give feedback.
-
Hi. Jim. I understand your story. This is believed to be the area to be repaired. If the I2S driver of the S2 device has not been specifically modified, I think I can output the CVBS signal with this modification. However, if the I2S driver of the S2 device has been modified, I may need to modify another part of this CVBS library. (Perhaps no renovation is needed. I am not sure.) I thought you could take up the challenge if you like. How about it? (^^ Either way, I'm up for the challenge. p(^^ |
Beta Was this translation helpful? Give feedback.
-
Hi. @JimDrewGH I did a lot of thinking and research. And I came up with one idea in the bath. It might be a good idea because it is an idea after running. If I can confirm that Panel_CVBS of M5GFX works with ESP32-S3 + external DAC, wouldn't that be good? After a lot of research, S2 seems to be a wacky device. It is single core and has only 320K RAM. Availability of the S2 is very poor in my country, and the S2 seems to be a device that is not allowed in the country due to regulations regarding radio waves. With this story in mind, I came up with the idea in the bath to see if I could generate a CVBS signal by connecting an external DAC to the ESP32-S3, which is relatively easy to obtain but does not have a DAC. What do you think? |
Beta Was this translation helpful? Give feedback.
-
I don't know anything about how the ESP32 series works internally. I come from the Microchip PIC world, which I know inside and out. I was hoping that the S2 could be used for this. Even though the RAM is smaller, it is fully contiguous which has been a problem for the standard ESP32 with its fragmented memory blocks making it difficult to have large buffers without a lot of work having to stitch them together. |
Beta Was this translation helpful? Give feedback.
Hi Jim.
I am not sure if this library will work with the S2 that has the DAC.
I have only confirmed that it works with ESP32-PICO-D4(M5Stack ATOM Lite). I believe it will probably work with other ESP32 that have DAC.
I am working on another project and cannot confirm that composite video will work with S2.
Could you please check if this library works with S2 and contribute to the community by committing it to this repository? I would appreciate it if you could report back to this repository.