Browsing All posts tagged under »spi«

STM32 Nucleo: access SD cards with C standard library

July 3, 2016


The ST Nucleo is an Arduino-like board with an STM32 as the microcontroller, and many Arduino shields can be mounted on it. I recently played with an Ethernet shield for the network connection, but since the shield also contains a microSD card slot, I wanted to access the SD card to read/write files. I’d like to […]

HTTPS client on STM32 Nucleo-F411RE

February 4, 2016


One of my goal of the past months was to use an STM32 Nucleo board to get a webpage through HTTPS, using an Ethernet shield for TCP/IP stack. I was close last time, but I discovered that my Nucleo-F103RB did not have enough RAM. Now I have my hands on a Nucleo-F411RE that has 128KiB of RAM […]

Update on POSIX socket library for W5100: client and server for TCP or UDP

November 22, 2015


I am writing a library that implements POSIX sockets, also called Berkeley sockets, for my ST Nucleo+Ethernet shield setup. The functionality that is currently in place, as for the source code on GitHub, allows for TCP client/server connections and UDP client/server communication using Wiznet W5100 chip resources. The interface is not complete, but what’s in place is taken as literally as I […]

Work in progress: POSIX socket library for W5100

October 28, 2015


In a previous post I connected a Nucleo board with an Ethernet shield, with the SPI wired between the STM32 and the Wiznet W5100 chip. I am now in the process of writing some C tests for it on a GitHub repository, and in particular a socket library that tries to conform to POSIX specifications. At this […]

Arduino Ethernet shield on STM32 Nucleo

August 2, 2015


I have a clone of the Arduino Ethernet shield R2, and I already hooked it up on an Arduino Uno, as explained in a previous post. But I also have an STM32 Nucleo-F103RB board, which is similar to Arduino with respect to many of its pins, so I wanted to try this shield with it. The main […]

Arduino Ethernet shield and Python socket

June 14, 2015


I started playing with an Ethernet shield for Arduino that I bought at a faire. I noticed that the shield itself is not original, but it’s a clone of the Arduino Ethernet Shield version 5.0, also identified as revision 2. The shield provides Ethernet connectivity and has an SD card slot to provide non-volatile memory […]