2016-01-12 05:06 AM
2016-01-12 03:05 PM
Are you able to toggle the clock pin ''manually'' if you set it GPIO Output?
JW2016-01-13 12:02 AM
Thanks. Yes it is working when it is output.
2016-01-13 08:16 AM
When I initialize the FSMC_NORSRAMInitTypedefStruct fsmc with FSMC_NORSRAMStructInit function, just the frequency of noise is changing. Signal isn't resolving correctly. I've added scope output. I'mreally confused. I'm going towatch signals with differentoscilloscope.
________________ Attachments : 20160113-0002_04.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0mv&d=%2Fa%2F0X0000000bdf%2FFsbGx_hsQmODTJtdV8n5GG3GYLMvrn4yKT0Utm7khLs&asPdf=false2016-01-13 08:57 AM
I never used any of the synchronous modes. Honestly I don't understand, why would you need one in your case.
Nevertheless, for further discussion, post the relevant GPIO and FMC registers content. What chip are we talking about and what are its connections on the pins in question? JW2016-01-13 01:12 PM
It's not a device yet. I'm just trying to correct the clock signal and it's frequency with osciloscope. But I'll use it with a system it's not a memory device which has 16-bit data, clock and latch input. I think I must use synchronous communication. I need to go up 40MHz (+/- 10MHz). I'm at home now I'm going to send register contents tomorrow morning.
2016-01-14 06:00 AM
Here is the FSMC, GPIOD and GPIOE registers and their contents.
2016-01-14 07:40 AM
While I wrote ''post register content'', I meant ''look at the registers content and think yourself'' :)
FSMC_BTR1 is uninitialized. I don't ''speak'' SPL nor Cube, but I suspect what you did is not the proper way how the FSMC should be initialized. JW2016-01-14 08:42 AM
Thanks again Jack. Can you give some advice that how to properly initialize the fsmc?
2016-01-16 01:55 AM
I've wrote the settings without SPL now I can get clk signal in acceptable voltage range. But this time waveform is not square wave probably oscilloscope has some issues.