Ignore:
Timestamp:
Dec 3, 2024, 8:26:26 AM (6 weeks ago)
Author:
Zed
Message:

Added SPI module for Display.

Location:
ctrl/firmware/Main/CubeMX/Core/Inc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/CubeMX/Core/Inc/main.h

    r11 r45  
    5858
    5959/* Private defines -----------------------------------------------------------*/
     60#define SPI4_NSS_DISPLAY_Pin GPIO_PIN_11
     61#define SPI4_NSS_DISPLAY_GPIO_Port GPIOE
     62#define SPI4_SCK_DISPLAY_Pin GPIO_PIN_12
     63#define SPI4_SCK_DISPLAY_GPIO_Port GPIOE
     64#define SPI4_MOSI_DISPLAY_Pin GPIO_PIN_14
     65#define SPI4_MOSI_DISPLAY_GPIO_Port GPIOE
    6066
    6167/* USER CODE BEGIN Private defines */
  • ctrl/firmware/Main/CubeMX/Core/Inc/stm32h7xx_hal_conf.h

    r39 r45  
    7373/* #define HAL_MMC_MODULE_ENABLED   */
    7474/* #define HAL_SPDIFRX_MODULE_ENABLED   */
    75 /* #define HAL_SPI_MODULE_ENABLED   */
     75#define HAL_SPI_MODULE_ENABLED
    7676/* #define HAL_SWPMI_MODULE_ENABLED   */
    7777/* #define HAL_TIM_MODULE_ENABLED   */
  • ctrl/firmware/Main/CubeMX/Core/Inc/stm32h7xx_it.h

    r13 r45  
    5656void PendSV_Handler(void);
    5757void SysTick_Handler(void);
     58void DMA1_Stream0_IRQHandler(void);
     59void SPI4_IRQHandler(void);
    5860/* USER CODE BEGIN EFP */
    5961
Note: See TracChangeset for help on using the changeset viewer.