Yes, I know I should not use GPIO9 and GPIO10 in ESP-PICO-V3-02.
The problem is I have a batch of new boards that the manufacturer thought the V3-02 is equal the V3 and solder it on ALL boards.
Is it posible to deactivate the PSRAM so I can use both pins like it was on the V3?
I know It will probably mess with the PSRAM in a way that it might mess with the FLASH too.
Any suggestion?
Thanks,
Sergio.
Is it possible to deactivade PSRAM on ESP-PICO-V3-02 ?
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: Is it possible to deactivade PSRAM on ESP-PICO-V3-02 ?
Kinda, with care? Those pins are used for the CS and CLK of the internal PSRAM. If you make CS low and pulse CLK, it'll sample any values that happen to be on the data pin (which is shared with flash, so you can control it) and interpret that as a command. That command can make the PSRAM output data, and that will clash with whatever the flash outputs, leading to issues. I think that if you can guarantee a situation where the CS line (GPIO9) never is low for more than 7 rising edges of CLK (GPIO10), the PSRAM will never get a full command and as such will never clash with flash. Obviously, you won't be able to use the PSRAM as memory in this situation.
Re: Is it possible to deactivade PSRAM on ESP-PICO-V3-02 ?
Thanks for the answer, but I still have a question:
The easy part would be if I needed the pin as inputs, so I suppose I should only take care about situation you explained.
But if one of then would be an output, that will make things difficult, because I suppose the internal program of the ESP-PICO-V2-02 will eventually output other values in those pins that could mess with my need.
Unless there is a clear way to DISABLE PSRAM (I don't know how) so the ESP wouldn't care for those PINs and I would only have to care about the GPIO9 never low for more than 7 riding edges of GPIO10, as you said.
Any thoughts about that?
The easy part would be if I needed the pin as inputs, so I suppose I should only take care about situation you explained.
But if one of then would be an output, that will make things difficult, because I suppose the internal program of the ESP-PICO-V2-02 will eventually output other values in those pins that could mess with my need.
Unless there is a clear way to DISABLE PSRAM (I don't know how) so the ESP wouldn't care for those PINs and I would only have to care about the GPIO9 never low for more than 7 riding edges of GPIO10, as you said.
Any thoughts about that?
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: Is it possible to deactivade PSRAM on ESP-PICO-V3-02 ?
I'd see it the other way around: if the pins are output the ESP32 can control what is on them and make sure it never activates the PSRAM.
Who is online
Users browsing this forum: Bing [Bot], forrest and 84 guests