[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 258: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 320: mysqli_free_result(): Couldn't fetch mysqli_result
rusefi.com The most advanced open source ECU 2024-12-05T14:25:16 https://rusefi.com/forum/app.php/feed/topic/2857 2024-12-05T14:25:16 2024-12-05T14:25:16 https://rusefi.com/forum/viewtopic.php?t=2857&p=50229#p50229 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> https://github.com/rusefi/rusefi/wiki/rusEFI-Quick-Start-PDF#i-has-a-question

https://github.com/rusefi/rusefi/wiki/Support#q-what-is-discord

Statistics: Posted by AndreyB — Thu Dec 05, 2024 2:25 pm


]]>
2024-12-05T14:10:32 2024-12-05T14:10:32 https://rusefi.com/forum/viewtopic.php?t=2857&p=50227#p50227 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> I flashed a custom rusefi.bin using the MRE updater.
However now I cannot upload any more firmware because the update program thinks the connected board is not the MRE.
I screwed up with the board definition.

Is there a work around or do I have to write the chip directly no with a link programmer?
image.png

Statistics: Posted by chili023 — Thu Dec 05, 2024 2:10 pm


]]>
2024-12-05T13:29:34 2024-12-05T13:29:34 https://rusefi.com/forum/viewtopic.php?t=2857&p=50226#p50226 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> It looks like this:
image.png
If i try to configure SPI4 to 6 it always tells me that my board is equipped with it.
image.png
SPI1 talkes to t8888 and SPI2 to the SD card. So I have to use SPI3.

Statistics: Posted by chili023 — Thu Dec 05, 2024 1:29 pm


]]>
2024-12-05T12:02:32 2024-12-05T12:02:32 https://rusefi.com/forum/viewtopic.php?t=2857&p=50225#p50225 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> I have stock firmware..

do not edit inifile... it is not right way to configure MRE..

use stock ini file, create project in TS ...
and then go to Controler > SPI > and set SPI3 enable to true

Statistics: Posted by JRD McLAREN — Thu Dec 05, 2024 12:02 pm


]]>
2024-12-05T11:46:52 2024-12-05T11:46:52 https://rusefi.com/forum/viewtopic.php?t=2857&p=50224#p50224 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> Thanks for the reply. I have edited the tunerstudio mainController.ini file and enabled SPI3 setings in full pinout 1/3

Code:

dialog = spiBus3, "SPI3 settings"field = "Enable",is_enabled_spi_3
image.png
However SPI3 is not enabled in microrusEFI?!?! (Still a question) I think.
in board_configuration for microrusefi in .\rusefi-SR1\firmware\config\boards\microrusefi

the SPI3 is not specifically enabled, as far as I see. SPI1 and 2 are though.
engineConfiguration->is_enabled_spi_1 = true;
engineConfiguration->is_enabled_spi_2 = true;
is present
engineConfiguration->is_enabled_spi_3 = true; not.

Is this correct?

It is also not found in any other files that will be compiled for the latest firmware. So I assume I have to enable spi3 and compile a custom firmware correct?

Statistics: Posted by chili023 — Thu Dec 05, 2024 11:46 am


]]>
2024-12-05T11:28:39 2024-12-05T11:28:39 https://rusefi.com/forum/viewtopic.php?t=2857&p=50223#p50223 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> try simple thing...

Enable SPI3 interface on TunerStudio ... (try to look at my Online tune ..)
..it can be enabled .. I think ..

My MRE and addon board has SD card slot and EGT chip wired to SPI3 interface..
..and it works ...
..so I have old firmware, on my very first MRE, build by myself .. few years ago ..

Statistics: Posted by JRD McLAREN — Thu Dec 05, 2024 11:28 am


]]>
2024-12-05T08:46:03 2024-12-05T08:46:03 https://rusefi.com/forum/viewtopic.php?t=2857&p=50221#p50221 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> We have MRE 0.6.0 so we should be able to use SPI3 on J4. SPI2 is handling the SD Card. Am I correct?

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


]]>
2024-12-05T07:34:40 2024-12-05T07:34:40 https://rusefi.com/forum/viewtopic.php?t=2857&p=50219#p50219 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> Is this problem so hard to solve? Are my simple questions so hard to answer?

Seams rusEFI user support is the biggest drawback compared to other ECUs.

Consoering the overal plan for our project.
Integrate BME280
Integrate Mazda incylinder pressure transducer
traction controll
and many more.

I am fearing this forum cannot support us with the support we need.

I am trying to install the toolchain to compile my own firmware but I still do not know if this is the correct way to use a simple chip like the MAX31855

Statistics: Posted by chili023 — Thu Dec 05, 2024 7:34 am


]]>
2024-12-04T18:50:54 2024-12-04T18:50:54 https://rusefi.com/forum/viewtopic.php?t=2857&p=50217#p50217 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> in the board_configuration.cpp the SPI3 is not enabled in setBoardConfigOverrides()

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;}
I want to change that to

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;}
I am trying to compile the new code but it interrupts with errors.
Is this the correct way?

Statistics: Posted by chili023 — Wed Dec 04, 2024 6:50 pm


]]>
2024-12-04T18:20:53 2024-12-04T18:20:53 https://rusefi.com/forum/viewtopic.php?t=2857&p=50216#p50216 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]>
Is it correct that I need custom firmware to activate the SPI3?
Maybe better question why is SPI3 not available on microrusEFI in the first place. Is that some sort of DMA conflict?

More or less https://en.wikipedia.org/wiki/XY_problem blah blah blah

Statistics: Posted by AndreyB — Wed Dec 04, 2024 6:20 pm


]]>
2024-12-04T18:06:59 2024-12-04T18:06:59 https://rusefi.com/forum/viewtopic.php?t=2857&p=50215#p50215 <![CDATA[Re: micro rusEFI and MAX31855 SPI]]> https://rusefi.com/forum/viewtopic.php?f=4&t=2215&start=30

..(netreba vymyslat teplu vodu .. :mrgreen: ) ..

Statistics: Posted by JRD McLAREN — Wed Dec 04, 2024 6:06 pm


]]>
2024-12-04T15:45:01 2024-12-04T15:45:01 https://rusefi.com/forum/viewtopic.php?t=2857&p=50214#p50214 <![CDATA[micro rusEFI and MAX31855 SPI]]> I am trying to get the SPI3 running on microrusEFI.
Is it correct that I need custom firmware to activate the SPI3?
I want to use PB9 PC10 and PC11 on J4.

Thanks

Statistics: Posted by chili023 — Wed Dec 04, 2024 3:45 pm


]]>