Skip to content

M1 Mac mini Kvaser Leaf v3 #25

@rayxke

Description

@rayxke

I was able to get the Kvaser Leaf v3 to work on an M1 Mac Mini with the following settings in KvaserCANDevices.h. I can make a PR with the changes if needed.

#if (OPTION_USB_LEAF_DEVEL_DEVICE != 0)
    #define USB_LEAF_DEVEL_PRODUCT_ID  279U
    #define USB_LEAF_DEVEL_DRV_FAMILY  KVASER_USB_MHYDRA_DEVICE_FAMILY
    #define USB_LEAF_DEVEL_NUM_CHANNELS         1U
    #define USB_LEAF_DEVEL_CAN_CLOCK            80U  // likely correct
    #define USB_LEAF_DEVEL_TIMER_FREQ           20U  // likely correct
    #define USB_LEAF_DEVEL_CAP_CANFD            true
    #define USB_LEAF_DEVEL_CAP_NONISO           false
    #define USB_LEAF_DEVEL_CAP_SILENT_MODE      true
    #define USB_LEAF_DEVEL_CAP_ERROR_FRAME      false
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions