Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new variant for WeAct MiniSTM32H743VITX and MiniSTM32H750VBT #1552

Merged
merged 17 commits into from
Nov 26, 2021
Merged

Add a new variant for WeAct MiniSTM32H743VITX and MiniSTM32H750VBT #1552

merged 17 commits into from
Nov 26, 2021

Commits on Nov 20, 2021

  1. Add a new variant for WeAct MiniSTM32H743VITX

    The board schematics, images at the time of this commit is found at
    https://github.com/WeActTC/MiniSTM32H7xx
    
    This variant is 'unofficial' (i.e. this is community contributed and not
    from the original vendor)
    
    it is actually adapted from the generic variant found in
    https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32H7xx/H742V(G-I)(H-T)_H743V(G-I)(H-T)_H750VBT_H753VI(H-T)
    
    the changes are:
    1) created a void SystemClock_Config(void) that use the external 25 Mhz
    HSE crystal. this makes it run at 480 Mhz ! USB (CDC Serial) still
    works per normal.
    
    much of the rest of the peripherals are clocked at 80 Mhz (from the
    outputs of PLL2 and PLL3), that's the max allowable documented in ref
    manual for the ADC.
    
    2) the rest of definitions are pretty much same as the generic variant
    with the following redefinitions
      a.  #define LED_BUILTIN PE3 (per schematics and tested)
      b.  #define USER_BTN PC13 (per schematics and tested)
      c.  SERIAL_TX PA9, SERIAL_RX PA10 - this makes the 1st hardware serial
          port UART1
    
    3) added 2 conveinence functions - this is only for this board and is
    only availaible if it is selected
       /* power saving mode, mcu runs significantly cooler
        * Sysclock 240 Mhz, bus clocks 120 Mhz */
      void SysClkHalfSpeed();
    
      /* full speed - sysclk from PLL1 P - 480 Mhz
       * Sysclock 480 Mhz, bus clocks 240 Mhz */
      void SysClkFullSpeed()
    
      This variant runs the systemclock default at 480 MHz (published max)
      and AHB at 240 MHz. The stm32h743 mcu tend to run pretty warm after a
      while (around 50 deg C). The half speed function call changes
      the system clock dividers (divide by 2 - gives 240 Mhz)
      and AHB dividers (divide further by 2 - gives 120 Mhz)
      so that it runs at 1/2 the PLL1 P speeds (480 Mhz).
      the mcu runs significantly cooler running at 1/2 speeds.
      some tests has been done to swtich the speeds calling the functions at
      run time, they seem to work ok. But tests isn't thorough, so check
      things if you use the speed changing functions.
    ag88 committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    1b7fb6b View commit details
    Browse the repository at this point in the history
  2. update label, more precise

    change label WeActMiniH743VITX instead of WeActMiniH7xx
    ag88 committed Nov 20, 2021
    Configuration menu
    Copy the full SHA
    685ac83 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2021

  1. add board ifdef to prevent cross dependencies

    update variant_WeActMiniH743VITX.cpp add board ifdef to prevent other
    boards from picking up definitions from this board (i.e. prevent cross
    dependencies). This is to allow other similar boards to co-exist.
    ag88 committed Nov 21, 2021
    Configuration menu
    Copy the full SHA
    540479d View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. fix astyle spacing errors

    fix some astyle errors caused by spacing formatting (e.g. use space
    instead of tabs)
    ag88 committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    71c53cb View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. Configuration menu
    Copy the full SHA
    0145338 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. update README.md entry for board

    update README.md entry for WeAct MiniSTM32H743VIT6 board
    ag88 committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    86228aa View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. fix: typo

    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    6ea1494 View commit details
    Browse the repository at this point in the history
  2. chore: move WeActH743 entry before generic one

    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    68af9e4 View commit details
    Browse the repository at this point in the history
  3. chore: cleanup

    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    796463c View commit details
    Browse the repository at this point in the history
  4. chore: reorder pins based on P1 and P2 connectors

    and add descriptions
    
    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    fa8f940 View commit details
    Browse the repository at this point in the history
  5. chore: add alias for button and LED

    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    005d0d3 View commit details
    Browse the repository at this point in the history
  6. chore: use free SPI and I2C pins

    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    808c32d View commit details
    Browse the repository at this point in the history
  7. fix: default Serial instance

    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    65ece3e View commit details
    Browse the repository at this point in the history
  8. chore: do not enable HAL Ethernet module

    several pins already connected to other peripherals
    
    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    da68002 View commit details
    Browse the repository at this point in the history
  9. chore: add custom peripheral pins

    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    aba291e View commit details
    Browse the repository at this point in the history
  10. variant: add WeAct MiniSTM32H750VBT6 support

    Signed-off-by: Frederic Pillon <[email protected]>
    fpistm committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    c10a332 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #1 from fpistm/WeActH7xx_1552

    WeAct H7xx PR 1552
    ag88 authored Nov 25, 2021
    Configuration menu
    Copy the full SHA
    c8584f6 View commit details
    Browse the repository at this point in the history