cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 and NAND flash ?

antonius
Senior
Posted on March 26, 2014 at 11:36

Guys,

Does R/B pin on Nand flash needed on the software ?

I can't find R/B pin on GPIO definition,

Anyone knows ?

thanks

#nand
12 REPLIES 12
antonius
Senior
Posted on March 30, 2014 at 15:57

I tried to run the function,

but I can't see any response on LED, not even a blink.....do I miss something here ? D0-D7 = GPIO push pull and CLE,NOE,NWE = Alternate Function Push Pull thanks

1.
int
main(
void
)
2.
{
3.
GPIO_Configuration();
4.
USART_Configuration();
5.
6.
printf
(
''

****************************************************************

''
);
7.
8.
FSMC_NAND_Test();

Posted on March 31, 2014 at 00:12

I'm using STM32F107 and NAND flash....

Look I'm not familiar with your design, or the software surrounding it, it's not my project. Does the 107 Connectivity Line even support the FSMC external bus?

If you enable the clock bit for the FSMC in the AHB clock register does the bit stay set, or does it remain clear?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
antonius
Senior
Posted on March 31, 2014 at 11:19

I think this table from datasheet is giving me a clear answer, thanks for the clue clive...

It's working already, thanks for helping,

How can I use FatFS with NAND flash ?

Nand Flash INIT BEGIN!

 Nand Flash INIT END!

 Nand Flash ID = EC,F1,00,95  Type = K9F1G08U0B

Written to the number of£º

0  

1  

2  

3  

4  

5  

6  

7  

8  

9  

a  

b  

c  

d  

e  

f  

10  

11  

12  

13  

14  

15  

16  

17  

18  

19  

1a  

1b  

1c  

1d  

1e  

1f  

20  

21  

22  

23  

24  

25  

26  

27  

28  

29  

2a  

2b  

2c  

2d  

2e  

2f  

30  

31  

32  

33  

34  

35  

36  

37  

38  

39  

3a  

3b  

3c  

3d  

3e  

3f  

40  

41  

42  

43  

44  

45  

46  

47  

48  

49  

4a  

4b  

4c  

4d  

4e  

4f  

50  

51  

52  

53  

54  

55  

56  

57  

58  

59  

5a  

5b  

5c  

5d  

5e  

5f  

60  

61  

62  

63  

Read several£º

0  

1  

2  

3  

4  

5  

6  

7  

8  

9  

a  

b  

c  

d  

e  

f  

10  

11  

12  

13  

14  

15  

16  

17  

18  

19  

1a  

1b  

1c  

1d  

1e  

1f  

20  

21  

22  

23  

24  

25  

26  

27  

28  

29  

2a  

2b  

2c  

2d  

2e  

2f  

30  

31  

32  

33  

34  

35  

36  

37  

38  

39  

3a  

3b  

3c  

3d  

3e  

3f  

40  

41  

42  

43  

44  

45  

46  

47  

48  

49  

4a  

4b  

4c  

4d  

4e  

4f  

50  

51  

52  

53  

54  

55  

56  

57  

58  

59  

5a  

5b  

5c  

5d  

5e  

5f  

60  

61  

62  

63  

0690X00000602rkQAA.jpg