Using FSMC bank1 and bank2 simultaneously
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-07-17 3:01 PM
Posted on July 18, 2013 at 00:01
Hi,
I use:stm32f4 (LQFP100)I want to:1. Use FSMC bank1 to control LCD2. Use FSMC bank2 to control NAND memory3. Use chip select to control active chipProblem:Chip select for bank1 (NE1) and chip select for bank2 (NCE2) is both placed on pin PD7.Question:Anyone know if it is possible to use bank1 and bank2 somehow, perhaps use GPIO to control the chip select signals on the two chip?According to manual:2. For the LQFP100 and BGA100 packages, only FSMC Bank1 and Bank2 are available. Bank1 can only support a multiplexed NOR/PSRAM memory using the NE1 Chip Select. Bank2 can only support a 16- or 8-bit NAND Flash memory using the NCE2 Chip Select. The interrupt line cannot be used since Port G is not available in this package.Regards,Rygel #fsmc
Labels:
- Labels:
-
FMC-FSMC
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-07-17 4:03 PM
Posted on July 18, 2013 at 01:03
Rev 4 of the 405/407 Data Manual say OR not AND
For the LQFP100 and WLCSP90 packages, only FSMC Bank1 or Bank2 are available You could perhaps use a higher order address bit as a CS for a NAND device, as it's accessed more like a hard drive than a linear memory.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-07-18 3:14 AM
Posted on July 18, 2013 at 12:14
Thanks a lot for the answer Clive!
According to my NAND memory (H27UBG8T2BTR-BC), minimum tCS (CS setup time) is 20ns. But my stm32f4 mcu has a tv(Data_NE) of 13 ns at 168Mhz (see below).tv(Data_NE) FSMC_NEx low to Data valid -> tHCLK (~6ns) + 7 ns = 13 nsSo I think the idea was good but it will unfortunately not work in my case.I only have one executing thread in my SW so perhaps 2 GPIO pins are better choice as CE# to my NAND and LCD devices?Regards, RygelOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-07-20 6:22 PM
Posted on July 21, 2013 at 03:22
Humm, perhaps does not matter how my SW looks, since FSMC is a HW thing.
I think controlling CS by address lines is my only option.Regards,Rygel