Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:pfw:spi_msp430_noforth [2023-09-04 18:21] – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | en:pfw:spi_msp430_noforth [2023-09-06 14:49] (current) – ↷ Links angepasst, weil Seiten im Wiki verschoben wurden 54.36.148.221 |
---|
| {{pfw:banner.png}} |
| ====== SPI protocol noForth versions ====== |
| |
| * [[en:pfw:spi_msp430_noforth_bbspi_msp-g_v100.f|MSP430G2xxx]], bitbang SPI version for the MSP430G2553\\ |
| |
| * [[en:pfw:spi_msp430_noforth_bbspi_msp-fr_v100.f|MSP430FR59xx]], bitbang SPI version for the MSP430FR5949\\ |
| |
| * [[en:pfw:spi_msp430_noforth_bbspi_msp-f149_v100.f|MSP430F14x]], bitbang SPI version for the MSP430F149\\ |
| |
| * [[pfw_attic:spi_msp430_noforth_uscib_20spi_20msp_20v100.f|MSP430G2xxx]], USCI B0 SPI version for the MSP430G2553\\ |
| |
| * [[en:pfw:spi_msp430_noforth_eusci-a1_spi_msp_v100.f|MSP430FR59xx]], eUSCI A1 SPI version for the MSP430FR5949\\ |
| |
| * [[en:pfw:spi_msp430_noforth_usart1_spi_msp-f149_v100.f|MSP430F14x]], USART1 SPI version for the MSP430F149 |
| |
| {{https://user-images.githubusercontent.com/11397265/120072220-fbf7a080-c092-11eb-9faf-abe96bc6d1c5.jpg|SPI OLED test}} **SPI used to drive an OLED display & W25Q16 external Flash memory** |
| |
| ==== More information on the MSP430G2553 ==== |
| |
| * [[https://www.ti.com/lit/ug/slau144j/slau144j.pdf|MSP430x2xx Family guide SLAU144J.PDF]], SPI on page 444ff\\ |
| * [[https://www.ti.com/lit/ds/symlink/msp430g2553.pdf|MSP430G2553 datasheet SLAS735J.PDF]], port data on page 49ff |
| |
| ---- |
| |
| ==== Examples ==== |
| |
| ^File name ^Commands ^Purpose ^ |
| |[[en:pfw:spi_msp430_spi-loopback_msp430.f|SPI-loopback MSP430.f]] |''%%COUNTER%%'' |A counter as simplest loopback test | |
| |[[en:pfw:spi_msp430_spi_oled_display.f|SPI OLED display.f]] |''%%DEMO%%'' |Show text on a graphic OLED display | |
| |[[spi_msp430_flash_driver_msp430.f|Flash driver MSP430.f]] |''%%SPI-ON%%'' |Activate SPI-interface to Flash memory chip | |
| | |''%%FILL1 0 write-sector%%'' |Fill buffer with pattern en write to Flash sector 0 | |
| | |''%%0. 100 FDUMP%%'' |Dump sector 0 showing the written contents, etc. | |
| |[[en:pfw:spi_msp430_ws2812_simple_g2553.f|WS2812 simple G2553.f]] |''%%SHOW%%'' for MSP430G2553 |Display five different colors on max. 40 WS2812 leds, | |
| |[[en:pfw:spi_msp430_ws2812_simple_fr5949.f|WS2812 simple FR5949.f]]|''%%SHOW%%'' for MSP430FR59xx|the number of LEDs maybe changed by editing ''%%#LEDS%%''| |
| |
| |
| ---- |
| |
| {{https:%%//%%user-images.githubusercontent.com/11397265/153213409-756f01c9-4fc3-4a9b-aa00-d6ddc1bdfdae.mp4}} |
| |
| **Running SPI OLED display demo** |
| |