ChibiOS icon indicating copy to clipboard operation
ChibiOS copied to clipboard

hal_mac_lld.c - added support for fixed link connection

Open vrsanskytom opened this issue 1 year ago • 2 comments

The goal of this PR is to support the case when STM32 MCU is connected through MII/RMII with fixed link parameters. For example, in more complex systems where FMU is connected directly to ethernet switch, which is not mastered by STM through MDIO bus. In this case, the link parameters are defined in board definition file.

vrsanskytom avatar Nov 03 '23 09:11 vrsanskytom

@vrsanskytom Can you give an example of the connectivity here? Which switch are you testing this on?

magicrub avatar Nov 29 '23 16:11 magicrub

@vrsanskytom Can you give an example of the connectivity here? Which switch are you testing this on?

Sure, please take a look at following diagram, describing our board architecture. Onboard FMU is the device running on STM which is a subject of this issue.

https://docs.airvolute.com/dronecore-autopilot/dcs2/.pilot-boards/dcs2.pilot-v-1.0/peripherals

We are using ethernet switch from microchip KSZ family, but this will be common issue for all switches not mastered by STM.

vrsanskytom avatar Nov 30 '23 06:11 vrsanskytom