色哟哟视频在线观看-色哟哟视频在线-色哟哟欧美15最新在线-色哟哟免费在线观看-国产l精品国产亚洲区在线观看-国产l精品国产亚洲区久久

電子發燒友App

硬聲App

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
电子发烧友
开通电子发烧友VIP会员 尊享10大特权
海量资料免费下载
精品直播免费看
优质内容免费畅学
课程9折专享价
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示
電子發燒友網>電子資料下載>類型>參考設計>AD5443-微控制器無操作系統驅動程序

AD5443-微控制器無操作系統驅動程序

2021-05-24 | pdf | 772.04KB | 次下載 | 3積分

資料介紹

This version (25 Jan 2021 09:14) was approved by Ioana Chelaru.The Previously approved version (25 Jan 2021 09:13) is available.Diff

AD5443 - Microcontroller No-OS Driver

Supported Devices

Evaluation Boards

Reference Circuits

Overview

The AD5426/AD5432/AD5443 are CMOS 8-, 10-, and 12-bit current output digital-to-analog converters (DACs), respectively. These devices operate from a 2.5 V to 5.5 V power supply, making them suitable for battery-powered applications and many other applications.

These DACs use a double buffered, 3-wire serial interface that is compatible with SPI, QSPI?, MICROWIRE?, and most DSP interface standards. In addition, a serial data out pin (SDO) allows for daisy-chaining when multiple packages are used. Data readback allows the user to read the contents of the DAC register via the SDO pin. On power-up, the internal shift register and latches are filled with 0s and the DAC outputs are at zero scale.

Applications
  • Portable battery-powered applications
  • Waveform generators
  • Instrumentation
  • Programmable amplifiers and attenuators
  • Digitally controlled calibration
  • Programmable filters and oscillators
  • Composite video
  • Ultrasound
  • Gain, offset, and voltage trimming

The goal of this project (Microcontroller No-OS) is to be able to provide reference projects for lower end processors, which can't run Linux, or aren't running a specific operating system, to help those customers using microcontrollers with ADI parts. Here you can find a generic driver which can be used as a base for any microcontroller platform and also specific drivers for Renesas platforms.

HW Platform(s):

Driver Description

The driver contains two parts:

  • The driver for the AD5443 part, which may be used, without modifications, with any microcontroller.
  • The Communication Driver, where the specific communication functions for the desired type of processor and communication protocol have to be implemented. This driver implements the communication with the device and hides the actual details of the communication protocol to the ADI driver.

The Communication Driver has a standard interface, so the AD5443 driver can be used exactly as it is provided.

There are three functions which are called by the AD5443 driver:

  • SPI_Init() – initializes the communication peripheral.
  • SPI_Write() – writes data to the device.
  • SPI_Read() – reads data from the device.

SPI driver architecture

The following functions are implemented in this version of AD5443 driver:

Function Description
unsigned char AD54xx_Init(void) Initializes the AD54xx device.
unsigned short AD54xx_Function(unsigned char function, unsigned short data) Selects a function of the DAC.
void AD54xx_SetDac(unsigned short dacValue) Writes a value to DAC register.
unsigned short AD54xx_GetDac(void) Writes the value of the DAC register.
void AD54xx_Clear(unsigned char type) Clears DAC output to zero or midscale.

Downloads

Renesas RX63N Quick Start Guide

This section contains a description of the steps required to run the AD5443 demonstration project on a Renesas RX63N platform.

Required Hardware

Required Software

Hardware Setup

An EVAL-AD5443SDZ has to be interfaced with the Renesas Demonstration Kit (RDK) for RX63N:

  EVAL-AD5443SDZ Pin /SYNC (CS)      → YRDKRX63N J15 connector Pin 1
  EVAL-AD5443SDZ Pin SDIN  (MOSI)    → YRDKRX63N J15 connector Pin 2
  EVAL-AD5443SDZ Pin SDO   (MISO)    → YRDKRX63N J15 connector Pin 3
  EVAL-AD5443SDZ Pin SCLK  (SCLK)    → YRDKRX63N J15 connector Pin 4
  

Reference Project Overview

The reference project initializes the device and writes a value to DAC register once every second.

Software Project Setup

This section presents the steps for developing a software application that will run on the Renesas Demo Kit for RX63N for controlling and monitoring the operation of the ADI part.

  • Run the High-performance Embedded Workshop integrated development environment.
  • A window will appear asking to create or open project workspace. Choose “Create a new project workspace” option and press OK.
  • From “Project Types” option select “Application”, name the Workspace and the Project “ADIEvalBoard”, select the “RXCPU family and “Renesas RX Standard” tool chain. Press OK.

  • A few windows will appear asking to configure the project:
    • In the “Select Target CPU” window, select “RX600” CPU series, “RX63N” CPU Type and press Next.
    • In the first “Option Setting” window change only the Precision of double from single to “Double precision” and press Next.
    • In the second “Option Setting” window keep default settings and press Next.
    • In the “Setting the Content of Files to be generated” window select ”None” for the ”Generate main() Function” option and press Next.
    • In the “Setting the Standard Library” window press “Enable all” and then Next.
    • In the “Setting the Stack Area” window check the “Use User Stack” option and press Next.
    • In the “Setting the Vector” window keep default settings and press Next.
    • In the “Setting the Target System for Debugging” window choose “RX600 Segger J-Link” target and press Next.
    • In the “Setting the Debugger Options” and “Changing the Files Name to be created” windows keep default settings, press Next and Finish.
  • The workspace is created.

  • The RPDL (Renesas Peripheral Driver Library) has to integrated in the project. Unzip the RPDL files (double-click on the file “RPDL_RX63N.exe”). Navigate to where the RPDL files were unpacked and double-click on the “Copy_RPDL_RX63N.bat” to start the copy process. Choose the 100 pins package and little endian option, type the full path where the project was created and after the files were copied, press any key to close the window.
  • The new source files have to be included in the project. Use the key sequence Alt, P, A to open the “Add files to project ‘ADIEvalBoard’” window. Double click on the RPDL folder. From the “Files of type” drop-down list, select “C source file (*.C)”. Select all of the files and press Add.

  • To avoid conflicts with standard project files remove the files “intprg.c” and “vecttbl.c” which are included in the project. Use the key sequence Alt, P, R to open the “Remove Project Files” window. Select the files, click on Remove and press OK.

  • Next the new directory has to be included in the project. Use the key sequence Alt, B, R to open the “RX Standard Toolchain” window. Select the C/C++ tab, select “Show entries for: Include file directories” and press Add. Select “Relative to: Project directory”, type “RPDL” as sub-directory and press OK.

  • The library file path has to be added in the project. Select the Link/Library tab, select “Show entries for: Library files” and press Add. Select “Relative to: Project directory”, type “RPDL/RX63N_library” as file path and press OK.

  • Because the “intprg.c” file was removed the “PIntPrg” specified in option “start” has to be removed. Change “Category” to “Section”. Press “Edit”, select “PIntPRG” and press “Remove”. From this window the address of each section can be also modified. Set the second address to 0xFFF00000 and the third one to 0xFFF00100. After all the changes are made press OK two times.

  • At this point the files extracted from the zip file located in the “Software Tools” section have to be added into the project. Copy all the files from the archive into the project folder.

  • Now, the files have to be included in the project. Use the key sequence Alt, P, A to open the “Add files to project ‘ADIEvalBoard’” window. Navigate into ADI folder. From the “Files of type” drop-down list, select “Project Files”. Select all the copied files and press Add.

  • Now, the project is ready to be built. Press F7. The message after the Build Process is finished has to be “0 Errors, 0 Warnings”. To run the program on the board, you have to download the firmware into the microprocessor’s memory.
17 Sep 2012 18:24 · Dragos Bogdan

More information

01 Jun 2012 12:17

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評論

请按住滑块,拖动到最右边
了解新功能

查看更多

广告

下載排行

本周

  1. 1AN-1267: 使用ADSP-CM408F ADC控制器的電機控制反饋采樣時序
  2. 1.41MB   |  3次下載  |  免費
  3. 2AN158 GD32VW553 Wi-Fi開發指南
  4. 1.51MB   |  2次下載  |  免費
  5. 3AN148 GD32VW553射頻硬件開發指南
  6. 2.07MB   |  1次下載  |  免費
  7. 4AN-1154: 采用恒定負滲漏電流優化ADF4157和ADF4158 PLL的相位噪聲和雜散性能
  8. 199.28KB   |  次下載  |  免費
  9. 5AN-960: RS-485/RS-422電路實施指南
  10. 380.8KB   |  次下載  |  免費
  11. 6EE-249:使用VisualDSP在ADSP-218x DSP上實現軟件疊加
  12. 60.02KB   |  次下載  |  免費
  13. 7AN-1111: 使用ADuCM360/ADuCM361時的降低功耗選項
  14. 306.09KB   |  次下載  |  免費
  15. 8AN-904: ADuC7028評估板參考指南
  16. 815.82KB   |  次下載  |  免費

本月

  1. 1ADI高性能電源管理解決方案
  2. 2.43 MB   |  450次下載  |  免費
  3. 2免費開源CC3D飛控資料(電路圖&PCB源文件、BOM、
  4. 5.67 MB   |  138次下載  |  1 積分
  5. 3基于STM32單片機智能手環心率計步器體溫顯示設計
  6. 0.10 MB   |  130次下載  |  免費
  7. 4使用單片機實現七人表決器的程序和仿真資料免費下載
  8. 2.96 MB   |  44次下載  |  免費
  9. 5美的電磁爐維修手冊大全
  10. 1.56 MB   |  24次下載  |  5 積分
  11. 6如何正確測試電源的紋波
  12. 0.36 MB   |  18次下載  |  免費
  13. 7感應筆電路圖
  14. 0.06 MB   |  10次下載  |  免費
  15. 8萬用表UT58A原理圖
  16. 0.09 MB   |  9次下載  |  5 積分

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935121次下載  |  10 積分
  3. 2開源硬件-PMP21529.1-4 開關降壓/升壓雙向直流/直流轉換器 PCB layout 設計
  4. 1.48MB  |  420062次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233088次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費下載
  8. 340992  |  191367次下載  |  10 積分
  9. 5十天學會AVR單片機與C語言視頻教程 下載
  10. 158M  |  183335次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81581次下載  |  10 積分
  13. 7Keil工具MDK-Arm免費下載
  14. 0.02 MB  |  73810次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65988次下載  |  10 積分
主站蜘蛛池模板: 第九色区av天堂 | 闺蜜扒开我尿口使劲揉 | 欧美视频精品一区二区三区 | 91九色精品国产免费 | 三级视频黄色 | 色迷迷电影 | 91情国产l精品国产亚洲区 | 国产99RE在线观看69热 | 嫩草影院在线观看网站成人 | 久久兔费黄A级毛片高清 | 青草影院内射中出高潮-百度 | 亚洲熟女丰满多毛XXXXX | 中文字幕乱码一区AV久久 | 双性大乳浪受噗呲噗呲h总 双性被疯狂灌满精NP | 一本大道熟女人妻中文字幕在线 | 国产成人拍精品视频网 | 国产成人免费手机在线观看视频 | 97影院理论午夜伦不卡偷 | 国产综合无码一区二区色蜜蜜 | 狠狠爱亚洲五月婷婷av | 偷窥自拍性综合图区 | 色情www日本欧美 | 神电影院午夜dy888我不卡 | 日韩人妻无码精品久久中文字幕 | 中文字幕在线观看亚洲 | XXXchinese国产HD| 学生妹被爆插到高潮无遮挡 | 日本精品久久久久中文字幕 | 欧洲另类一二三四区 | 文中字幕一区二区三区视频播放 | 狼人无码伊人AV啪啪 | 啪啪漫画无遮挡全彩h同人 啪啪激情婷婷久久婷婷色五月 | bt天堂午夜国产精品 | 多男同时插一个女人8p | 伊人精品影院 | 亚洲国产在线精品国 | 麻豆成人AV久久无码精品 | 波多久久亚洲精品AV无码 | 琪琪电影午夜理论片77网 | 国产精品一区二区资源 | 99久久夜色精品国产亚洲AV卜 |