<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>understand TinyUSB USBTMC protocols</title><link>/technologies/test-and-measurement/b/blog/posts/understand-tinyusb-usbtmc-protocols</link><description>In this post, I attempt to understand the flows that the USBTMC class driver follows for:

standard SCPI query / response
standard SCPI command only
*STB? status byte requests
service requests
triggers

For each scenario, I&amp;#39;ll try to figure...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: understand TinyUSB USBTMC protocols</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/understand-tinyusb-usbtmc-protocols</link><pubDate>Wed, 04 Oct 2023 20:40:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5296c02a-ea8d-4190-8469-2b363e709ace</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update Jan.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26960&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: understand TinyUSB USBTMC protocols</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/understand-tinyusb-usbtmc-protocols</link><pubDate>Wed, 04 Oct 2023 17:43:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5296c02a-ea8d-4190-8469-2b363e709ace</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;&amp;nbsp;[mention:bffbb58a51e44afa8e6e976a48255202:e9ed411860ed4f2ba0265705b8793d05]&amp;nbsp;, the TinyUSB example sets SRQ bit (0x40) in the STB when it receives a SCPI command.&amp;nbsp;&lt;a href="https://github.com/hathach/tinyusb/blob/b394ae1786911a89ea3437d7090cda477ca7df6c/examples/device/usbtmc/src/usbtmc_app.c#L219" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://github.com/hathach/tinyusb/blob/b394ae1786911a89ea3437d7090cda477ca7df6c/examples/device/usbtmc/src/usbtmc_app.c#L219&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I ported this to the firmware&lt;/p&gt;
&lt;p&gt;Are you aware that this is normal? I start to expect that this is a test case, not default behaviour ...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=26960&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>