2017-07-14 19:26:44 +02:00
|
|
|
README
|
|
|
|
======
|
|
|
|
|
|
|
|
This README discusses issues unique to NuttX configurations for the
|
2017-07-14 22:35:28 +02:00
|
|
|
STMicro STM32F769I-DISCO development board featuring the STM32F769NIH6
|
2017-07-20 15:39:57 +02:00
|
|
|
MCU. The STM32F769NIH6 is a 216MHz Cortex-M7 operating with 2048K Flash
|
2017-07-19 20:54:17 +02:00
|
|
|
memory and 512Kb SRAM. The board features:
|
2017-07-14 19:26:44 +02:00
|
|
|
|
|
|
|
- On-board ST-LINK/V2 for programming and debugging,
|
|
|
|
- Mbed-enabled (mbed.org)
|
2017-07-19 20:54:17 +02:00
|
|
|
- 4-inch 800x472 color LCD-TFT with capacitive touch screen
|
2017-07-14 19:26:44 +02:00
|
|
|
- SAI audio codec
|
|
|
|
- Audio line in and line out jack
|
|
|
|
- Two ST MEMS microphones
|
|
|
|
- SPDIF RCA input connector
|
|
|
|
- Two pushbuttons (user and reset)
|
2017-07-15 11:01:54 +02:00
|
|
|
- 512-Mbit Quad-SPI Flash memory
|
2017-07-19 20:54:17 +02:00
|
|
|
- 128-Mbit SDRAM
|
2017-07-14 19:26:44 +02:00
|
|
|
- Connector for microSD card
|
|
|
|
- RF-EEPROM daughterboard connector
|
|
|
|
- USB OTG HS with Micro-AB connectors
|
2017-07-19 20:54:17 +02:00
|
|
|
- Ethernet connector compliant with IEEE-802.3-2002 and PoE
|
2017-07-14 19:26:44 +02:00
|
|
|
|
|
|
|
Refer to the http://www.st.com website for further information about this
|
2017-07-14 22:35:28 +02:00
|
|
|
board (search keyword: stm32f769i-disco)
|
2017-07-14 19:26:44 +02:00
|
|
|
|
|
|
|
Contents
|
|
|
|
========
|
|
|
|
|
|
|
|
- STATUS
|
|
|
|
- Development Environment
|
|
|
|
- LEDs and Buttons
|
|
|
|
- Serial Console
|
|
|
|
- Configurations
|
|
|
|
|
|
|
|
STATUS
|
|
|
|
======
|
|
|
|
|
2017-07-19 20:54:17 +02:00
|
|
|
2017-07: The basic NSH configuration is functional using a serial
|
|
|
|
console on USART1, which is connected to the "virtual com port"
|
|
|
|
of the ST/LINK USB adapter.
|
2017-07-14 19:26:44 +02:00
|
|
|
|
2017-07-19 20:54:17 +02:00
|
|
|
2017-07: STM32 F7 Ethernet appears to be functional, but has had
|
2017-07-14 19:26:44 +02:00
|
|
|
only light testing.
|
2017-07-20 15:39:57 +02:00
|
|
|
|
2017-07-19 20:54:17 +02:00
|
|
|
Work in progress: Use LCD over DSI interface, rest of board.
|
2017-07-14 19:26:44 +02:00
|
|
|
|
|
|
|
Development Environment
|
|
|
|
=======================
|
|
|
|
|
2017-07-14 22:35:28 +02:00
|
|
|
The Development environments for the STM32F769I-DISCO board are identical
|
2017-07-14 19:26:44 +02:00
|
|
|
to the environments for other STM32F boards. For full details on the
|
|
|
|
environment options and setup, see the README.txt file in the
|
2017-07-14 22:35:28 +02:00
|
|
|
config/stm32f769i-disco directory.
|
2017-07-14 19:26:44 +02:00
|
|
|
|
|
|
|
LEDs and Buttons
|
|
|
|
================
|
|
|
|
|
|
|
|
LEDs
|
|
|
|
----
|
2017-07-19 20:54:17 +02:00
|
|
|
The STM32F769I-DISCO board has numerous LEDs but only one, LD3 located
|
|
|
|
near the reset button, that can be controlled by software.
|
2017-07-14 19:26:44 +02:00
|
|
|
|
2017-07-19 20:54:17 +02:00
|
|
|
LD3 is controlled by PI1 which is also the SPI2_SCK at the Arduino
|
|
|
|
interface. One end of LD3 is grounded so a high output on PI1 will
|
2017-07-14 19:26:44 +02:00
|
|
|
illuminate the LED.
|
|
|
|
|
|
|
|
This LED is not used by the board port unless CONFIG_ARCH_LEDS is defined.
|
|
|
|
In that case, the usage by the board port is defined in include/board.h
|
|
|
|
and src/stm32_leds.c. The LEDs are used to encode OS-related events as
|
|
|
|
follows:
|
|
|
|
|
2017-07-19 20:54:17 +02:00
|
|
|
SYMBOL Meaning LD3
|
2017-07-14 19:26:44 +02:00
|
|
|
------------------- ----------------------- ------
|
|
|
|
LED_STARTED NuttX has been started OFF
|
|
|
|
LED_HEAPALLOCATE Heap has been allocated OFF
|
|
|
|
LED_IRQSENABLED Interrupts enabled OFF
|
|
|
|
LED_STACKCREATED Idle stack created ON
|
|
|
|
LED_INIRQ In an interrupt N/C
|
|
|
|
LED_SIGNAL In a signal handler N/C
|
|
|
|
LED_ASSERTION An assertion failed N/C
|
|
|
|
LED_PANIC The system has crashed FLASH
|
|
|
|
|
2017-07-19 20:54:17 +02:00
|
|
|
Thus is LD3 is statically on, NuttX has successfully booted and is,
|
|
|
|
apparently, running normally. If LD3 is flashing at approximately
|
2017-07-14 19:26:44 +02:00
|
|
|
2Hz, then a fatal error has been detected and the system has halted.
|
|
|
|
|
|
|
|
Buttons
|
|
|
|
-------
|
|
|
|
Pushbutton B1, labelled "User", is connected to GPIO PI11. A high
|
|
|
|
value will be sensed when the button is depressed.
|
|
|
|
|
|
|
|
Serial Console
|
|
|
|
==============
|
|
|
|
|
2017-07-19 20:54:17 +02:00
|
|
|
Use the serial interface the ST/LINK provides to the USB host.
|
2017-07-14 19:26:44 +02:00
|
|
|
|
|
|
|
Configurations
|
|
|
|
==============
|
|
|
|
|
|
|
|
Common Configuration Information
|
|
|
|
--------------------------------
|
2017-07-14 22:35:28 +02:00
|
|
|
Each STM32F769I-DISCO configuration is maintained in a sub-directory and
|
2017-07-14 19:26:44 +02:00
|
|
|
can be selected as follow:
|
|
|
|
|
|
|
|
cd tools
|
2017-07-14 22:35:28 +02:00
|
|
|
./configure.sh stm32f769i-disco/<subdir>
|
2017-07-14 19:26:44 +02:00
|
|
|
cd -
|
|
|
|
|
|
|
|
Where <subdir> is one of the sub-directories listed below.
|
|
|
|
|
|
|
|
Configuration Directories
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
nsh:
|
|
|
|
---
|
|
|
|
Configures the NuttShell (NSH) located at apps/examples/nsh. The
|
2017-07-19 20:54:17 +02:00
|
|
|
Configuration enables the serial interfaces on UART1.
|
|
|
|
Otherwise nothing is enabled, so that config is a starting point
|
|
|
|
for initial testing.
|
|
|
|
Support for builtin applications is enabled, but in the base
|
|
|
|
configuration no builtin applications are selected.
|
|
|
|
|
|
|
|
nsh-ehternet:
|
|
|
|
---
|
|
|
|
Same as above but a lot more hardware peripherals enabled,
|
|
|
|
in particular ethernet, as well as networking stuff.
|