<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: PSoC FreeRTOS &#8211; Sharing the I2C Bus	</title>
	<atom:link href="https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/feed/" rel="self" type="application/rss+xml" />
	<link>https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/</link>
	<description>Engineering for the Internet of Things</description>
	<lastBuildDate>Sat, 21 Dec 2019 15:44:36 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Alan Hawse		</title>
		<link>https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/#comment-29427</link>

		<dc:creator><![CDATA[Alan Hawse]]></dc:creator>
		<pubDate>Sat, 21 Dec 2019 15:44:36 +0000</pubDate>
		<guid isPermaLink="false">https://iotexpert.com/?p=3713#comment-29427</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/#comment-24198&quot;&gt;Phi Nguyen&lt;/a&gt;.

With a queue you probably have multiple writers... and one consumer...  I can think of a reason why I would want multiple people to read out of a queue.  Every time I do something like that I try to use multiple queues with one per task.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/#comment-24198">Phi Nguyen</a>.</p>
<p>With a queue you probably have multiple writers&#8230; and one consumer&#8230;  I can think of a reason why I would want multiple people to read out of a queue.  Every time I do something like that I try to use multiple queues with one per task.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Phi Nguyen		</title>
		<link>https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/#comment-24198</link>

		<dc:creator><![CDATA[Phi Nguyen]]></dc:creator>
		<pubDate>Wed, 06 Nov 2019 18:35:07 +0000</pubDate>
		<guid isPermaLink="false">https://iotexpert.com/?p=3713#comment-24198</guid>

					<description><![CDATA[Hi Alan,

Thank you for sharing the knowledge.
if you have multiple writers on a queue, how to make sure the right task gets the right given message?

Thanks,
Phi]]></description>
			<content:encoded><![CDATA[<p>Hi Alan,</p>
<p>Thank you for sharing the knowledge.<br />
if you have multiple writers on a queue, how to make sure the right task gets the right given message?</p>
<p>Thanks,<br />
Phi</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alan Hawse		</title>
		<link>https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/#comment-9250</link>

		<dc:creator><![CDATA[Alan Hawse]]></dc:creator>
		<pubDate>Thu, 29 Nov 2018 12:37:36 +0000</pubDate>
		<guid isPermaLink="false">https://iotexpert.com/?p=3713#comment-9250</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/#comment-9201&quot;&gt;william Cirillo&lt;/a&gt;.

Yes it can be used to share the I2C bus amoung tasks.  I am using that exact block of code on a P6 to do exactly that.

As far as using the M0 to collect data and the M4 to do something else.  Obviously that can be done.  However, you need to keep in mind that both MCUs are attached to the same bus at the same time and you need to be careful about how they interact.  There is a block in the chip called the IPC block that was built to communicate between the MCUs.  I haven’t specifically used it, but there are code examples and an application note on it.  I hope that helps.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/#comment-9201">william Cirillo</a>.</p>
<p>Yes it can be used to share the I2C bus amoung tasks.  I am using that exact block of code on a P6 to do exactly that.</p>
<p>As far as using the M0 to collect data and the M4 to do something else.  Obviously that can be done.  However, you need to keep in mind that both MCUs are attached to the same bus at the same time and you need to be careful about how they interact.  There is a block in the chip called the IPC block that was built to communicate between the MCUs.  I haven’t specifically used it, but there are code examples and an application note on it.  I hope that helps.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: william Cirillo		</title>
		<link>https://iotexpert.com/psoc-freertos-sharing-the-i2c-bus/#comment-9201</link>

		<dc:creator><![CDATA[william Cirillo]]></dc:creator>
		<pubDate>Tue, 27 Nov 2018 07:37:07 +0000</pubDate>
		<guid isPermaLink="false">https://iotexpert.com/?p=3713#comment-9201</guid>

					<description><![CDATA[Hi Alan,
Is it possible to extend this example to cover Sharing the I2C bus among tasks for the PSoc^ ... I am trying to port this example and I am having loads of issues ... I am sure most of them are due to my misunderstanding of something really simple ... another example would go a long way.

I am also looking for some examples where I am runing RTOS on the M4 and have the M0+ just doing really fast data collection from 2/3 sensors some basic processing and making the data available for the M4 to display and tale other House keeping tasks based on this data.

Many thanks for all your other videos 
William]]></description>
			<content:encoded><![CDATA[<p>Hi Alan,<br />
Is it possible to extend this example to cover Sharing the I2C bus among tasks for the PSoc^ &#8230; I am trying to port this example and I am having loads of issues &#8230; I am sure most of them are due to my misunderstanding of something really simple &#8230; another example would go a long way.</p>
<p>I am also looking for some examples where I am runing RTOS on the M4 and have the M0+ just doing really fast data collection from 2/3 sensors some basic processing and making the data available for the M4 to display and tale other House keeping tasks based on this data.</p>
<p>Many thanks for all your other videos<br />
William</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
