User Tools

Site Tools


en:pfw:spi_gd32vf_noforth

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:pfw:spi_gd32vf_noforth [2023-09-04 18:20] – ↷ Seite von pfw:spi_gd32vf_noforth nach en:pfw:spi_gd32vf_noforth verschoben uhoen:pfw:spi_gd32vf_noforth [2023-09-06 14:32] (current) – ↷ Links angepasst, weil Seiten im Wiki verschoben wurden 54.36.148.211
Line 2: Line 2:
 ====== SPI protocol for the GD32VF103 ====== ====== SPI protocol for the GD32VF103 ======
  
-  * [[pfw:spi_gd32vf_noforth_bbspi_v100.f|Bitbang on port-A]]  +  * [[en:pfw:spi_gd32vf_noforth_bbspi_v100.f|Bitbang on port-A]]  
     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.     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.
  
-  * [[pfw:spi_gd32vf_noforth_spi0_v100.f|Hardware SPI on port-A]]+  * [[en:pfw:spi_gd32vf_noforth_spi0_v100.f|Hardware SPI on port-A]]
     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.     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.
          
Line 14: Line 14:
  
 ^File name                                                ^Commands                    ^Purpose                                                 ^ ^File name                                                ^Commands                    ^Purpose                                                 ^
-|[[pfw:spi_gd32vf_noforth_spi-loopback.f|SPI-loopback.f]]                                           |''%%COUNTER%%''             |A counter as simplest loopback test                     | +|[[en:pfw:spi_gd32vf_noforth_spi-loopback.f|SPI-loopback.f]]                                           |''%%COUNTER%%''             |A counter as simplest loopback test                     | 
-|[[pfw:spi_gd32vf_noforth_flash_driver_gd32.f|Flash driver GD32.f]]          |''%%SPI-ON%%''              |Activate SPI-interface to W25Q64 Flash memory chip      |+|[[en:pfw:spi_gd32vf_noforth_flash_driver_gd32.f|Flash driver GD32.f]]          |''%%SPI-ON%%''              |Activate SPI-interface to W25Q64 Flash memory chip      |
 |                                                         |''%%FILL1 0 write-sector%%''|Fill buffer with pattern en write to Flash sector 0     | |                                                         |''%%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.        | |                                                         |''%%0 100 FDUMP%%''         |Dump sector 0 showing the written contents, etc.        |
-|[[pfw:spi_gd32vf_noforth_spi_oled_display_gd32.f|SPI OLED display GD32.f]]|''%%DEMO%%''                |Initialise OLED & display P-F-W until a key is hit      |+|[[en:pfw:spi_gd32vf_noforth_spi_oled_display_gd32.f|SPI OLED display GD32.f]]|''%%DEMO%%''                |Initialise OLED & display P-F-W until a key is hit      |
 |                                                         |''%%&PAGE%%''               |Erases the OLED and sets the cursor in upper left corner| |                                                         |''%%&PAGE%%''               |Erases the OLED and sets the cursor in upper left corner|
  
en/pfw/spi_gd32vf_noforth.1693844412.txt.gz · Last modified: 2023-09-04 18:20 by uho