2014-10-14 10:17 AM
Hi,
I would like to port some Chibios functions with some combination of the STM32 library and direct bit banging.I use STM32F103RB board. The ChibiOS operating system functions
are:
/* FSMC setup for F1 */
rccEnableAHB(RCC_AHBENR_FSMCEN, 0);
/* FSMC timing */
FSMC_Bank1->BTCR[FSMC_Bank+1] = (6) | (10 << 8) | (10 << 16);
/* Bank1 NOR/SRAM control register configuration. This is actually not needed as already set by default after reset */
FSMC_Bank1->BTCR[FSMC_Bank] = FSMC_BCR1_MWID_0 | FSMC_BCR1_WREN | FSMC_BCR1_MBKEN;
Is it possible?
Thanks for your help.
Rem : Excuse me for my poor english, I'm french. :)