STM32L4S9ZIT6

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
Qute
Posts: 5
Joined: Sun Jul 29, 2018 12:06 am

STM32L4S9ZIT6

Post by Qute » Fri Aug 03, 2018 2:11 pm

I've designed a board around STM32L4S9ZIT6 focusing on PSRAM support.

Schematic:
http://i1054.photobucket.com/albums/s49 ... thobgk.png

Design:
http://i1054.photobucket.com/albums/s49 ... 94xbtf.png

OSH Park pictures:
- top: http://s1054.photobucket.com/user/oliba ... 3.png.html
- bottom: http://i1054.photobucket.com/albums/s49 ... 9fcvma.png

Just wanted to put it out so if anyone is interested. I can send higher resolution images if requested.
Last edited by Qute on Sat Aug 04, 2018 8:38 pm, edited 1 time in total.

loboris
Posts: 266
Joined: Fri Oct 02, 2015 6:19 pm

Re: STM32L4S9ZIT6

Post by loboris » Sat Aug 04, 2018 7:54 am

It looks interesting, but more information would be useful.

Is it an open-source hardware project? Could you provide the gerber files and/or SCH/PCB files?
The schematic image is almost unreadable (black background).

Have you tested MicroPython running with heap on PSRAM?

Qute
Posts: 5
Joined: Sun Jul 29, 2018 12:06 am

Re: STM32L4S9ZIT6

Post by Qute » Sat Aug 04, 2018 8:18 pm

Hello,

Well I'm glad to share the files I just can't upload them here.
Some more information:

* CPU: STM32L4S9ZIT6 - https://www.st.com/en/microcontrollers/stm32l4s9zi.html
Ultra-low-power with FPU ARM Cortex-M4 MCU 120 MHz with 2048 kbytes Flash, USB OTG, DFSDM, LCD-TFT, MIPI DSI, AES-256, HASH

* Memory: 2 x IS61/64WV102416 - http://www.farnell.com/datasheets/2622035.pdf
2.4V to 3.6V, TSOP-I, 48 Pins, 10 ns
The ISSI IS61/64WV102416DALL/BLL are high-speed, 16M bit static RAMs organized as 1024K words by 16 bits.
So in total the board can have 32M bit spram. Or if you want you can have a cheaper version with only 16M bit (only 1 chip soldered on).

* Battery charger (LiPo): MCP73831T-2ACI/OT - http://www.farnell.com/datasheets/2124927.pdf
Battery Charger for 1 Cell of Li-Ion, Li-Pol battery, 6V input, 4.2V / 500mA charge, SOT-23-5

* Battery level reader (LiPo fual gauge): MAX17043G+U - http://cdn.sparkfun.com/datasheets/Prot ... X17044.pdf
Compact, Low-Cost 1S Fuel Gauge with Low-Battery Alert

* Accelerometer: MMA8653FCR1 - http://www.farnell.com/datasheets/2294062.pdf
MEMS Accelerometer, 3-Axis, Digital, X, Y, Z, ± 2g, ± 4g, ± 8g, 1.95 V, 3.6 V, DFN

* LEDS: 0603 red, yellow, green blue leds. Also one WS2812 RGB LED (1 data line output available to chain more leds to it) with 3.3v to 5v logic level converter on board.

* Buttons: 1 reset and 2 user buttons. Both user buttons are hooked up to wake up pins so they can wake up the device.

* Power supply: 3.3v on board voltage regulator. A buck-boost converter with 5v output which can be turned on or off via enable line (from CPU), the output can also be connected to the usb power line via enable line (from CPU). LiIon batty supported with it's separate JST_PH_2PIN connector. Charging and LiPo voltage level gauge is available on board. External battery for Real Time Clock (RTC) is also supported (no charging!).

* Firmware updates: The board does not support firmware updates via USB. For this I think I'll use an ST-LINK and thus I made connection points for SWDIO and SWDCLK. The datasheet suggest that for DFU we could use I2C1 which is also wired out to connectors (B6, B7) but I think the DFU tool does not support I2C for firmware updates as of now. (I might be wrong).

* The firmware status: I don't have anything yet. I'll dig into this and try to make my own.

* The board status: Still protoyping. I've ordered 3 prototype boards from OSH park and experiment with them (could take a month or so to get them).

* Pins: I'll try and make an exploded view showing what pins are available later.

Qute
Posts: 5
Joined: Sun Jul 29, 2018 12:06 am

Re: STM32L4S9ZIT6

Post by Qute » Sat Aug 04, 2018 8:22 pm

I've uploaded the files to my google drive:
https://drive.google.com/file/d/1Y47p54 ... sp=sharing
Feel free to use them but be warned that this is a prototype only.
(No autorouter used for board so be amazed...)

loboris
Posts: 266
Joined: Fri Oct 02, 2015 6:19 pm

Re: STM32L4S9ZIT6

Post by loboris » Sun Aug 05, 2018 9:34 am

Thanks for sharing the information and the project files.

I think it would be useful to place a project on GitHub.

Qute
Posts: 5
Joined: Sun Jul 29, 2018 12:06 am

Re: STM32L4S9ZIT6

Post by Qute » Sun Aug 05, 2018 9:41 am

The pinout would look something like this:
http://i1054.photobucket.com/albums/s49 ... umcnq5.png

Yeah, I might put it on github.

Qute
Posts: 5
Joined: Sun Jul 29, 2018 12:06 am

Re: STM32L4S9ZIT6

Post by Qute » Mon Aug 06, 2018 12:07 pm

I put it on my local github like server (Gogs): http://qute.ddns.net:81/Qute/MicroPython

Post Reply