4.2 Nand Flash

4.2 Nand Flash

„Hardware Setting None

„Flowchart

Start

 

 

Initial external bus

Erase page 11 of

Erase page 20 of

(Use CS7 area,

block 0

block 100

8 bit data width)

 

 

Read Flash ID

Write data into

Write data into page

page 11 of block 0

20 of block 100

 

 

Read data from

Read data from page

 

page 11 of block 0

20 of block 100

 

 

End

Figure 4-4: Nand Flash Sample Code Flowchart

„Usage

1)Open Nand Flash sample project, and start debug.

2)Use “step over” to debug, and watch local variable “flash_id”, “buf”.

4.3 RTC

„Hardware Setting

It is an option that user can user external battery to supply power for RTC module (RX8025-T) so that the date and time can be stored after system power shut down.

„

Flowchart

 

 

 

Start

 

 

 

Initial MFS channel 5

Write 0 to second register

Read to second register

 

(set IIC mode)

 

 

 

 

Enable FOE signal

Write 30 to minute register

Read to minute register

 

(FOUT output 32.768khz

 

 

 

wave after it is enabled)

 

 

 

 

Write 8 to hour register

Read to hour register

Figure 4-5: RTC Sample Code Flowchart

16

Page 16
Image 16
Fujitsu MB9B500 Series user manual Nand Flash, 4.3 RTC, „ Hardware Setting None „ Flowchart, „ Usage