Peripheral MCU configuration for the STM32F723E-DISCO board.  
More...
Peripheral MCU configuration for the STM32F723E-DISCO board. 
- Author
 - Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr 
 
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_rtt_default.h"
#include "cfg_usb_otg_fs.h"
#include "lcd_fmc.h"
 
Go to the source code of this file.
 | 
| static const lcd_fmc_desc_t  | lcd_fmc_desc [] | 
|   | Descriptors of FMC banks used for LCDs.  More...
  | 
|   | 
| 
#define  | CONFIG_BOARD_HAS_LSE   1 | 
|   | 
| 
#define  | CONFIG_BOARD_HAS_HSE   1 | 
|   | 
| 
#define  | CONFIG_CLOCK_HSE   MHZ(25) | 
|   | 
 | 
| 
#define  | I2C_0_ISR   isr_i2c2_er | 
|   | 
| 
#define  | I2C_1_ISR   isr_i2c3_er | 
|   | 
| 
#define  | I2C_2_ISR   isr_i2c1_er | 
|   | 
| 
#define  | I2C_NUMOF   ARRAY_SIZE(i2c_config) | 
|   | 
| 
static const i2c_conf_t  | i2c_config [] | 
|   | 
◆ LCD_FMC_NUMOF
Number of LCDs using FMC banks. 
Because it is used by the preprocessor it has to be a number. The ARRAY_SIZE can't be used here. 
Definition at line 373 of file periph_conf.h.
 
 
◆ fmc_bank_config
FMC Bank configuration. 
The board has a PSRAM IS66WV51216EBLL-55BLI with MBit on-board. It is organized in 512K x 16 bits and connected to bank 1, subbank 1 at address 0x60000000.
- Note
 - A18 of the PSRAM is not used. Therefore, only 256K x 16 bits (512 kByte) of the 1 MByte PSRAM can be used.
 
The LCD display of the board is connected to bank 1, subbank2 at address 0x64000000. 
Definition at line 306 of file periph_conf.h.
 
 
◆ lcd_fmc_desc
Initial value:= {
    {
        .cmd_offset = 0x0,          
        .data_offset = 0x2,         
    }
}
#define FMC_BANK_CONFIG(n)
Gives the configuration of n-th bank.
 
 
Descriptors of FMC banks used for LCDs. 
Definition at line 359 of file periph_conf.h.
 
 
◆ spi_config
Initial value:= {
    { 
        .dev      = SPI1,
        .rccmask  = RCC_APB2ENR_SPI1EN,
    },
    { 
        .dev      = SPI2,
        .rccmask  = RCC_APB1ENR_SPI2EN,
    },
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
@ GPIO_AF5
use alternate function 5
 
#define SPI_CS_UNDEF
Define value for unused CS line.
 
@ APB1
Advanced Peripheral Bus 1
 
@ APB2
Advanced Peripheral Bus 2
 
 
Definition at line 200 of file periph_conf.h.
 
 
◆ timer_config
Initial value:= {
    {
        .dev      = TIM2,
        .max      = 0xffffffff,
        .rcc_mask = RCC_APB1ENR_TIM2EN,
        .irqn     = TIM2_IRQn
    }
}
 
Definition at line 51 of file periph_conf.h.