mkiiskila commented on a change in pull request #1015: nrf52840 support for 
qspi flash
URL: https://github.com/apache/mynewt-core/pull/1015#discussion_r182450858
 
 

 ##########
 File path: hw/mcu/nordic/nrf52xxx/syscfg.yml
 ##########
 @@ -114,6 +114,76 @@ syscfg.defs:
         description: 'SOFT PWM'
         value: 0
 
+    QSPI_ENABLE:
+        descritption: 'NRF52 QSPI'
+        value: 0
+
+    QSPI_READOC:
+        descritption: >
+            QSPI Command to use
+            0 - 0x09 Fast Read
+            1 - 0x3B Fast Read Dual Output
+            2 - 0xBB Fast Read Dual I/O
+            3 - 0x6B Fast Read Quad Output
+            4 - 0xEB Fast Read Quad I/O
+        value: 0
+    QSPI_WRITEOC:
+        descritption: >
+            QSPI Command to use
+            0 - 0x02 Page program
+            1 - 0xA2 Page program Dual Data
+            2 - 0x32 Page program Quad Data
+            3 - 0x38 Page program Quad I/O
+        value: 0
+    QSPI_ADDRMODE:
+        description: 'Address lentgh 0=24 bits, 1=32 bits'
+        value: 0
+    QSPI_DPMCONFIG:
+        description: 'Deep power mode enable'
+        value: 0
+    QSPI_SCK_DELAY:
+        description: >
+            Minimum amount of time that the CSN pin must stay high
+            before it can go low again. Value is specified in number of 16
+            MHz periods (62.5 ns).
+        value: 0
+    QSPI_SCK_FREQ:
+        description: '32MHz clock divider (0-31). Clock = 32MHz / (1+divider)'
+        value: 0
+    QSPI_SPI_MODE:
+        description: 'SPI 0=Mode0 or 1=Mode3'
+        value: 0
+
+    QSPI_FLASH_SECTOR_SIZE:
+        description: 'QSPI sector size'
+        value: 4096
+    QSPI_FLASH_PAGE_SIZE:
+        description: 'QSPI page size. Writes can only be perfrmed to one page 
at a time.'
+        value: 256
 
 Review comment:
   Set default value to 0.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to