en:pfw:spi_gd32vf_noforth
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:pfw:spi_gd32vf_noforth [2023-09-04 18:20] – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | en:pfw:spi_gd32vf_noforth [2023-09-06 14:32] (current) – ↷ Links angepasst, weil Seiten im Wiki verschoben wurden 54.36.148.211 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{pfw: | ||
+ | ====== SPI protocol for the GD32VF103 ====== | ||
+ | |||
+ | * [[en: | ||
+ | Note that the highlevel generates a 300 kHz clock, the low level variant a 1 MHz clock. The bitbang SPI setup has no restrictions at all. More on I/O-ports from page 101ff of the user manual mentioned below. | ||
+ | |||
+ | * [[en: | ||
+ | The upper limit of the SPI clock of the GD32 is 27 MHz, so always check your settings. With noForth you may add the SPI setup routine to the APP vector. **The first version of SPI-setup did not initialise the NSS pin, thanks to Martin Bitter & Wolfgang Strauss this is corrected.** More on SPI from page 377ff of the user manual. | ||
+ | | ||
+ | {{https:// | ||
+ | |||
+ | |||
+ | ==== Two examples ==== | ||
+ | |||
+ | ^File name ^Commands | ||
+ | |[[en: | ||
+ | |[[en: | ||
+ | | | ||
+ | | | ||
+ | |[[en: | ||
+ | | | ||
+ | |||
+ | < | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{https:// | ||
+ | **NOF filesystem on SPI Flash initialised while booting the GD32VF103** | ||
+ | |||
+ | ==== More information on the GD32VF103 ==== | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | * [[http:// | ||