add FSMC related code for stm32G4 Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

add FSMC related code for stm32G4

Post by alex31 »

Hello,

STM32G4[78]xx devices with 100 pins or more can address external SRAM.

I have tested external SRAM support on an STM32G474-EVAL1 board before designing our own hands-on DSP PCB, and it works. Please find attached the patch adding the required ChibiOS support.

I will also submit a separate patch for contrib.

Note: this required heavy modifications to the evaluation board, because the SRAM signals are not routed to the MCU pins by default. It involved quite a bit of soldering to disconnect some of the motor-control circuitry and route the signals to the SRAM instead. Also, if anyone intends to try this on the same board, be aware that the silkscreen markings are not aligned with the 0-ohm resistors.

Alexandre
Attachments
stm32g4-fmc.patch.zip
(842 Bytes) Downloaded 36 times
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: add FSMC related code for stm32G4

Post by alex31 »

a PR has been issued : https://github.com/chibios-upstream/chibios/pull/7 to test the new way of submitting patches.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: add FSMC related code for stm32G4

Post by Giovanni »

Keeping this open until it is done there.

Giovanni
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: add FSMC related code for stm32G4

Post by Giovanni »

Change merged.

Giovanni
Post Reply