UM1940
Configuration item
PREFETCH_ENABLE
INSTRUCTION_CACHE_ENABLE
DATA_CACHE_ENABLE
USE HAL_PPP_MODULE
ETH_RX_BUF_SIZE
ETH_TX_BUF_SIZE
DP83848_PHY_ADDRESS
PHY_RESET_DELAY
PHY_CONFIG_DELAY
PHY_BCR PHY_BSR
PHY_SR PHY_MICR PHY_MISR
VDD_VALUE
USE_RTOS
MAC_ADDRx
ETH_RXBUFNB
ETH_TXBUFNB
The stm32f2xx_hal_conf_template.h file is located in the HAL driver Inc folder. It
should be copied to the user folder, renamed and modified as described above.
By default, the values defined in the stm32f2xx_hal_conf_template.h file are the
same as the ones used for the examples and demonstrations. All HAL include
files are enabled so that they can be used in the user code without modifications.
DocID028236 Rev 2
Description
VDD value
Enables the use of RTOS
Enables prefetch feature
Enables instruction cache
Enables data cache
Enables module to be used in
the HAL driver
Ethernet peripheral
configuration : MAC address
Ethernet buffer size for
reception
Ethernet buffer size for trasmit
The number of Rx buffers of
size ETH_RX_BUF_SIZE
The number of Tx buffers of size
ETH_RX_BUF_SIZE
DB83848 Ethernet PHY
Address
PHY Reset delay these values
are based on a 1 ms SysTick
interrupt
PHY Configuration delay
Common PHY Registers
Extended PHY registers
Overview of HAL drivers
Default Value
3300 (mV)
FALSE (for future use)
TRUE
TRUE
TRUE
ETH_MAX_PACKET_SIZE
ETH_MAX_PACKET_SIZE
4
4
0x01
0x000000FF
0x00000FFF
45/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers