Skip to content

[New Variant] Can Filter with STM32F105RBT6 #869

Closed

Description

@EliasKotlyar

Board description (please complete the following information):

  • Why are you using this device?
    Dont event ask...I want to retrofit a CAN-Device from a newer Car(Idrive from a F10) into my old car. Both Devices are using different commands and CAN-Speeds. First i wanted to make a board myself, however i stumbled across this board and bought it for 10 Dollar.

Activity

  1. added
    new variant
    on Jan 13, 2020
  2. added a commit that references this issue on Jan 13, 2020
  3. EliasKotlyar commented on Jan 13, 2020

    @EliasKotlyar
    Author

    I must say that the integration itself is working, and the device can be programmed trough Arduino. However there is one critical issue which i cannot figure out:
    -If i setup the blink example, it does not work
    -If i setup a simple LED on/off example, its working like expected
    -A blink example in SW4STM is working fine without any problems

    I suppose that its a timing issue and thereis something missing in the configuration, but i cannot figure out what exactly. The SystemClock_Config function is same on both SW4STM and Arduino. Also the HSE_VALUE is set to 25000000U in Arduino.

  4. fpistm commented on Jan 14, 2020

    @fpistm
    Member

    Hi @EliasKotlyar
    For the HSE issue, simply define the correct HSE value in the variant.h as by default it is 8000000.

    For your variant, it should be better to create a generic one for STM32F105RBT6 and then declare in boards.txt the dedicated one CAN Filter.

  5. EliasKotlyar commented on Jan 14, 2020

    @EliasKotlyar
    Author

    Hello @fpistm

    I have defined the correct one(HSE: 25000000U) in variant.h here:
    https://github.com/stm32duino/Arduino_Core_STM32/pull/870/files#diff-66041f938b1048c240784af4ac5d57c6R22

    However it does not solve the problem. Blink is not working, normal LEDs on/off are working fine.

    I suppose it may be also some bug/quirk of the "Connectivity Line" SOCs, which STM32F105 belongs to. There are no other Boards defined supporting this Product-line, so its maybe something SOC specific which needs a certain patch. The interesting part is, that the SW4STM is working fine with this configuration

  6. fpistm commented on Jan 14, 2020

    @fpistm
    Member

    OK @EliasKotlyar
    I will review it deeply and then go back to you.

  7. fpistm commented on Feb 14, 2020

    @fpistm
    Member

    Request added to the request list: #722

  8. IgorKharlamov commented on Nov 3, 2023

    @IgorKharlamov

    Hello how to connect this board to PC? to use Can Hacker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    new variant

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions