精品国产人成在线_亚洲高清无码在线观看_国产在线视频国产永久2021_国产AV综合第一页一个的一区免费影院黑人_最近中文字幕MV高清在线视频

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示

STM32H743以太網驅動調試過程簡析

冬至子 ? 來源:xinyz4104 ? 作者:xinyz4104 ? 2023-08-14 16:44 ? 次閱讀

硬件環境:
基于STM32H743IIT6自研單板
(1)外部時鐘:25MHz
(2)調試串口: PC12 ———> UART5_TX
PD2 ———> UART5_RX
(3)以太網
PC1 ———> ETH_MDC
PA1 ———> ETH_REF_CLK
PA2 ———> ETH_MDIO
PA7 ———> ETH_CRS_DV
PC4 ———> ETH_RXD0
PC5 ———> ETH_RXD1
PB11 ———> ETH_TX_EN
PB12 ———> ETH_TXD0
PB13 ———> ETH_TXD1

PE15 ------> RESET_PHY

軟件開發環境
RT-Thread Studio
版本: 2.2.6
構建ID: 202211231640
OS: Windows 10, v.10.0, x86_64 / win32

創建RT-Thread項目

1.jpg

串口功能

1.jpg

修改時鐘參數

時鐘樹配置如下:

1.jpg

修改drv_clk.c文件中的system_clock_config()函數

void system_clock_config(int target_freq_mhz)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/** Supply configuration update enable
/
HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
/
* Configure the main internal regulator output voltage
/
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
while(!__HAL_PWR_GET_FLAG(PWR_FLAG_VOSRDY)) {}
/
* Initializes the RCC Oscillators according to the specified parameters

  • in the RCC_OscInitTypeDef structure.
    /
    RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
    RCC_OscInitStruct.HSEState = RCC_HSE_ON;
    RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
    RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
    RCC_OscInitStruct.PLL.PLLM = 2;
    RCC_OscInitStruct.PLL.PLLN = 64;
    RCC_OscInitStruct.PLL.PLLP = 2;
    RCC_OscInitStruct.PLL.PLLQ = 2;
    RCC_OscInitStruct.PLL.PLLR = 2;
    RCC_OscInitStruct.PLL.PLLRGE = RCC_PLL1VCIRANGE_3;
    RCC_OscInitStruct.PLL.PLLVCOSEL = RCC_PLL1VCOWIDE;
    RCC_OscInitStruct.PLL.PLLFRACN = 0;
    if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
    {
    Error_Handler();
    }
    /
    * Initializes the CPU, AHB and APB buses clocks
    */
    RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
    |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2
    |RCC_CLOCKTYPE_D3PCLK1|RCC_CLOCKTYPE_D1PCLK1;
    RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
    RCC_ClkInitStruct.SYSCLKDivider = RCC_SYSCLK_DIV1;
    RCC_ClkInitStruct.AHBCLKDivider = RCC_HCLK_DIV2;
    RCC_ClkInitStruct.APB3CLKDivider = RCC_APB3_DIV2;
    RCC_ClkInitStruct.APB1CLKDivider = RCC_APB1_DIV2;
    RCC_ClkInitStruct.APB2CLKDivider = RCC_APB2_DIV2;
    RCC_ClkInitStruct.APB4CLKDivider = RCC_APB4_DIV2;
    if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK)
    {
    Error_Handler();
    }
    }
    修改board.h文件時鐘參數

/ -------------------------- CLOCK CONFIG BEGIN -------------------------- /
#define BSP_CLOCK_SOURCE ("HSE")
#define BSP_CLOCK_SOURCE_FREQ_MHZ ((int32_t)0)
#define BSP_CLOCK_SYSTEM_FREQ_MHZ ((int32_t)400)
/ -------------------------- CLOCK CONFIG END -------------------------- /

修改內存參數

1.jpg

修改board.h文件RAM參數

/ -------------------------- ROM/RAM CONFIG BEGIN -------------------------- /
#define ROM_START ((uint32_t)0x08000000)
#define ROM_SIZE (1024 * 1024)
#define ROM_END ((uint32_t)(ROM_START + ROM_SIZE))
//#define RAM_START (0x20000000)
//#define RAM_SIZE (128 * 1024)
//#define RAM_END (RAM_START + RAM_SIZE)
#define RAM_START (0x24000000)
#define RAM_SIZE (512 * 1024)
#define RAM_END (RAM_START + RAM_SIZE)
/ -------------------------- ROM/RAM CONFIG END -------------------------- /

使能網絡配置

1.jpg

1.jpg

PS:采用靜態IP地址,默認IP地址(192.168.1.30)見rtconfig.h文件

1.jpg

網絡參數配置
參考board.h中的ETH CONFIG部分,按步驟配置

/ -------------------------- ETH CONFIG BEGIN -------------------------- /
/** if you want to use eth you can use the following instructions.
*

  • STEP 1, define macro related to the eth
  • such as    BSP_USING_ETH
    
  • STEP 2, copy your eth init function from stm32xxxx_hal_msp.c generated by stm32cubemx to the end if board.c file
  • such as     void HAL_ETH_MspInit(ETH_HandleTypeDef* heth)
    
  • STEP 3, modify your stm32xxxx_hal_config.h file to support eth peripherals. define macro related to the peripherals
  • such as     #define HAL_ETH_MODULE_ENABLED
    
  • STEP 4, config your phy type
  • such as     #define PHY_USING_LAN8720A
    
  • #define PHY_USING_DM9161CEP
    
  • #define PHY_USING_DP83848C
    
  • STEP 5, implement your phy reset function in the end of board.c file
  • void phy_reset(void)
    
  • STEP 6, config your lwip or other network stack

/
#define BSP_USING_ETH
#ifdef BSP_USING_ETH
#define PHY_USING_LAN8720A
/
#define PHY_USING_DM9161CEP*/
/ #define PHY_USING_DP83848C /
#endif
/ -------------------------- ETH CONFIG END -------------------------- /

1.jpg

在board.c中添加HAL_ETH_MspInit函數

void HAL_ETH_MspInit(ETH_HandleTypeDef* ethHandle)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(ethHandle->Instance==ETH)
{
/* USER CODE BEGIN ETH_MspInit 0 /
/
USER CODE END ETH_MspInit 0 /
/
Enable Peripheral clock */
__HAL_RCC_ETH1MAC_CLK_ENABLE();
__HAL_RCC_ETH1TX_CLK_ENABLE();
__HAL_RCC_ETH1RX_CLK_ENABLE();
__HAL_RCC_GPIOC_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**ETH GPIO Configuration
PC1 ------> ETH_MDC
PA1 ------> ETH_REF_CLK
PA2 ------> ETH_MDIO
PA7 ------> ETH_CRS_DV
PC4 ------> ETH_RXD0
PC5 ------> ETH_RXD1
PB11 ------> ETH_TX_EN
PB12 ------> ETH_TXD0
PB13 ------> ETH_TXD1
/
GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_4|GPIO_PIN_5;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_7;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12|GPIO_PIN_13;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF11_ETH;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/
Peripheral interrupt init /
HAL_NVIC_SetPriority(ETH_IRQn, 0, 0);
HAL_NVIC_EnableIRQ(ETH_IRQn);
/
USER CODE BEGIN ETH_MspInit 1 /
/
USER CODE END ETH_MspInit 1 */
}
}

替換drv_eth.c、drv_eth.h文件

注釋phy.h文件中的PHY_FULL_DUPLEX宏定義
//#define PHY_FULL_DUPLEX 1U / PHY full duplex. /

在board.h文件中添加復位管教配置

#define BSP_USING_ETH
#ifdef BSP_USING_ETH
#define PHY_USING_LAN8720A
#define ETH_RESET_PIN "PE.15"

成果展示

至此,網絡已經可以ping通了,參考網友的資料

1.jpg

網絡內存配置

1.jpg

修改link.lds文件

/*

  • linker script for STM32H743IITx with GNU ld
    /
    /
    Program Entry, set to mark it as "used" and avoid gc /
    MEMORY
    {
    ROM (rx) : ORIGIN =0x08000000,LENGTH =1024k
    RAM (rw) : ORIGIN =0x24000000,LENGTH =512k
    RxDecripSection (rw) : ORIGIN =0x30040000,LENGTH =32k
    TxDecripSection (rw) : ORIGIN =0x30040060,LENGTH =32k
    RxArraySection (rw) : ORIGIN =0x30040200,LENGTH =32k
    }
    ENTRY(Reset_Handler)
    _system_stack_size = 0x400;
    SECTIONS
    {
    .text :
    {
    . = ALIGN(4);
    _stext = .;
    KEEP(
    (.isr_vector)) /* Startup code /
    . = ALIGN(4);
    (.text) / remaining code /
    (.text. ) /
    remaining code /
    (.rodata) / read-only data (constants) /
    (.rodata )
    (.glue_7)
    (.glue_7t)
    (.gnu.linkonce.t )
    /
    section information for finsh shell /
    . = ALIGN(4);
    __fsymtab_start = .;
    KEEP(
    (FSymTab))
    __fsymtab_end = .;
    . = ALIGN(4);
    __vsymtab_start = .;
    KEEP(
    (VSymTab))
    __vsymtab_end = .;
    /
    section information for utest /
    . = ALIGN(4);
    __rt_utest_tc_tab_start = .;
    KEEP(
    (UtestTcTab))
    __rt_utest_tc_tab_end = .;
    /
    section information for at server /
    . = ALIGN(4);
    __rtatcmdtab_start = .;
    KEEP(
    (RtAtCmdTab))
    __rtatcmdtab_end = .;
    . = ALIGN(4);
    /
    section information for initial. /
    . = ALIGN(4);
    __rt_init_start = .;
    KEEP(
    (SORT(.rti_fn*)))
    __rt_init_end = .;
    . = ALIGN(4);
    PROVIDE(ctors_start = .);
    KEEP ( (SORT(.init_array. )))
    KEEP ((.init_array))
    PROVIDE(ctors_end = .);
    . = ALIGN(4);
    _etext = .;
    } > ROM = 0
    /
    .ARM.exidx is sorted, so has to go in its own output section. /
    __exidx_start = .;
    .ARM.exidx :
    {
    (.ARM.exidx .gnu.linkonce.armexidx.
    )
    /* This is used by the startup in order to initialize the .data secion /
    _sidata = .;
    } > ROM
    __exidx_end = .;
    /
    .data section which is used for initialized data /
    .data : AT (_sidata)
    {
    . = ALIGN(4);
    /
    This is used by the startup in order to initialize the .data secion /
    _sdata = . ;
    (.data)
    (.data. )
    (.gnu.linkonce.d )
    PROVIDE(dtors_start = .);
    KEEP(
    (SORT(.dtors.
    )))
    KEEP((.dtors))
    PROVIDE(dtors_end = .);
    . = ALIGN(4);
    /
    This is used by the startup in order to initialize the .data secion /
    _edata = . ;
    } >RAM
    .stack :
    {
    . = ALIGN(4);
    _sstack = .;
    . = . + _system_stack_size;
    . = ALIGN(4);
    _estack = .;
    } >RAM
    __bss_start = .;
    .bss :
    {
    . = ALIGN(4);
    /
    This is used by the startup in order to initialize the .bss secion */
    _sbss = .;
    *(.bss)
    (.bss. )
    (COMMON)
    . = ALIGN(4);
    /
    This is used by the startup in order to initialize the .bss secion */
    _ebss = . ;
    *(.bss.init)
    } > RAM
    __bss_end = .;
    .RxDecripSection (NOLOAD) : ALIGN(4)
    {
    . = ALIGN(4);
    *(.RxDecripSection)
    (.RxDecripSection. )
    . = ALIGN(4);
    RxDecripSection_free = .;
    } > RxDecripSection
    .TxDecripSection (NOLOAD) : ALIGN(4)
    {
    . = ALIGN(4);
    *(.TxDecripSection)
    (.TxDecripSection. )
    . = ALIGN(4);
    TxDecripSection_free = .;
    } > TxDecripSection
    .RxArraySection (NOLOAD) : ALIGN(4)
    {
    . = ALIGN(4);
    (.RxArraySection)
    (.RxArraySection. )
    . = ALIGN(4);
    RxArraySection_free = .;
    } > RxArraySection
    _end = .;
    /
    Stabs debugging sections. */
    .stab 0 : { *(.stab) }
    .stabstr 0 : { *(.stabstr) }
    .stab.excl 0 : { *(.stab.excl) }
    .stab.exclstr 0 : { *(.stab.exclstr) }
    .stab.index 0 : { *(.stab.index) }
    .stab.indexstr 0 : { *(.stab.indexstr) }
    .comment 0 : { (.comment) }
    /
    DWARF debug sections.
    • Symbols in the DWARF debugging sections are relative to the beginning
    • of the section so we begin them at 0. /
      /
      DWARF 1 */
      .debug 0 : { *(.debug) }
      .line 0 : { (.line) }
      /
      GNU DWARF 1 extensions */
      .debug_srcinfo 0 : { *(.debug_srcinfo) }
      .debug_sfnames 0 : { (.debug_sfnames) }
      /
      DWARF 1.1 and DWARF 2 */
      .debug_aranges 0 : { *(.debug_aranges) }
      .debug_pubnames 0 : { (.debug_pubnames) }
      /
      DWARF 2 */
      .debug_info 0 : { (.debug_info .gnu.linkonce.wi. ) }
      .debug_abbrev 0 : { *(.debug_abbrev) }
      .debug_line 0 : { *(.debug_line) }
      .debug_frame 0 : { *(.debug_frame) }
      .debug_str 0 : { *(.debug_str) }
      .debug_loc 0 : { *(.debug_loc) }
      .debug_macinfo 0 : { (.debug_macinfo) }
      /
      SGI/MIPS DWARF 2 extensions */
      .debug_weaknames 0 : { *(.debug_weaknames) }
      .debug_funcnames 0 : { *(.debug_funcnames) }
      .debug_typenames 0 : { *(.debug_typenames) }
      .debug_varnames 0 : { *(.debug_varnames) }
      }
      MPU配置
      在board.c文件中添加MPU_Config函數,兩個方案的區別在于是否使能catch
      (1)方案一

void MPU_Config(void)
{
MPU_Region_InitTypeDef MPU_InitStruct;
/* Disable the MPU /
HAL_MPU_Disable();
/
Configure the MPU attributes as WT for AXI SRAM /
MPU_InitStruct.Enable = MPU_REGION_ENABLE;
MPU_InitStruct.BaseAddress = 0x24000000;
MPU_InitStruct.Size = MPU_REGION_SIZE_512KB;
MPU_InitStruct.AccessPermission = MPU_REGION_FULL_ACCESS;
MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE;
MPU_InitStruct.IsCacheable = MPU_ACCESS_CACHEABLE;
MPU_InitStruct.IsShareable = MPU_ACCESS_NOT_SHAREABLE;
MPU_InitStruct.Number = MPU_REGION_NUMBER0;
MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL0;
MPU_InitStruct.SubRegionDisable = 0X00;
MPU_InitStruct.DisableExec = MPU_INSTRUCTION_ACCESS_ENABLE;
HAL_MPU_ConfigRegion(&MPU_InitStruct);
#ifdef BSP_USING_SDRAM
/
Configure the MPU attributes as WT for SDRAM /
MPU_InitStruct.Enable = MPU_REGION_ENABLE;
MPU_InitStruct.BaseAddress = 0xC0000000;
MPU_InitStruct.Size = MPU_REGION_SIZE_32MB;
MPU_InitStruct.AccessPermission = MPU_REGION_FULL_ACCESS;
MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE;
MPU_InitStruct.IsCacheable = MPU_ACCESS_CACHEABLE;
MPU_InitStruct.IsShareable = MPU_ACCESS_NOT_SHAREABLE;
MPU_InitStruct.Number = MPU_REGION_NUMBER1;
MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL0;
MPU_InitStruct.SubRegionDisable = 0x00;
MPU_InitStruct.DisableExec = MPU_INSTRUCTION_ACCESS_ENABLE;
HAL_MPU_ConfigRegion(&MPU_InitStruct);
#endif
#ifdef BSP_USING_ETH
/
Configure the MPU attributes as Device not cacheable
for ETH DMA descriptors and RX Buffers*/
MPU_InitStruct.Enable = MPU_REGION_ENABLE;
MPU_InitStruct.BaseAddress = 0x30040000;
MPU_InitStruct.Size = MPU_REGION_SIZE_32KB;
MPU_InitStruct.AccessPermission = MPU_REGION_FULL_ACCESS;
MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE;
MPU_InitStruct.IsCacheable = MPU_ACCESS_NOT_CACHEABLE;
MPU_InitStruct.IsShareable = MPU_ACCESS_SHAREABLE;
MPU_InitStruct.Number = MPU_REGION_NUMBER2;
MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL1;
MPU_InitStruct.SubRegionDisable = 0x00;
MPU_InitStruct.DisableExec = MPU_INSTRUCTION_ACCESS_ENABLE;
HAL_MPU_ConfigRegion(&MPU_InitStruct);
#endif
/* Configure the MPU attributes as WT for QSPI /
// MPU_InitStruct.Enable = MPU_REGION_ENABLE;
// MPU_InitStruct.BaseAddress = 0x90000000;
// MPU_InitStruct.Size = MPU_REGION_SIZE_8MB;
// MPU_InitStruct.AccessPermission = MPU_REGION_FULL_ACCESS;
// MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE;
// MPU_InitStruct.IsCacheable = MPU_ACCESS_CACHEABLE;
// MPU_InitStruct.IsShareable = MPU_ACCESS_NOT_SHAREABLE;
// MPU_InitStruct.Number = MPU_REGION_NUMBER3;
// MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL0;
// MPU_InitStruct.SubRegionDisable = 0X00;
// MPU_InitStruct.DisableExec = MPU_INSTRUCTION_ACCESS_ENABLE;
//
// HAL_MPU_ConfigRegion(&MPU_InitStruct);
/
Enable the MPU /
HAL_MPU_Enable(MPU_PRIVILEGED_DEFAULT);
/
Enable CACHE */
SCB_EnableICache();
SCB_EnableDCache();
return RT_EOK;
}
(2)方案二

{
MPU_Region_InitTypeDef MPU_InitStruct = {0};
/* Disables the MPU /
HAL_MPU_Disable();
/
* Initializes and configures the Region and the memory to be protected
/
MPU_InitStruct.Enable = MPU_REGION_ENABLE;
MPU_InitStruct.Number = MPU_REGION_NUMBER0;
MPU_InitStruct.BaseAddress = 0x30040000;
MPU_InitStruct.Size = MPU_REGION_SIZE_256B;
MPU_InitStruct.SubRegionDisable = 0x00;
MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL0;
MPU_InitStruct.AccessPermission = MPU_REGION_FULL_ACCESS;
MPU_InitStruct.DisableExec = MPU_INSTRUCTION_ACCESS_ENABLE;
MPU_InitStruct.IsShareable = MPU_ACCESS_NOT_SHAREABLE;
MPU_InitStruct.IsCacheable = MPU_ACCESS_NOT_CACHEABLE;
MPU_InitStruct.IsBufferable = MPU_ACCESS_BUFFERABLE;
HAL_MPU_ConfigRegion(&MPU_InitStruct);
/
* Initializes and configures the Region and the memory to be protected
/
MPU_InitStruct.Number = MPU_REGION_NUMBER1;
MPU_InitStruct.BaseAddress = 0x30044000;
MPU_InitStruct.Size = MPU_REGION_SIZE_16KB;
MPU_InitStruct.IsCacheable = MPU_ACCESS_CACHEABLE;
MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE;
HAL_MPU_ConfigRegion(&MPU_InitStruct);
/
Enables the MPU */
HAL_MPU_Enable(MPU_PRIVILEGED_DEFAULT);
}
調用MPU配置函數
修改drv_common.c文件的hw_board_init函數

void hw_board_init(char clock_src, int32_t clock_src_freq, int32_t clock_target_freq)
{
extern void rt_hw_systick_init(void);
extern void clk_init(char clk_source, int source_freq, int target_freq);
#ifdef SCB_EnableICache
/
Enable I-Cache---------------------------------------------------------
/
SCB_EnableICache();
#endif
#ifdef SCB_EnableDCache
/* Enable D-Cache---------------------------------------------------------/
SCB_EnableDCache();
#endif
extern void MPU_Config(void);
MPU_Config();
/
HAL_Init() function is called at the beginning of the program /
HAL_Init();
/
enable interrupt /
__set_PRIMASK(0);
/
System clock initialization /
clk_init(clock_src, clock_src_freq, clock_target_freq);
/
disbale interrupt /
__set_PRIMASK(1);
rt_hw_systick_init();
/
Pin driver initialization is open by default /
#ifdef RT_USING_PIN
extern int rt_hw_pin_init(void);
rt_hw_pin_init();
#endif
/
USART driver initialization is open by default */
#ifdef RT_USING_SERIAL
extern int rt_hw_usart_init(void);
rt_hw_usart_init();
#endif
}

聲明:本文內容及配圖由入駐作者撰寫或者入駐合作網站授權轉載。文章觀點僅代表作者本人,不代表電子發燒友網立場。文章及其配圖僅供工程師學習之用,如有內容侵權或者其他違規問題,請聯系本站處理。 舉報投訴
  • 以太網
    +關注

    關注

    40

    文章

    5288

    瀏覽量

    169714
  • RCC
    RCC
    +關注

    關注

    0

    文章

    93

    瀏覽量

    26812
  • UART接口
    +關注

    關注

    0

    文章

    124

    瀏覽量

    15204
  • RT-Thread
    +關注

    關注

    31

    文章

    1239

    瀏覽量

    39447
  • STM32H743
    +關注

    關注

    0

    文章

    24

    瀏覽量

    1598
收藏 人收藏

    評論

    相關推薦

    使用STM32H743以太網,如何檢測以太網是否掉線?

    目前使用STM32H743以太網,目前我這里檢測以太網掉線(物理線纜脫掉)的方式為讀取PHY自動協商的狀態,但是這個部分放在主循環中感覺很不好,之前使用的TI芯片,會有一個寄存器的Bit顯示當前
    發表于 03-26 07:42

    STM32H743以太網與高速USB同時工作遇到的疑問求解

    STM32H743以太網與高速USB同時工作不可靠 各位大俠,我在一個項目中使用STM32H743的100M以太網和高速USB,高速USB是外置的PHY USB3300。使用的Cub
    發表于 04-09 07:53

    記錄一次STM32H743 CANFD調試過程中的一次BUG

    記錄一次STM32H743 CANFD調試過程中的一次BUG
    發表于 08-13 06:30

    STM32H743 Flash用來存什么

    STM32H743 Flash用來存什么?STM32H743 Flash的硬件特性和基本操作是什么?
    發表于 09-24 09:41

    NUCLEO STM32H743怎么使用?

    NUCLEO STM32H743怎么使用?
    發表于 11-08 06:25

    求一種基于STM32H743的錄音機調試方案

    怎樣去設計一種基于STM32H743的錄音機硬件部分?怎樣對基于STM32H743的錄音機軟件部分進行調試
    發表于 11-19 07:04

    STM32H743多路串口調試經驗分享

    STM32H743多路串口調試經驗分享
    發表于 12-08 06:35

    如何調試STM32H743的兩串口?

    如何調試STM32H743的兩串口?
    發表于 02-28 08:51

    STM32H743以太網驅動什么時候更新呢

    STM32H系列外設驅動已經支持了,什么時候更新呢?現在的版本調用以太網還是報錯呢
    發表于 09-30 10:15

    STM32H7是否支持usb gadget以太網

    有人知道 STM32H7 (STM32H743) 支持 usb gadget 以太網嗎?我在某處讀到 STM32F7,但不確定 STM32H
    發表于 12-05 06:37

    STM32H7以太網不工作怎么解決?

    STM32H753x 板上試過,所有這些都具有相同的行為。我還嘗試在以太網low_level_output()函數中添加 SCB_CleanInvalidateDCache()。我已禁用所有防火墻并驗證我可以
    發表于 01-12 08:49

    STM32H743芯片上實現CAN通信的步驟

    本篇筆記主要介紹,在STM32H743芯片上實現CAN通信,封裝為BSP驅動,為之后實現CAN的高層通信打下基礎。
    的頭像 發表于 09-14 14:33 ?1.5w次閱讀
    在<b class='flag-5'>STM32H743</b>芯片上實現CAN通信的步驟

    stm32h743外部RAM非字節對齊訪問,引起的hard fault

    stm32h743外部RAM非字節對齊訪問,引起的hard fault
    發表于 12-09 09:21 ?5次下載
    <b class='flag-5'>stm32h743</b>外部RAM非字節對齊訪問,引起的hard fault

    STM32cube實現STM32H743的USB驅動

    STM32cube實現STM32H743的USB驅動基于STM32cube實現STM32H743的USB
    發表于 12-28 19:53 ?37次下載
    用<b class='flag-5'>STM32</b>cube實現<b class='flag-5'>STM32H743</b>的USB<b class='flag-5'>驅動</b>

    stm32h743軟件模擬i2c驅動

    stm32h743 實現gpio模擬i2c資料分享
    發表于 12-01 11:12 ?7次下載