资源简介
SK-LPC1788开发板资料(附详细LPC1788例程、原理图、常用元器件Datasheet)
代码片段和文件信息
/**********************************************************************
* $Id$ nandflash_k9f1g08u0a.c 2011-06-02
*//**
* @file nandflash_k9f1g08u0a.c
* @brief This c file contains all functions support for Nand Flash
* SamSung K9F1G08U0A
* @version 1.0
* @date 02. June. 2011
* @author NXP MCU SW Application Team
*
* Copyright(C) 2011 NXP Semiconductor
* All rights reserved.
*
***********************************************************************
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* products. This software is supplied “AS IS“ without any warranties.
* NXP Semiconductors assumes no responsibility or liability for the
* use of the software conveys no license or title under any patent
* copyright or mask work right to the product. NXP Semiconductors
* reserves the right to make changes in the software without
* notification. NXP Semiconductors also make no representation or
* warranty that such application will be suitable for the specified
* use without further testing or modification.
**********************************************************************/
#ifdef __BUILD_WITH_EXAMPLE__
#include “lpc177x_8x_libcfg.h“
#else
#include “lpc177x_8x_libcfg_default.h“
#endif /* __BUILD_WITH_EXAMPLE__ */
#ifdef _EMC
#include “nandflash_k9f1g08u0a.h“
#include “lpc177x_8x_emc.h“
#include “lpc177x_8x_clkpwr.h“
#include “lpc177x_8x_pinsel.h“
#include “lpc177x_8x_timer.h“
uint8_t InvalidBlockTable[NANDFLASH_NUMOF_BLOCK];
/*********************************************************************//**
* @brief Ready/Busy check no timeout basically R/B bit should
* once to bail out from this routine
* @param[in] None
* @return None
**********************************************************************/
void NandFlash_WaitForReady( void )
{
while( FIO2PIN & (1 << 21) ); /* from high to low once */
while( !(FIO2PIN & (1 << 21)) ); /* from low to high once */
return;
}
/*********************************************************************//**
* @brief Initialize external NAND FLASH memory
* @param[in] None
* @return None
**********************************************************************/
void NandFlash_Init( void )
{
uint32_t i;
TIM_TIMERCFG_Type TIM_ConfigStruct;
/**************************************************************************
* Initialize EMC for NAND FLASH
**************************************************************************/
EMC_Init();
LPC_EMC->Control = EMC_Control_E|(1<<1);
EMC_StaMemConfigMW (1 EMC_STATIC_CFG_MW_8BITS);
EMC_StaMemConfigPB(1 EMC_CFG_BYTELAND_READ_BITSLOW);
EMC_SetStaMemoryParameter(1 EMC_STA_MEM_WAITWEN EMC_StaticWaitWen_WAITWEN(2));
EMC_SetStaMemoryParameter(1 EMC_STA_MEM_WAITOEN EMC_StaticWaitOen_WAITOEN(2));
EMC_SetStaMemoryParameter(1 EMC_STA_MEM_WAITWR EMC_StaticWaitwr
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1257318 2011-11-08 22:48 SK-LPC1788\01-Documents\Datasheet\64Mb 128Mb 256Mb 512Mb Parallel NOR Flash.pdf
文件 1200767 2011-11-08 22:33 SK-LPC1788\01-Documents\Datasheet\LAN8700.pdf
文件 795905 2011-11-14 22:37 SK-LPC1788\01-Documents\Datasheet\Low Voltage IO Touch Screen Controller (Rev. G).pdf
文件 6985859 2011-12-01 21:05 SK-LPC1788\01-Documents\Datasheet\LPC178x_7x User manual (v.1.5).pdf
文件 1562559 2011-12-01 21:04 SK-LPC1788\01-Documents\Datasheet\LPC178X_7X_datasheet_V2.0.pdf
文件 716992 2011-11-21 21:45 SK-LPC1788\01-Documents\Datasheet\tps61040.pdf
文件 460667 2011-11-22 02:35 SK-LPC1788\01-Documents\Datasheet\tsc2046.pdf
文件 1081114 2011-11-08 22:43 SK-LPC1788\01-Documents\Datasheet\W25Q80BV.pdf
文件 88672 2012-01-04 04:38 SK-LPC1788\01-Documents\Schematic\LCD.pdf
文件 364001 2011-12-18 21:27 SK-LPC1788\01-Documents\Schematic\SK-LPC1788.PDF
文件 1355398 2011-12-26 23:44 SK-LPC1788\01-Documents\UserManual\SK-LPC1788开发板用户手册.pdf
文件 833871 2011-11-30 00:20 SK-LPC1788\02-Images\emWinDemo.hex
文件 6760870 2011-11-30 21:08 SK-LPC1788\03-Tools\FlashMagic_5.94.exe
文件 5854 2011-12-14 17:49 SK-LPC1788\04-Code\code01\BoardSupport\bsp.h
文件 14413 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\nandflash_k9f1g08u0a.c
文件 4442 2011-11-17 16:47 SK-LPC1788\04-Code\code01\BoardSupport\nandflash_k9f1g08u0a.h
文件 6822 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\norflash_sst39vf3201.c
文件 2485 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\norflash_sst39vf3201.h
文件 6061 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\pca9532.c
文件 3775 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\pca9532.h
文件 8043 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\phylan.c
文件 1810 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\phylan.h
文件 6287 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\phylan_dp83848c.h
文件 6094 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\phylan_ks8721b.h
文件 6165 2011-12-16 22:53 SK-LPC1788\04-Code\code01\BoardSupport\phylan_lan8720.h
文件 5145 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\sdram_is42s32800d.c
文件 1904 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\sdram_is42s32800d.h
文件 5438 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\sdram_k4s561632j.c
文件 3186 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\sdram_k4s561632j.h
文件 4817 2011-12-12 17:26 SK-LPC1788\04-Code\code01\BoardSupport\sdram_mt48lc8m32lfb5.c
............此处省略4322个文件信息
- 上一篇:DSP算法应用与设计.pdf
- 下一篇:标记软件-打标机软件
相关资源
- S7-1200 例程合集
- OLED开发例程,0.96寸的OLED,超多资料
- MSP430最小系统原理图和PCB
-
ST-li
nk软件工具.zip - SIM900设计资料(包含原理图手册和代
- STM32F7XX全系列原理图封装库
- stm8 BLDC开发资料含原理图源码及学习
- 英飞凌XC866电动自行车原理图和程序
- AD原理图库&PCB库
- 最新版Pixhawk2.1原理图PCB及BOM清单
- 广州塔设计原理图及pcb打样文件
- 野火STM32F10X例程源码_ZigBee.rar
- Altium Designer原理图与PCB设计教程素材
- 基于51单片机的点阵显示汉字系统内涵
- SX1308、SX1301开源的硬件原理图,和p
- MSP430f5529官方例程全面.zip
- 自己常用的AD封装库,原理图库
- STM32F103库函数版例程
- STM32心率计程序及原理图
- DSP2833x_examples官方例程
- 这是利用振南文件系统ZNFATFAT32实现数
- STM32 STM8 全系列原理图库和封装库
- 百度手环开源项目全套资料(设计文
- STM8应用全集(STM8函数库STM8例程STM8参
- MCUDEV_TFT_1.44吋_液晶屏(例程文件)
- STC15单片机实战指南(带书签含原理图
- 网络通信模块带原理图和PCB.rar
- 西门子plc S7-1200 例程合集
- 200个经典电路包含PCB/原理图
- Altium DesignerAltera FPGA原理图库与封装库
评论
共有 条评论