bench test 33810 module #5745

This commit is contained in:
rusefi 2023-11-23 10:34:57 -05:00
parent 898d47bf24
commit cf4479f8d1
2 changed files with 7 additions and 1 deletions

View File

@ -186,7 +186,7 @@ static const struct mc33810_config mc33810 = {
if (engineConfiguration->engineType == engine_type_e::FRANKENSO_TEST_33810) {
int ret = mc33810_add(Gpio::MC33810_0_OUT_0, 0, &mc33810);
efiPrintf("mc33810_add %d", ret);
efiPrintf("****************** mc33810_add %d ********************", ret);
// todo: add to more appropriate location?

View File

@ -79,6 +79,12 @@ void setDiscoveryPdm() {
* set engine_type 59
*/
void setDiscovery33810Test() {
// spi3mosiPin = Gpio::B5 grey
// spi3misoPin = Gpio::B4; vio
// spi3sckPin = Gpio::B3; blue
// CS PC5 white
// EN PA6 yellow
engineConfiguration->injectionPins[0] = Gpio::MC33810_0_OUT_0;
engineConfiguration->injectionPins[1] = Gpio::MC33810_0_OUT_1;
engineConfiguration->injectionPins[2] = Gpio::Unassigned;