Statistics: Posted by AndreyB — Thu Dec 05, 2024 2:25 pm
Statistics: Posted by chili023 — Thu Dec 05, 2024 2:10 pm
Statistics: Posted by chili023 — Thu Dec 05, 2024 1:29 pm
Statistics: Posted by JRD McLAREN — Thu Dec 05, 2024 12:02 pm
Code:
dialog = spiBus3, "SPI3 settings"field = "Enable",is_enabled_spi_3
Statistics: Posted by chili023 — Thu Dec 05, 2024 11:46 am
Statistics: Posted by JRD McLAREN — Thu Dec 05, 2024 11:28 am
Code:
# Combine the related files for a specific platform and MCU.# *TEMPORARY* breaking TTL thus breaking Bluetooth for microRusEFI in order to enable SPI3 for SD card# *TODO* need to give people the horrible choice between Bluetooth via TTL or SD card via SPI :( horrible choice# PB10/PB11 uses UART3 peripheral and J12/J13 on MRE# we also have PC10/PC11 exposed on J4 but that's same UART3DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::B10 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::B11# on[b] MRE 0.6.0[/b] we have SD card on SPI2 which shared channel 3 with USART3# todo: enable serial which would not DMA thus not conflict?DDEFS += -DSTM32_UART_USE_USART3=FALSE -DHAL_USE_UART=FALSEDDEFS += -DEFI_USE_UART_DMA=FALSE
Statistics: Posted by chili023 — Thu Dec 05, 2024 8:46 am
Statistics: Posted by chili023 — Thu Dec 05, 2024 7:34 am
Code:
void setBoardConfigOverrides() {// SPI3 for expansion header// Don't override enable since you might want these pins for something elseengineConfiguration->spi3mosiPin = Gpio::C12;engineConfiguration->spi3misoPin = Gpio::C11;engineConfiguration->spi3sckPin = Gpio::C10;}
Code:
void setBoardConfigOverrides() {// SPI3 for expansion header// Don't override enable since you might want these pins for something elseengineConfiguration->is_enabled_spi_3 = true;//engineConfiguration->spi3mosiPin = Gpio::C12;engineConfiguration->spi3misoPin = Gpio::C11;engineConfiguration->spi3sckPin = Gpio::C10;}
Statistics: Posted by chili023 — Wed Dec 04, 2024 6:50 pm
Statistics: Posted by AndreyB — Wed Dec 04, 2024 6:20 pm
Statistics: Posted by JRD McLAREN — Wed Dec 04, 2024 6:06 pm
Statistics: Posted by chili023 — Wed Dec 04, 2024 3:45 pm