Skip to content

STM32F413 fails to connect to slave devices on the 2.0.0 branch #1416

@afewyards

Description

@afewyards

Please, before reporting any issue

Any questions/feedback/suggestions should be discussed on the stm32duino forum:

When reporting any issue, please try to provide all relevant information:

Describe the bug
Variant differences between 1.9.0 and 2.0.0 for the STM32F413CG.
If I compile with the 1.9.0 version my i2c and spi connections seems to work but once I compile usinig the latest it just doesnt seem to work on the i2c bus anymore. unclear of spi but the devices connected to that are not giving data so I assume the same.

I'm using a custom clock by overriding the 'SystemClock_Config' func in my main source file and this works on 1.9.0. this also has worked with a stm32f401 chip on the 2.0.0 branch

To Reproduce
I have for I2C tried to set the pins to the wire lib directly and used the definie overwrite (PB8,9) both cases result in not detecting any devices on the bus.

Expected behavior
On the 1.9.0 branch I can see all my slaves and they behave correctly.

Desktop (please complete the following information):

  • OS: Windows
  • Arduino IDE version: 1.8.15
  • Tools menu settings if not the default: [e.g. Newlib Standard, No Serial]
  • Upload method: DFU

Board (please complete the following information):

  • Name: STM32F413CGu
  • Extra hardware used if any: TCA6424A expander

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions