Analog Devices MicroConverter Windows Serial Downloader: Features and Benefits
- briarallegra8455ea
- Aug 18, 2023
- 5 min read
Hi, I\'d like to connect! '},dataType: 'json',success: function(response) window.location = window.location; ,error: function(response) e.html(t); });} else if (v == 1 v == 2 v == 4) });});(function($)$.extend($.fn.evolutionUpDownVoting.defaults,voteDownMessage:'Vote against this idea',voteUpMessage:'Vote for this idea',loginMessage:'Sign in to vote on ideas',noPermissionMessage:'You do not have permission to vote for this idea',notGroupMemberMessage:'Join this group to vote on this idea',deleteMessage:'Remove your vote for this idea',readOnlyMessage: 'Voting on this idea has been disabled',switchToDownVoteMessage: 'Vote against this idea instead of for it',switchToUpVoteMessage: 'Vote for this idea instead of against it',voteDownAgainMessage:'Vote against this idea again',voteUpAgainMessage:'Vote for this idea again',removeDownVoteMesage:'Remove a vote against this idea',removeUpVoteMessage:'Remove a vote for this idea' );(jQuery));(function($) $.telligent.evolution.media.defaults.endpoint = ' __type=Telligent.Evolution.Api.Plugins.Endpoints.FileViewerEndpoint%2C%20Telligent.Evolution.Platform'; (jQuery));(function($) $.telligent.evolution.preview.defaults.endpoint = ' __type=Telligent.Evolution.Api.Plugins.Endpoints.WebPreviewEndpoint%2C%20Telligent.Evolution.Platform'; (jQuery));(function($) $.fn.evolutionComposer.plugins.mentions.defaults.mentionablesEndpoint = ' __type=Telligent.Evolution.Api.Plugins.Endpoints.MentionablesEndpoint%2C%20Telligent.Evolution.Platform'; (jQuery));(function($) $.telligent.evolution.language.defaults.dateEndpoint = ' __type=Telligent.Evolution.Api.Plugins.Endpoints.DateFormattingEndpoint%2C%20Telligent.Evolution.Platform'; (jQuery));(function($) $.fn.evolutionUserFileTextBox.defaults.endpoint = ' __type=Telligent.Evolution.Api.Plugins.Endpoints.UserFileTextBoxEndpoint%2C%20Telligent.Evolution.Platform'; (jQuery));if (window === window.top) jQuery(function(j)var redirected = false;var ensureLoggedIn = function()if (!redirected) var hashData = jQuery.telligent.evolution.url.hashData();if (hashData._cptype)redirected = true;window.location = jQuery.telligent.evolution.url.modify(url:' :443/signin?returnurl=https%3A%2F%2Fcommunity.arm.com%2Fsupport-forums%2Ff%2Fkeil-forum%2F17065%2Fproblem-with-printf-and-adc',query: ReturnUrl:window.location+'',hash: '');;jQuery(window).on('hashchange', function()ensureLoggedIn(););ensureLoggedIn());jQuery(function(j)j.telligent.evolution.theme.social.register(dockedSidebars: true ,adaptiveHeaders: true ,adaptiveHeadersMinWidth: 670));problem with printf() and ADC - Keil forum - Support forums - Arm Community .header-fragments .layout .header-top-content .layout-region.header background-color: #FFFFFF;.banner.site fieldset ul.field-list li.field-item .field-item-input input background-color: #FFFFFF;.header-fragments .header-top-content .layout-region.header .banner.site .navigation-list ul a,.header-fragments .header-top-content .layout-region.header .banner.site .navigation-list ul a.active,.header-fragments .header-top-content .layout-region.header .banner.site fieldset ul li .field-item-input input,.header-fragments .header-top-content .layout-region.header .banner.site fieldset ul li .field-item-input input.active,.header-fragments .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input:after,.header-fragments .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input input.active,.header-fragments .header-top-content .layout-region.header .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a color: #263238;.header-fragments .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input input::placeholder color: #263238;.header-fragments .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input input:-ms-input-placeholder color: #263238;.header-fragments .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input input::-ms-input-placeholder color: #263238;.header-fragments:hover .header-top-content .layout-region.header .banner.site .navigation-list ul a,.header-fragments:hover .header-top-content .layout-region.header .banner.site .navigation-list ul a.active,.header-fragments .header-top-content .layout-region.header .banner.site .navigation-list ul a.active,.header-fragments:hover .header-top-content .layout-region.header .banner.site fieldset ul li .field-item-input input,.header-fragments:hover .header-top-content .layout-region.header .banner.site fieldset ul li .field-item-input input.active,.header-fragments:hover .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input:after,.header-fragments:hover .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input input.active,.header-fragments .header-top-content .layout-region.header .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a.subnav-open,.header-fragments .header-top-content .layout-region.header .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a.links-expanded,.header-fragments:hover .header-top-content .layout-region.header .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a color: #263238;.header-fragments:hover .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input input::placeholder color: #263238;.header-fragments:hover .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input input:-ms-input-placeholder color: #263238;.header-fragments:hover .header-top-content .layout-region.header .banner.site fieldset ul.field-list li.field-item .field-item-input input::-ms-input-placeholder color: #263238;.header-fragments .header-top-content .layout-region.header .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a.selected:after background-color: #263238;.single-column .banner.site background-color: #FFFFFF;.single-column .banner.site > .navigation-list.handheld ul a,.single-column .banner.site .container.handheld .user-links ul a color: #263238;.single-column .banner.site > .navigation-list.handheld ul a.active,.single-column .banner.site .container.handheld .user-links ul a.active color: #263238;Arm CommunitySiteSearchUserSiteSearchUserGroupsResearch Collaboration and Enablement
DesignStart
Education Hub
Innovation
Open Source Software and Platforms
ForumsAI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello Forum
Operating Systems forum
SoC Design and Simulation forum
中文社区论区
BlogsAI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Innovation blog
Internet of Things (IoT) blog
Operating Systems blog
Research Articles
SoC Design and Simulation blog
Smart Homes
Tools, Software and IDEs blog
Works on Arm blog
中文社区博客
SupportArm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community HelpMoreCancel.single-column.header-fragments,.header-fragments .layout .header-top-content .layout-region.content,.header-fragments .layout .header-top-content.with-adaptable-elements .layout-region.content background: #11809F;.single-column.header-fragments,.header-fragments .layout .header-top-content .layout-region.content,.header-fragments .layout .header-top-content.with-adaptable-elements .layout-region.content border-bottom: 0px;.header-fragments .layout .header-top-content,.header-fragments .layout .header-top-content.scrolled box-shadow: none;/* parent navigation */.banner.context.slim .hierarchy > .parent-navigation a.more:before,.banner.context > .hierarchy > .parent-navigation ul li a,.banner.context > .hierarchy > .parent-navigation ul li a:hover,.banner.context > .hierarchy > .parent-navigation ul li a:before,.scrolled .banner.context > .hierarchy > .parent-navigation a.more:before,.scrolled .banner.context > .hierarchy > .parent-navigation ul li a:before,.banner.context > .hierarchy > .parent-navigation ul li a.more.links-expanded,.banner.context > .hierarchy > .parent-navigation ul li a.more.links-expanded:before,.banner.context > .hierarchy > .parent-navigation ul li a.more:before color: #FFFFFF;/* hierarchy components */.banner.context > .hierarchy > .current-hierarchy > .hierarchy-component,.banner.context > .hierarchy > .current-hierarchy > .hierarchy-component a,.banner.context > .hierarchy > .current-hierarchy > .hierarchy-component:before,.banner.context > .hierarchy > .current-hierarchy > .hierarchy-component a:hover color: #FFFFFF;/* applications */.banner.context > .hierarchy > .current-hierarchy > .applications ul a,.banner.context > .hierarchy > .current-hierarchy > .applications ul a:hover,.banner.context > .hierarchy > .current-hierarchy > .applications ul a.more,.banner.context:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more,.banner.context:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more:before,.banner.context.home > .hierarchy > .current-hierarchy > .applications ul a.more:before,.scrolled .banner.context .hierarchy .current-hierarchy > .applications ul a.more,.scrolled .banner.context .hierarchy .current-hierarchy > .applications ul a.more:before,.banner.context.slim:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more,.banner.context.slim:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more:before,.scrolled .banner.context:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more,.scrolled .banner.context:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more:before border-color: #FFFFFF;color: #FFFFFF;.banner.context.home > .hierarchy > .current-hierarchy > .applications ul a.links-expanded,.banner.context.home > .hierarchy > .current-hierarchy > .applications ul a.links-expanded:before,.banner.context.home > .hierarchy > .current-hierarchy > .applications ul a.more.links-expanded:before,.scrolled .banner.context .hierarchy .current-hierarchy > .applications ul a.more.links-expanded,.scrolled .banner.context .hierarchy .current-hierarchy > .applications ul a.more.links-expanded:before,.banner.context:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more.links-expanded,.banner.context:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more.links-expanded:before,.banner.context.slim:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more.links-expanded,.banner.context.slim:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more.links-expanded:before,.scrolled .banner.context:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more.links-expanded,.scrolled .banner.context:not(.home) > .hierarchy > .current-hierarchy > .applications ul a.more.links-expanded:before background-color: #FFFFFF;color: #11809F;border-color: #FFFFFF;/* new */.banner.context > .new ul a,.banner.context .navigation-list.new ul a.links-expanded,.banner.context .navigation-list.new ul a.links-expanded:hover,.banner.context .navigation-list.new ul a.links-expanded:active,.banner.context .navigation-list.new ul a:hover background-color: #FFFFFF;color: #11809F;.single-column .banner.context > .new a,.single-column .banner.context:not(.home) > .new a,.single-column .banner.context.home > .new a color: #FFFFFF;border-color: #FFFFFF;/* inheriting application banner */.banner.application,.banner.application .navigation-list a,.banner.application .name .title a color: #FFFFFF;.banner.application::after background-color: #FFFFFF;/* custom navigation widget */.header-fragments .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a,.header-fragments .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a:hover color: #FFFFFF;.header-fragments .content-fragment.navigation-custom:after,.header-fragments .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a.selected:after background-color: #FFFFFF;.header-fragments:hover .header-top-content .layout-region.content .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a color: #FFFFFF;.header-fragments .header-top-content .layout-region.content .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a.links-expanded,.header-fragments .header-top-content .layout-region.content .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a.subnav-open,.header-fragments:hover .header-top-content .layout-region.content .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a.links-expanded,.header-fragments:hover .header-top-content .layout-region.content .content-fragment.navigation-custom .navigation-list[data-direction='horizontal'] a.subnav-open background-color: #FFFFFF;color: #11809F;Support forumsKeil forumproblem with printf() and ADCJump...CancelNewStateNot AnsweredLockedLockedReplies6 repliesSubscribers13 subscribersViews1626 viewsUsers0 members are hereMicrocontroller (MCU)(function(w,d,s,l,i)w[l]=w[l])(window,document,'script','dataLayer','GTM-P6S7VDF'); function sharePage(shareUrl) /*window.open(shareUrl+window.location.href, 'newwindow', 'width=900, height=500');*/ window.open(shareUrl+window.location.href, target="_blank"); return false; function fbshareCurrentPage() window.open(" ="+escape(window.location.href)+"&t="+document.title, '', ); return false; function emailCurrentPage() window.location.href="mailto:?subject="+document.title+"&body="+escape(window.location.href); OptionsShareMore actionsCancelRelatedHow was your experience today?This discussion has been locked.You can no longer post new replies to this discussion. If you have a question you can start a new discussionproblem with printf() and ADCOfflineLisa Burkeover 18 years agoHi,I mentioned last week (in "problem with putchar()" thread) that I found my code acting strange when a variable called counter1 keeps incrementing while printing values to the serial port during simulation, even though it is not coded to do so.Basically my program is set to generate analog-to-digital conversions every millisecond (1kHz) on a 100Hz sine wave I have connected to ADC0 input on the Microconverter SAR A3 evaluation board from analog devices which uses an ADuC841 MCU. In the ADC interrupt routine, I basically save the first 12-bit ADC value in a structure and for the next 254 values, I subtract them from the previous sample and save them in the same structure. When my structure is full (i.e. has 255 values and a counter value, counter1), I write the values stored in the structure to the serial port. The problem is when I use printf() or putchar(), the value of my counter increments when I simulate my program and I cant see why, since the program execution does not jump to my ADC ISR. I thought maybe this is a problem with the simulator but when I download the code to the evaluation board and view the output on Hyperterminal, the count values do not match up with the number of values printed. Obviously in the simulator I cannot see the type of values I'm getting as the ADCDATAH/L are always 0. I have tried to look at the trace results when placing a breakpoint at the counter1 variable but am still not sure whats happening.I am new to the whole MCU environment and was wodering if anyone can help. I have placed my code below in case I have not clarified my problem.Thanks,Lisa#include #include #define MAX_COUNT 255sbit LED = 0xB4;unsigned char a = 5;unsigned char channel_to_convert = 0;unsigned char count, counter1 = 2; // doesn't need to go above 255 for now! Initialize to 1 to skip member count in structureunsigned char error = 0;unsigned char finished = 0;bit buf = 0;short adc_value, temp1, temp2;unsigned char i;//int t1,t2;struct record1unsigned char cnt;short base_value;char x[253];;struct record1 rec1[2]; // array variable rec1 of type struct record1// ADC Interrupt Service Routine */void adc_int() interrupt 6LED =0;// Store the first value into the second element of one arrayif (counter1 == 2)counter1++;rec1[buf].base_value = (ADCDATAL else adc_value = (ADCDATAL
analog devices microconverter windows serial downloader
Download Zip: https://consbemtrana.blogspot.com/?ev=2vHA6z
2ff7e9595c
コメント