<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>TXB0108PWR Voltage Level Translator + nrf52840dk + SPI issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113638/txb0108pwr-voltage-level-translator-nrf52840dk-spi-issues</link><description>Hi, We built a nrf52840dk shield that interfaces with an SPI sensor connecting to GPIO_IF4. We require using a voltage translator to translate 3.3V signals into 5V to comunicate with the sensor, because of the rest of our design requires using this 5v</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Aug 2024 09:36:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113638/txb0108pwr-voltage-level-translator-nrf52840dk-spi-issues" /><item><title>RE: TXB0108PWR Voltage Level Translator + nrf52840dk + SPI issues</title><link>https://devzone.nordicsemi.com/thread/497760?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 09:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5fe9e4a-6405-4a32-963c-c2f62e0ec6a2</guid><dc:creator>Joao David Silva</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Probing the lines with a logic analyser didn&amp;#39;t quite clear thing up. Everything looked as expected but the client devices&amp;#39; response&amp;nbsp;didn&amp;#39;t make much sense. We only got the expected response around 20% of the time.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;However, we did manage to solve the issue&lt;/span&gt;. Using an oscilloscope, we saw a lot of ringing/reflections in pretty much every edge of every signal on the high voltage side of the voltage translator, as well as some cross talk from &lt;em&gt;CLK&lt;/em&gt; into &lt;em&gt;MISO&lt;/em&gt; and &lt;em&gt;CS&lt;/em&gt;. The logic analyser wasn&amp;#39;t catching the cross-talk and the ringing (glitch filter was on).&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;TXB0108&lt;/strong&gt; seems to be particularly sensitive to either reflections, capacitive loads, cross-talk or cables with higher impedance. What eventually solved our issue was to shorten the cable connecting the high voltage side of the &lt;strong&gt;TXB0108&lt;/strong&gt;&amp;nbsp;to the sensor from &lt;strong&gt;50cm&lt;/strong&gt; to&lt;strong&gt; 40cm&lt;/strong&gt;, twisting the signal wires with &lt;em&gt;GND&lt;/em&gt; and &lt;em&gt;VCC&lt;/em&gt; (&lt;em&gt;CLK&lt;/em&gt; with &lt;em&gt;GND&lt;/em&gt;, &lt;em&gt;MISO&lt;/em&gt; with &lt;em&gt;VCC&lt;/em&gt;, &lt;em&gt;MOSI&lt;/em&gt; with &lt;em&gt;VCC&lt;/em&gt;, etc), and shielding the cable with copper tape. With this new cable, everything started working as expected with no ringing (perhaps the edge-rate accelerator was being triggered by it).&lt;/p&gt;
&lt;p&gt;Ideally we would have just bypassed the cable and&amp;nbsp;shortened the connection as much&amp;nbsp;as possible, but the sensor we are using doesn&amp;#39;t allow for that. We are stuck with using a cable for SPI communication with this specific sensor.&lt;/p&gt;
&lt;p&gt;During our testing, we also found out that the &lt;strong&gt;TXS0108E&lt;/strong&gt; worked flawlessly while using the longer unshielded cable. It seems to us that this voltage translator is a lot more forgiving than the &lt;strong&gt;TXB0108&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Moving forward, we will swap to the &lt;strong&gt;TXS0108E &lt;/strong&gt;and a properly twisted/shielded slightly shorter cable.&lt;/p&gt;
&lt;p&gt;On a side note, we didn&amp;#39;t do any follow up to the &lt;em&gt;OE &lt;/em&gt;signal suggestion. Keeping it tied high doesn&amp;#39;t seem to be affecting our sensor.&lt;/p&gt;
&lt;p&gt;Thank you all for your feedback!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TXB0108PWR Voltage Level Translator + nrf52840dk + SPI issues</title><link>https://devzone.nordicsemi.com/thread/497487?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 12:51:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cb512d4-ee1b-498e-83d3-1e06c160f798</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Nice catch Hugh! That is a good point.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TXB0108PWR Voltage Level Translator + nrf52840dk + SPI issues</title><link>https://devzone.nordicsemi.com/thread/497377?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 17:37:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ab77eda-f604-481f-be3f-6c1d6015444d</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;The pull-up on OE looks dodgy; maybe test tying low:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;em&gt;The TXB0108 is designed so that the OE input circuit is supplied by VCCA. To ensure the high-impedance state during power-up or power-down, OE should be tied to GND through a pulldown resistor; the minimum value of the resistor is determined by the current-sourcing capability of the driver&lt;/em&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TXB0108PWR Voltage Level Translator + nrf52840dk + SPI issues</title><link>https://devzone.nordicsemi.com/thread/497261?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 06:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83e4b993-516f-4b04-bbc0-61ec8f0cd85c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The schematics looks okay to me, and I can&amp;#39;t say I see why this should cause trouble for the SPI communication. Are you able to probe the data lines to see what&amp;#39;s happening on the lines themselves with a logic analyzer?&lt;/p&gt;
&lt;p&gt;On the DK, what states are the switches set to here? As the power source for example should be set to Li-Po if you power it on P27 for example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TXB0108PWR Voltage Level Translator + nrf52840dk + SPI issues</title><link>https://devzone.nordicsemi.com/thread/496995?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 13:44:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7498b69e-de9d-4175-a49c-53f39661c1a3</guid><dc:creator>Machado94</dc:creator><description>&lt;p&gt;Hi Simon, thanks for your prompt reply.&lt;br /&gt;&lt;br /&gt;Yes, we are using the&lt;span&gt;&amp;nbsp;P27 (Li-Po connector) with the nRF power source switch set to Li-po to supply at 3.3V.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Follows attached the pdf and &lt;span&gt;the voltage translator&amp;nbsp;&lt;/span&gt;data sheet you requested.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/shield_5F00_schematic.pdf"&gt;devzone.nordicsemi.com/.../shield_5F00_schematic.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/txb0108.pdf"&gt;devzone.nordicsemi.com/.../txb0108.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Pedro&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TXB0108PWR Voltage Level Translator + nrf52840dk + SPI issues</title><link>https://devzone.nordicsemi.com/thread/496965?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 12:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10720177-f050-4c3d-9317-8f7bae84534e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Pedro&lt;/p&gt;
&lt;p&gt;Can you upload the schematics as a .pdf instead of SchDoc file. Do you also have a link to the datasheet of the voltage translator you&amp;#39;re using so we can check its specs? To power the nRF52840 SoC on the nRF52840 DK with up to 5.5V,&amp;nbsp;you should power the board through J6 or P27 (Li-Po connector).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>