Example program for EVAL-AD4130

Dependencies:   tempsensors sdp_k1_sdram

Committer:
Mahesh Phalke
Date:
Wed Jul 20 18:12:00 2022 +0530
Revision:
2:7b2b268ea49c
Initial firmware commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Mahesh Phalke 2:7b2b268ea49c 1 /***************************************************************************//**
Mahesh Phalke 2:7b2b268ea49c 2 * @file sdram_sdpk1.c
Mahesh Phalke 2:7b2b268ea49c 3 * @brief SDP-K1 SDRAM interafaces header file
Mahesh Phalke 2:7b2b268ea49c 4 ********************************************************************************
Mahesh Phalke 2:7b2b268ea49c 5 * Copyright (c) 2022 Analog Devices, Inc.
Mahesh Phalke 2:7b2b268ea49c 6 * All rights reserved.
Mahesh Phalke 2:7b2b268ea49c 7 *
Mahesh Phalke 2:7b2b268ea49c 8 * This software is proprietary to Analog Devices, Inc. and its licensors.
Mahesh Phalke 2:7b2b268ea49c 9 * By using this software you agree to the terms of the associated
Mahesh Phalke 2:7b2b268ea49c 10 * Analog Devices Software License Agreement.
Mahesh Phalke 2:7b2b268ea49c 11 *******************************************************************************/
Mahesh Phalke 2:7b2b268ea49c 12
Mahesh Phalke 2:7b2b268ea49c 13 #ifndef SDRAM_SDPK1_
Mahesh Phalke 2:7b2b268ea49c 14 #define SDRAM_SDPK1_
Mahesh Phalke 2:7b2b268ea49c 15
Mahesh Phalke 2:7b2b268ea49c 16 /******************************************************************************/
Mahesh Phalke 2:7b2b268ea49c 17 /***************************** Include Files **********************************/
Mahesh Phalke 2:7b2b268ea49c 18 /******************************************************************************/
Mahesh Phalke 2:7b2b268ea49c 19
Mahesh Phalke 2:7b2b268ea49c 20 #include <stdint.h>
Mahesh Phalke 2:7b2b268ea49c 21
Mahesh Phalke 2:7b2b268ea49c 22 /******************************************************************************/
Mahesh Phalke 2:7b2b268ea49c 23 /********************** Macros and Constants Definition ***********************/
Mahesh Phalke 2:7b2b268ea49c 24 /******************************************************************************/
Mahesh Phalke 2:7b2b268ea49c 25
Mahesh Phalke 2:7b2b268ea49c 26 /* SDRAM configs for SDP-K1 */
Mahesh Phalke 2:7b2b268ea49c 27 #define SDRAM_START_ADDRESS (volatile int8_t *)0xC0000000
Mahesh Phalke 2:7b2b268ea49c 28 #define SDRAM_SIZE_BYTES (16777216) // 16MBytes
Mahesh Phalke 2:7b2b268ea49c 29
Mahesh Phalke 2:7b2b268ea49c 30 /******************************************************************************/
Mahesh Phalke 2:7b2b268ea49c 31 /************************ Public Declarations *********************************/
Mahesh Phalke 2:7b2b268ea49c 32 /******************************************************************************/
Mahesh Phalke 2:7b2b268ea49c 33
Mahesh Phalke 2:7b2b268ea49c 34 int32_t sdram_init(void);
Mahesh Phalke 2:7b2b268ea49c 35
Mahesh Phalke 2:7b2b268ea49c 36 #endif /* end of SDRAM_SDPK1_ */