Vassilis' postbag

Tell us about the cool things you've recently got
User avatar
Vassilis
Posts: 150
Joined: Wed Feb 27, 2019 5:09 pm
Answers: 2
Location: Thessaloniki, Greece
OS: Linux, Win10, MacOS
IDE: Arduino 1.8.9
Core: Roger, STM official
Board: Bluepill, Maple mini, STM32F4xx
Contact:

Vassilis' postbag [IPS6404 8MByte PSRAM]

Post by Vassilis » Sun May 05, 2019 5:16 pm

A few days ago I received six IPS6404 PSRAM chips.
I read the IPS6404 manual and I saw that is very easy to handle those chips through SPI interface.
Today, I found some time to make some tests.
I wrote a simple sketch only to read and write data in PSRAM. It worked nice !
I hope to find more time to do a speed test for reading and writing data due to those chips support both Serial SPI and QSPI (Quad SPI) interface with speed up to 133MHz .

IPS6404_psram.jpg
IPS6404_psram.jpg (110.43 KiB) Viewed 840 times
bluepill_ips6404_a.jpg
bluepill_ips6404_a.jpg (183.89 KiB) Viewed 840 times
bluepill_ips6404_b.jpg
bluepill_ips6404_b.jpg (165.81 KiB) Viewed 840 times
-Vassilis Serasidis

stevestrong
Posts: 63
Joined: Tue Mar 05, 2019 7:49 am
Location: Munich
OS: Win7 & 10
IDE: Arduino 1.8.8, Sloeber
Core: Libmaple
Board: Bluepill, Generic F4VET6 black & mini
Contact:

Re: Vassilis' postbag

Post by stevestrong » Mon May 06, 2019 8:33 am

Sounds interesting, and i am curious which chip do you want to use for the testing of QSPI with up to 133MHz.

User avatar
Vassilis
Posts: 150
Joined: Wed Feb 27, 2019 5:09 pm
Answers: 2
Location: Thessaloniki, Greece
OS: Linux, Win10, MacOS
IDE: Arduino 1.8.9
Core: Roger, STM official
Board: Bluepill, Maple mini, STM32F4xx
Contact:

Re: Vassilis' postbag

Post by Vassilis » Mon May 06, 2019 11:17 am

stevestrong wrote:
Mon May 06, 2019 8:33 am
Sounds interesting, and i am curious which chip do you want to use for the testing of QSPI with up to 133MHz.
133 MHz is at 1.8V (104 MHz at 3.3V). The STM32F4xx MCUs support power supply voltages from 1.8 (some F4 from 1.7V) to 3.6V.
The STM32F446 supports QSPI up to 90 MHz. I don't have any QSPI-Ready STM32 MCU because at the moment, I don't need one.

Standard SPI interface at speed 36 - 50 Mbit/s is good enough for those who want a really big RAM buffer, few RAM chip pins, for application like data logger, web server, camera modules and many more. DMA could also increase the PSRAM performance.

IPS6404 also supports speed modes at 33, 84, 104 and 133 MHz depends on the command code and mode you use.

ips6404_commands.JPG
ips6404_commands.JPG (71.04 KiB) Viewed 824 times
-Vassilis Serasidis

User avatar
Vassilis
Posts: 150
Joined: Wed Feb 27, 2019 5:09 pm
Answers: 2
Location: Thessaloniki, Greece
OS: Linux, Win10, MacOS
IDE: Arduino 1.8.9
Core: Roger, STM official
Board: Bluepill, Maple mini, STM32F4xx
Contact:

Re: Vassilis' postbag

Post by Vassilis » Mon May 06, 2019 4:04 pm

I have added an example sketch on how to Write and Read these PSRAM chips.
http://mcu.selfip.com/viewtopic.php?f=1 ... 6c62e#p752
-Vassilis Serasidis

stevestrong
Posts: 63
Joined: Tue Mar 05, 2019 7:49 am
Location: Munich
OS: Win7 & 10
IDE: Arduino 1.8.8, Sloeber
Core: Libmaple
Board: Bluepill, Generic F4VET6 black & mini
Contact:

Re: Vassilis' postbag

Post by stevestrong » Tue May 07, 2019 1:48 pm

For selecting an STM chip supporting QSPI:
Screenshot_2019-05-07 Quad-SPI (QSPI) interface on STM32 microcontrollers - en DM00227538 pdf.png
Screenshot_2019-05-07 Quad-SPI (QSPI) interface on STM32 microcontrollers - en DM00227538 pdf.png (23.49 KiB) Viewed 795 times

User avatar
zoomx
Posts: 43
Joined: Tue Mar 05, 2019 8:10 am
Location: Mt Etna - Italy
OS: Windows 7 & 10
IDE: 1.8.8
Core: Roger & STM official
Board: Bluepill, Maple mini

Re: Vassilis' postbag

Post by zoomx » Fri May 24, 2019 9:38 am

My ESP32-CAM is arrived!

Some of them have a little hardware difference: near the antenna plug there is a small resistor and three small pads. If pads are soldered from left to top, the PCB antenna is selected. But some boards, my board for example!, have pads soldered from left to bottom pad so the near connector is selected. For this reason the first time I tested it it didn't was able to connect to my wifi router, but was able to connect to a small access point at about 20 cm.
Then I read a post blog about this resistor, checked my board and discovered that the resistor was in wrong position.

flyboy74para
Posts: 29
Joined: Tue Apr 23, 2019 4:38 am
Answers: 1
OS: windows
IDE: System workbench
Core: N/A
Board: Blue pill, STM32F407

Re: Vassilis' postbag

Post by flyboy74para » Tue May 28, 2019 8:17 am

If your interested in super small form factor ESP32 then their is the TinyPICO board at size 18 mm x 32 mm with ESP32 with psRAM and purposely setup for super low quiescent current during deep sleep of about 10ua.

see https://www.crowdsupply.com/unexpected-maker/tinypico/
tinypico-size-battery-no-text_jpg_project-body.jpg
tinypico-size-battery-no-text_jpg_project-body.jpg (30.89 KiB) Viewed 701 times

Post Reply