STM32F4 Discovery FSMC Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-12 5:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-12 3:05 PM
Are you able to toggle the clock pin ''manually'' if you set it GPIO Output?
JW- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-13 12:02 AM
Thanks. Yes it is working when it is output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-13 8: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=false- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-13 8: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? JW- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-13 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-14 6:00 AM
Here is the FSMC, GPIOD and GPIOE registers and their contents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-14 7: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. JW- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-14 8:42 AM
Thanks again Jack. Can you give some advice that how to properly initialize the fsmc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-01-16 1: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.
