cancel
Showing results for 
Search instead for 
Did you mean: 

FSMC do not work

askari.nima
Associate II
Posted on May 10, 2015 at 07:08

I crate a project with stm32cube

my chip is stm32f103zc

i enable fsmc for lcd interface and 16 bit data address and A0 for register select .

this function

HAL_SRAM_Read_16b(&hsram1,&send_address,send_buffer,10);

do not work.

I see all pin in oscope and do not change any pin.

why?
1 REPLY 1
Posted on May 10, 2015 at 14:07

Would suggest you try to access the memory behind the FSMC directly.

If that also fails, check the clocks, GPIO and AF settings (registers), along with those of the FSMC peripheral. That might enlighten you to where the problem lies, and if it's a problem ST needs to fix.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..