SPI FLASH controller based on FPGA and design method of SPI FLASH controller
A design method and controller technology, applied in the direction of CAD circuit design, instrumentation, calculation, etc., can solve problems such as increasing project cost, and achieve the effect of reducing project cost, reducing system complexity, and simple implementation method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Present embodiment proposes the SPI FLASH controller based on FPGA, and its structure comprises:
[0040] Flag register, through software configuration flag register flag, used to mark the instruction type of SPI FLASH;
[0041] Specifically, there are six specific instruction types of SPI FLASH, including:
[0042] Type 1: Contains only instruction codes
[0043] The software needs to configure the value of the flag register (flag) to 0001;
[0044] Type 2: Contains instruction code + address
[0045] The software needs to configure the value of the flag register (flag) to 0011;
[0046] Type 3: Contains instruction code + write data
[0047] The software needs to configure the value of the flag register (flag) to 0101;
[0048] Type 4: Contains instruction code + write address + write data
[0049] The software needs to configure the value of the flag register (flag) to 0111;
[0050] Type 5: Contains instruction code + read address + read data
[0051] The so...
Embodiment 2
[0069] The FPGA-based SPI FLASH controller proposed in this embodiment is another embodiment of the present invention. On the basis of the FPGA-based SPI FLASH controller in Embodiment 1, it also includes an instruction register, an address register, and a write number register. , Read number register and write data register.
[0070] Specifically, the command register, the address register, the write count register, the read count register and the write data register are configured by software.
[0071] Correspondingly, attached figure 2 As shown, the FPGA internal setting CMD_FIFO: used to receive the value of the instruction register configured by the software through APB; the FPGA internal setting ADDR_FIFO: used to receive the value of the address register configured by the software through APB; the FPGA internal setting WR_CNT_FIFO: used to receive the The value of the write number register configured through APB; FPGA internal setting RD_CNT_FIFO: used to receive the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


