README.txt 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. README
  2. ======
  3. This README discusses issues unique to NuttX configurations for the
  4. STMicro STM32F769I-DISCO development board featuring the STM32F769NIH6
  5. MCU. The STM32F769NIH6 is a 216MHz Cortex-M7 operating with 2048K Flash
  6. memory and 512Kb SRAM. The board features:
  7. - On-board ST-LINK/V2 for programming and debugging,
  8. - Mbed-enabled (mbed.org)
  9. - 4-inch 800x472 color LCD-TFT with capacitive touch screen
  10. - SAI audio codec
  11. - Audio line in and line out jack
  12. - Two ST MEMS microphones
  13. - SPDIF RCA input connector
  14. - Two pushbuttons (user and reset)
  15. - 512-Mbit Quad-SPI Flash memory
  16. - 128-Mbit SDRAM
  17. - Connector for microSD card
  18. - RF-EEPROM daughterboard connector
  19. - USB OTG HS with Micro-AB connectors
  20. - Ethernet connector compliant with IEEE-802.3-2002 and PoE
  21. Refer to the http://www.st.com website for further information about this
  22. board (search keyword: stm32f769i-disco)
  23. Contents
  24. ========
  25. - STATUS
  26. - Development Environment
  27. - LEDs and Buttons
  28. - Serial Console
  29. - Configurations
  30. STATUS
  31. ======
  32. 2017-07: The basic NSH configuration is functional using a serial
  33. console on USART1, which is connected to the "virtual com port"
  34. of the ST/LINK USB adapter.
  35. 2017-07: STM32 F7 Ethernet appears to be functional, but has had
  36. only light testing.
  37. Work in progress: Use LCD over DSI interface, rest of board.
  38. Development Environment
  39. =======================
  40. The Development environments for the STM32F769I-DISCO board are identical
  41. to the environments for other STM32F boards. For full details on the
  42. environment options and setup, see the README.txt file in the
  43. config/stm32f769i-disco directory.
  44. LEDs and Buttons
  45. ================
  46. LEDs
  47. ----
  48. The STM32F769I-DISCO board has numerous LEDs but only one, LD3 located
  49. near the reset button, that can be controlled by software.
  50. LD3 is controlled by PI1 which is also the SPI2_SCK at the Arduino
  51. interface. One end of LD3 is grounded so a high output on PI1 will
  52. illuminate the LED.
  53. This LED is not used by the board port unless CONFIG_ARCH_LEDS is defined.
  54. In that case, the usage by the board port is defined in include/board.h
  55. and src/stm32_leds.c. The LEDs are used to encode OS-related events as
  56. follows:
  57. SYMBOL Meaning LD3
  58. ------------------- ----------------------- ------
  59. LED_STARTED NuttX has been started OFF
  60. LED_HEAPALLOCATE Heap has been allocated OFF
  61. LED_IRQSENABLED Interrupts enabled OFF
  62. LED_STACKCREATED Idle stack created ON
  63. LED_INIRQ In an interrupt N/C
  64. LED_SIGNAL In a signal handler N/C
  65. LED_ASSERTION An assertion failed N/C
  66. LED_PANIC The system has crashed FLASH
  67. Thus is LD3 is statically on, NuttX has successfully booted and is,
  68. apparently, running normally. If LD3 is flashing at approximately
  69. 2Hz, then a fatal error has been detected and the system has halted.
  70. Buttons
  71. -------
  72. Pushbutton B1, labelled "User", is connected to GPIO PI11. A high
  73. value will be sensed when the button is depressed.
  74. Serial Console
  75. ==============
  76. Use the serial interface the ST/LINK provides to the USB host.
  77. Configurations
  78. ==============
  79. Common Configuration Information
  80. --------------------------------
  81. Each STM32F769I-DISCO configuration is maintained in a sub-directory and
  82. can be selected as follow:
  83. tools/configure.sh stm32f769i-disco/<subdir>
  84. Where <subdir> is one of the sub-directories listed below.
  85. Configuration Directories
  86. -------------------------
  87. nsh:
  88. ---
  89. Configures the NuttShell (NSH) located at apps/examples/nsh. The
  90. Configuration enables the serial interfaces on UART1.
  91. Otherwise nothing is enabled, so that config is a starting point
  92. for initial testing.
  93. Support for builtin applications is enabled, but in the base
  94. configuration no builtin applications are selected.
  95. nsh-ehternet:
  96. ---
  97. Same as above but a lot more hardware peripherals enabled,
  98. in particular ethernet, as well as networking stuff.