How to enable canbus and SDIO on custom board?
Posted: Thu Oct 07, 2021 9:05 pm
Been testing rusEFI on the custom board and am almost got everything I need working.
STMF407zg using SN65HVD230QDR
CAN1 is on PD0 and PD1
CAN2 is on PB5 and PB6
Compiled with:
#define EFI_CAN_SUPPORT TRUE
Alternative pin mode PIN_MODE_ALTERNATE and PIN_AFIO_AF( 0, 9U)
All set in TS but still no messages coming through to CANHacker SDIO is set as
PC8-PC9-PC10-PC11-PC12-PD2
#define EFI_FILE_LOGGING TRUE
#define EFI_SDC_DEVICE SDCD1
Alternative pin mode PIN_MODE_ALTERNATE and PIN_AFIO_AF( x, 12U)
A simple HAL sketch works fine with the same hardware.
Do I miss anything?
STMF407zg using SN65HVD230QDR
CAN1 is on PD0 and PD1
CAN2 is on PB5 and PB6
Compiled with:
#define EFI_CAN_SUPPORT TRUE
Alternative pin mode PIN_MODE_ALTERNATE and PIN_AFIO_AF( 0, 9U)
All set in TS but still no messages coming through to CANHacker SDIO is set as
PC8-PC9-PC10-PC11-PC12-PD2
#define EFI_FILE_LOGGING TRUE
#define EFI_SDC_DEVICE SDCD1
Alternative pin mode PIN_MODE_ALTERNATE and PIN_AFIO_AF( x, 12U)
A simple HAL sketch works fine with the same hardware.
Do I miss anything?