<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lopple &#187; LPC11C24</title>
	<atom:link href="http://www.lopple.jp/?cat=51&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.lopple.jp</link>
	<description>組込ソフト・機器開発／スマートフォンアプリ開発／Webシステム開発・保守</description>
	<lastBuildDate>Fri, 12 Jul 2019 07:40:18 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>LPC11C24メモ</title>
		<link>http://www.lopple.jp/?p=628</link>
		<comments>http://www.lopple.jp/?p=628#comments</comments>
		<pubDate>Sat, 27 Apr 2013 09:11:09 +0000</pubDate>
		<dc:creator>takezawa</dc:creator>
				<category><![CDATA[LPC11C24]]></category>

		<guid isPermaLink="false">http://www.lopple.jp/?p=628</guid>
		<description><![CDATA[・外部電源の場合3.3Vへの給電が必要。 ・CANの使用のためには5Vの給電が必要。デバッガ接続時はUSB経由で供給される。 外部の場合は+5VINに給電しSJ3を2-3のショートに切り替える。 ・SJ1をショートさせる &#8230; <a href="http://www.lopple.jp/?p=628">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>・外部電源の場合3.3Vへの給電が必要。</p>
<p>・CANの使用のためには5Vの給電が必要。デバッガ接続時はUSB経由で供給される。<br />
外部の場合は+5VINに給電しSJ3を2-3のショートに切り替える。</p>
<p>・SJ1をショートさせるとSTB（CANのサイレントモード）が有効になる。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lopple.jp/?feed=rss2&#038;p=628</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LPC11C24でUART</title>
		<link>http://www.lopple.jp/?p=566</link>
		<comments>http://www.lopple.jp/?p=566#comments</comments>
		<pubDate>Sun, 14 Oct 2012 11:30:44 +0000</pubDate>
		<dc:creator>takezawa</dc:creator>
				<category><![CDATA[LPC11C24]]></category>
		<category><![CDATA[NXP]]></category>

		<guid isPermaLink="false">http://www.lopple.jp/?p=566</guid>
		<description><![CDATA[cf.http://www.nxp.com/documents/data_sheet/LPC11CX2_CX4.pdf データシートよりP1_6がRXD、P1_7がTXDである。 シリアルポートとクロス接続。もちろんGN &#8230; <a href="http://www.lopple.jp/?p=566">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lopple.jp/wp-content/uploads/2012/10/uart.png"><img class="alignnone size-full wp-image-567" title="uart" src="http://www.lopple.jp/wp-content/uploads/2012/10/uart.png" alt="" width="665" height="138" /></a></p>
<p>cf.<a href="http://www.nxp.com/documents/data_sheet/LPC11CX2_CX4.pdf">http://www.nxp.com/documents/data_sheet/LPC11CX2_CX4.pdf</a></p>
<p>データシートよりP1_6がRXD、P1_7がTXDである。</p>
<p>シリアルポートとクロス接続。もちろんGNDも繋ぐ。</p>
<p>サンプルプロジェクトのuartをビルドして書き込み。</p>
<p>ボーレートなどの設定は以下の通り。</p>
<p><a href="http://www.lopple.jp/wp-content/uploads/2012/10/uart_teraterm.png"><img class="alignnone size-full wp-image-568" title="uart_teraterm" src="http://www.lopple.jp/wp-content/uploads/2012/10/uart_teraterm.png" alt="" width="396" height="360" /></a></p>
<p>単なるエコーバックのプログラムなので入力した文字がそのまま表示されればOK.</p>
<p>==</p>
<p><strong>※RS485について</strong></p>
<p>はじめ、データシートにはRS485サポートなどと書かれていたので通常のTTLレベルの出力はないのかと勘違いしてしまったのだが標準の動作がTTLレベルの出力のようだ。</p>
<p>データシートを読んだところ差動出力に相当するピンがないのでCANのようにレベル変換までの仕組みはなく485のプロトコルのサポートまでがあるということのようだ。<br />
（RTSピンで送受信方向の決定を行うらしい cf.<a href="http://www.nxp.com/documents/user_manual/UM10398.pdf">http://www.nxp.com/documents/user_manual/UM10398.pdf</a> P.191）</p>
<p>デモプロジェクト(rs485)でも485のポートを使えとは書いておらず2枚ボードを使用して送受信を行えと書いてあるので多分そういうことなのだろう。</p>
<p>暇があれば検証したい。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lopple.jp/?feed=rss2&#038;p=566</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LPC11C24評価ボードのCAN機能</title>
		<link>http://www.lopple.jp/?p=555</link>
		<comments>http://www.lopple.jp/?p=555#comments</comments>
		<pubDate>Sun, 14 Oct 2012 07:01:40 +0000</pubDate>
		<dc:creator>takezawa</dc:creator>
				<category><![CDATA[CAN]]></category>
		<category><![CDATA[LPC11C24]]></category>
		<category><![CDATA[NXP]]></category>

		<guid isPermaLink="false">http://www.lopple.jp/?p=555</guid>
		<description><![CDATA[秋月で売っていたＬＰＣ１１Ｃ２４評価ボードＬＰＣＸｐｒｅｓｓｏＢｏａｒｄ　ＯＭ１３０１２を試してみた。 cf.http://akizukidenshi.com/catalog/g/gM-05090/ C:\nxp\LPC &#8230; <a href="http://www.lopple.jp/?p=555">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>秋月で売っていたＬＰＣ１１Ｃ２４評価ボードＬＰＣＸｐｒｅｓｓｏＢｏａｒｄ　ＯＭ１３０１２を試してみた。<br />
cf.<a href="http://akizukidenshi.com/catalog/g/gM-05090/">http://akizukidenshi.com/catalog/g/gM-05090/</a></p>
<p>C:\nxp\LPCXpresso_4.3.0_1023\lpcxpresso\Examples\NXP\LPC1000\LPC11xxの</p>
<p>NXP_LPCXpresso11C24_2011-01-27.zip</p>
<p>をLPCXpressoでImport。</p>
<p>can_onchipプロジェクトをビルドしてcan_onchip\Debug\can_onchip.axfをProgram FlashするとCANのサンプルプログラムが動作する</p>
<p>can_onchip_readme.txtによるとボーレート125Kbpsで"TEST"というデータを送ってくれるようだ。しかしメッセージIDの指定がない・・・</p>
<pre>CAN Configuration:
CAN bus baudrate: 125kbps

Sample Project Details:

1.	Upon reset, the LPC11C00 will send a simple CAN frame
	using the on-chip CAN drivers. It will send a CAN frame
	with its data contents of "TEST".</pre>
<p>ロジアナでみてみたところ、ちゃんと出力されているのが分かった。(ちなみにロジアナの接続はCAN_LをGNDとして、CAN_Hを測定。それをReverseしたものをプロトコルアナライザへという流れ)</p>
<p><a href="http://www.lopple.jp/wp-content/uploads/2012/10/can.png"><img class="alignnone size-full wp-image-556" title="can" src="http://www.lopple.jp/wp-content/uploads/2012/10/can.png" alt="" width="840" height="93" /></a></p>
<p>ちなみにメッセージIDは0x345だった。</p>
<p><a href="http://www.lopple.jp/wp-content/uploads/2012/10/can2.png"><img class="alignnone size-full wp-image-557" title="can2" src="http://www.lopple.jp/wp-content/uploads/2012/10/can2.png" alt="" width="810" height="93" /></a></p>
<p>終端抵抗は内部でもっているようで測定したところキッチリ120Ωあった。</p>
<p>とりあえずは以上。</p>
<p>ARMの環境をいくつか試しているがNXPがExampleの説明が親切だったり公式の開発環境がeclipseベースでコード制限も128kbまでと余裕があったりするので割と取っ掛かりやすそうである。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lopple.jp/?feed=rss2&#038;p=555</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
