<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Good old printf() (continued)</title>
	<link>http://blog.flyingpic24.com/2009/09/30/good-old-printf-continued/</link>
	<description>Programming 16 and 32-bit microcontrollers in C.</description>
	<pubDate>Tue, 07 Feb 2012 23:56:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: c.pergiel</title>
		<link>http://blog.flyingpic24.com/2009/09/30/good-old-printf-continued/#comment-291</link>
		<author>c.pergiel</author>
		<pubDate>Wed, 30 Dec 2009 16:13:29 +0000</pubDate>
		<guid>http://blog.flyingpic24.com/2009/09/30/good-old-printf-continued/#comment-291</guid>
		<description>I am glad I stopped by. I just started a new project: porting some code I wrote a few years ago for an AVR Atmega processor to a new PIC32. Having printf available should make my job much easier.</description>
		<content:encoded><![CDATA[<p>I am glad I stopped by. I just started a new project: porting some code I wrote a few years ago for an AVR Atmega processor to a new PIC32. Having printf available should make my job much easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pcwood21</title>
		<link>http://blog.flyingpic24.com/2009/09/30/good-old-printf-continued/#comment-284</link>
		<author>pcwood21</author>
		<pubDate>Tue, 20 Oct 2009 07:05:54 +0000</pubDate>
		<guid>http://blog.flyingpic24.com/2009/09/30/good-old-printf-continued/#comment-284</guid>
		<description>If you define and configure a baud rate for UART1 in your code, the printf and UART output are run with delay, as it should to properly simulate. The printf command will take the proper cycles to operate. This can mess with stimulus inputs to the UART. I had a printf statement in a receive ISR when I encountered this. I scratched my head for some time until I figured it out by placing breakpoints and watching it work fine without the printf. It wasn't exiting the ISR before the next input byte arrived, and it dropped the rest of the data.</description>
		<content:encoded><![CDATA[<p>If you define and configure a baud rate for UART1 in your code, the printf and UART output are run with delay, as it should to properly simulate. The printf command will take the proper cycles to operate. This can mess with stimulus inputs to the UART. I had a printf statement in a receive ISR when I encountered this. I scratched my head for some time until I figured it out by placing breakpoints and watching it work fine without the printf. It wasn&#8217;t exiting the ISR before the next input byte arrived, and it dropped the rest of the data.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

