After ESP-IDF 1.0...

ESP_Sprite
Posts: 397
Joined: Thu Nov 26, 2015 4:08 am

Re: After ESP-IDF 1.0...

Postby ESP_Sprite » Thu Dec 08, 2016 4:14 am

dotthree wrote:Great work getting 1.0 out. I'll keep patiently waiting on I2S but I was hoping to hear a little news as far as external SRAM.



At the moment, it's possible to use external SRAM as a normal SPI device. We have code ready to use it as normal, internal RAM as well, but the current versions of the chip have a bug in it which introduces unpredictable errors in the data. We'll release this as soon as the chip revision that fixes this bug is on the market.

Ritesh
Posts: 174
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: After ESP-IDF 1.0...

Postby Ritesh » Thu Dec 08, 2016 4:59 am

ESP_Sprite wrote:
dotthree wrote:Great work getting 1.0 out. I'll keep patiently waiting on I2S but I was hoping to hear a little news as far as external SRAM.



At the moment, it's possible to use external SRAM as a normal SPI device. We have code ready to use it as normal, internal RAM as well, but the current versions of the chip have a bug in it which introduces unpredictable errors in the data. We'll release this as soon as the chip revision that fixes this bug is on the market.


Hi,

Can you please explain what is issue in current ESP32 chip as you have told that you are going to release new ESP32 chip? Because, we have already started our product development as per current ESP32 chip which is available into market.

So, Please let us know if Espressif are going to release any new version of ESP32 chip so that I need to plan if there is major issue in current chip which breaks any functionality.
Regards,
Ritesh Prajapati

ESP_igrr
Posts: 248
Joined: Tue Dec 01, 2015 8:37 am

Re: After ESP-IDF 1.0...

Postby ESP_igrr » Thu Dec 08, 2016 5:52 am

Ritesh, there is a document which explains silicon bugs present in the first revision of the chip: http://espressif.com/sites/default/file ... p32_en.pdf

Adding to what ESP_Sprite said about using external SRAM in the current revision:
It is possible to use external SRAM with the first revision and map it into data address space, but care should be taken to access data stored therein in a very control fashion. Reads and writes should not be interleaved. Memory bars should be placed between reads and writes. Care should be taken not to disrupt read or write patterns due to control flow or interrupts. In general, this can be achieved for some applications such as audio or imaging, where access patterns to data are very predictable (you can know exactly when you are going to read or write something). Placing general purpose heap memory into the external SRAM should not be done in the first silicon revision.

Edit: new silicon revision should become available in February. Allow some time for the new revision to make its way into the supply chain.

Ritesh
Posts: 174
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: After ESP-IDF 1.0...

Postby Ritesh » Thu Dec 08, 2016 6:59 am

ESP_igrr wrote:Ritesh, there is a document which explains silicon bugs present in the first revision of the chip: http://espressif.com/sites/default/file ... p32_en.pdf

Adding to what ESP_Sprite said about using external SRAM in the current revision:
It is possible to use external SRAM with the first revision and map it into data address space, but care should be taken to access data stored therein in a very control fashion. Reads and writes should not be interleaved. Memory bars should be placed between reads and writes. Care should be taken not to disrupt read or write patterns due to control flow or interrupts. In general, this can be achieved for some applications such as audio or imaging, where access patterns to data are very predictable (you can know exactly when you are going to read or write something). Placing general purpose heap memory into the external SRAM should not be done in the first silicon revision.

Edit: new silicon revision should become available in February. Allow some time for the new revision to make its way into the supply chain.


Thanks for Reply.

Got it. It will just affect to external RAM but I can use Internal RAM without any issue. correct?
Regards,
Ritesh Prajapati

bennettmarks
Posts: 1
Joined: Sun Jan 03, 2016 9:05 pm

Re: After ESP-IDF 1.0...

Postby bennettmarks » Mon Dec 12, 2016 10:19 pm

Really hoping to get a good DMA based SPI driver...

ESP_Angus
Posts: 218
Joined: Sun May 08, 2016 4:11 am

Re: After ESP-IDF 1.0...

Postby ESP_Angus » Tue Dec 13, 2016 12:00 am

Ritesh wrote:Got it. It will just affect to external RAM but I can use Internal RAM without any issue. correct?


Correct, this only applies if you attach a SPI PSRAM/SRAM chip to the ESP32 and want to map it as additional RAM.

Ritesh
Posts: 174
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: After ESP-IDF 1.0...

Postby Ritesh » Tue Dec 13, 2016 4:18 am

ESP_Angus wrote:
Ritesh wrote:Got it. It will just affect to external RAM but I can use Internal RAM without any issue. correct?


Correct, this only applies if you attach a SPI PSRAM/SRAM chip to the ESP32 and want to map it as additional RAM.


Thanks for Reply.

As we have already planned to create one product based on current ESP32 chip which is available into market and our product will be long term as per planning.

So, does it create any impact on older ESP32 chip production or Life Time if newer version of ESP32 chip will come into market?

Please let me know if you have idea or any informations for this so that we can plan for our product and will take decision based on chip EOL.
Regards,
Ritesh Prajapati

ESP_Sprite
Posts: 397
Joined: Thu Nov 26, 2015 4:08 am

Re: After ESP-IDF 1.0...

Postby ESP_Sprite » Tue Dec 13, 2016 4:28 am

The ESP32 won't go EOL any time soon (I think we guarantee availability for 12 years). This is just a revision; it has all the features of the current chip but fixes a bunch of bugs that e.g. stop the current chip from properly using SPI SRAM as fully-featured memory. If your application works with the current ESP32, it will work with the revised version as well, without even so much as a recompile.

Ritesh
Posts: 174
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: After ESP-IDF 1.0...

Postby Ritesh » Tue Dec 13, 2016 4:38 am

ESP_Sprite wrote:The ESP32 won't go EOL any time soon (I think we guarantee availability for 12 years). This is just a revision; it has all the features of the current chip but fixes a bunch of bugs that e.g. stop the current chip from properly using SPI SRAM as fully-featured memory. If your application works with the current ESP32, it will work with the revised version as well, without even so much as a recompile.


Thanks for Reply.

That is good but for that we need to revise our schematic as well if new version of ESP32 will be released by Espressif System. But, I just want to know that will Espressif Systems stop production of older chip and replace with newer chip?

That is my concern regarding this newer chip.
Regards,
Ritesh Prajapati

ESP_Sprite
Posts: 397
Joined: Thu Nov 26, 2015 4:08 am

Re: After ESP-IDF 1.0...

Postby ESP_Sprite » Tue Dec 13, 2016 5:25 am

There is no need to change anything at all. The new revision of the ESP32 is in all senses compatible with the old version. Around February, the places that sell ESP32s will just gradually sell the new version. If you don't do anything that does not work because of something in the errata list, you don't need to change anything at all.

Who is online

Users browsing this forum: No registered users and 1 guest