<?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: HOWTO: Use STM32 SPI half duplex mode	</title>
	<atom:link href="https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/feed/" rel="self" type="application/rss+xml" />
	<link>https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/</link>
	<description>Electronics, Computers at leisure time</description>
	<lastBuildDate>Tue, 07 Jun 2016 15:23:24 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>
	<item>
		<title>
		By: Pierre		</title>
		<link>https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-145</link>

		<dc:creator><![CDATA[Pierre]]></dc:creator>
		<pubDate>Tue, 07 Jun 2016 15:23:24 +0000</pubDate>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=929#comment-145</guid>

					<description><![CDATA[This is not what half duplex is. SPI is not a time-multiplexed protocol, it is a one byte in / one byte out protocol. Please read about full duplex and half duplex modes (for SPI) and correct your article. Half duplex with SPI only means you only have MOSI or MISO.]]></description>
			<content:encoded><![CDATA[<p>This is not what half duplex is. SPI is not a time-multiplexed protocol, it is a one byte in / one byte out protocol. Please read about full duplex and half duplex modes (for SPI) and correct your article. Half duplex with SPI only means you only have MOSI or MISO.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: fikir		</title>
		<link>https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-144</link>

		<dc:creator><![CDATA[fikir]]></dc:creator>
		<pubDate>Tue, 12 May 2015 01:53:41 +0000</pubDate>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=929#comment-144</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-143&quot;&gt;Baoshi&lt;/a&gt;.

Thank you for your reply. I&#039;m going to add chip select signal to my fpga and the reason why I want to use the spi bus is because I&#039;m planning to add few other sensors.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-143">Baoshi</a>.</p>
<p>Thank you for your reply. I&#8217;m going to add chip select signal to my fpga and the reason why I want to use the spi bus is because I&#8217;m planning to add few other sensors.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Baoshi		</title>
		<link>https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-143</link>

		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Tue, 12 May 2015 01:43:10 +0000</pubDate>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=929#comment-143</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-142&quot;&gt;fikir&lt;/a&gt;.

Hi, I think your case it is not standard SPI. It is more likely to be synchronized serial mode. I&#039;m not too sure but if you&#039;re using STM32 you should  be able to config USART in synchronized mode and use it directly.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-142">fikir</a>.</p>
<p>Hi, I think your case it is not standard SPI. It is more likely to be synchronized serial mode. I&#8217;m not too sure but if you&#8217;re using STM32 you should  be able to config USART in synchronized mode and use it directly.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: fikir		</title>
		<link>https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-142</link>

		<dc:creator><![CDATA[fikir]]></dc:creator>
		<pubDate>Mon, 11 May 2015 00:54:58 +0000</pubDate>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=929#comment-142</guid>

					<description><![CDATA[Hi, I have a question. Let say my slave device has no chip select pin. My slave is an fpga and I didn&#039;t make chip select pin. Basically, the fpga will produce serial data out as long as the spi_clk is there and I don&#039;t need the master to send any data. So, in the above code, during the sending 1 byte by master, the spi_clk is produced or not? 

In my case, I would like the spi_clk to only be there when the master is ready to receive data. So, if the master produce 8 clock cycles, the master will receive 8 bit of data. If the clock stop, no data will be coming from the slave. Once the fpga(slave) has sent all the data, the fpga will sent a read_complete signal and all the communication will stop.

Therefore it is important for the master to only send the clock during receiving mode only. Is this what is meant by `transmitting mode to stop the clock&#039; in the above code?]]></description>
			<content:encoded><![CDATA[<p>Hi, I have a question. Let say my slave device has no chip select pin. My slave is an fpga and I didn&#8217;t make chip select pin. Basically, the fpga will produce serial data out as long as the spi_clk is there and I don&#8217;t need the master to send any data. So, in the above code, during the sending 1 byte by master, the spi_clk is produced or not? </p>
<p>In my case, I would like the spi_clk to only be there when the master is ready to receive data. So, if the master produce 8 clock cycles, the master will receive 8 bit of data. If the clock stop, no data will be coming from the slave. Once the fpga(slave) has sent all the data, the fpga will sent a read_complete signal and all the communication will stop.</p>
<p>Therefore it is important for the master to only send the clock during receiving mode only. Is this what is meant by `transmitting mode to stop the clock&#8217; in the above code?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: replay1		</title>
		<link>https://ba0sh1.com/2014/05/31/howto-use-stm32-spi-half-duplex-mode/#comment-141</link>

		<dc:creator><![CDATA[replay1]]></dc:creator>
		<pubDate>Fri, 17 Oct 2014 10:56:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=929#comment-141</guid>

					<description><![CDATA[good one! Wish you would make similar tutorial about I2C bus too.

Keep up the good work!]]></description>
			<content:encoded><![CDATA[<p>good one! Wish you would make similar tutorial about I2C bus too.</p>
<p>Keep up the good work!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
