Portenta H7: sharing my Web Client SPI project

I want to share my project:
H7_SPIder.zip (604.0 KB)

ATT: it is a Visual Studio VSMicro project (but should have the same *.ino scatch for Arduino IDE).

It is:

  • a Web Server to take commands via HTTP requests (as done also via UART; UART and Web in parallel)

  • mainly intended to do SPI transactions, requested via Network (e.g. use a Web Browser or Python scripts)

  • it configures Portenta H7 MCU for 480 Mhz core clock (not just 400 MHz)

  • it has a Web Browser (ASCII) mode as well as a BINARY mode to send Web (Network) requests) for commands and SPI transaction (BINARY leaves the socket open)

  • it has a command line interpreter (for UART as well as HTTP ASCII requests)

  • it has a more fine granular SPI clock configuration and selects LSBFIRST on SPI bus

It is mainly a Web (Network) based SPI adapter (in order to talk to other chips).

If you want to use with a Python (v3) script on host side - attached also a Python script to use Web Server on Portenta H7 board (remove the .h file extension).
H7_TCP.py.h (10.2 KB)

Please, have fun.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.