<?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>LCD display shows unwanted characters</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106496/lcd-display-shows-unwanted-characters</link><description>I&amp;#39;m working on a project using nRF52840 DK. I need to interface ublox neo6m GPS module, 2x16 ALCD, and an accelerometer module(ADXL345). LCD and accelerometer modules are interfaced using I2C and Neo 6m GPS module via UART. I use a power bank to supply</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Dec 2023 17:00:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106496/lcd-display-shows-unwanted-characters" /><item><title>RE: LCD display shows unwanted characters</title><link>https://devzone.nordicsemi.com/thread/461146?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 17:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb255811-e88f-4515-b2ec-8ce1be32f290</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for sharing this additional information as well.&lt;br /&gt;&lt;br /&gt;The flanks/characteristics for the communication&amp;nbsp;looks correct in the shared screenshots, yes.&lt;br /&gt;The last thing we should check in this regard is that the written symbols actually&lt;br /&gt;You could do this by either going through the code to see that there are no chance these symbols could be the result of a memory shift, or similar, or to check this by exporting the trace from the logic analyzer/oscilloscope and verifying what is written this way.&lt;br /&gt;&lt;br /&gt;Have you reached out to the manufacturers of the LCD to see if they have any comment?&lt;br /&gt;If the communication from the nrf is verified to be correct then I am not sure exactly what our next step should be.&lt;br /&gt;Are you using an official driver for this LCD, or have you made it yourself?&lt;br /&gt;Perhaps there is an incorrect setting or configuration in the I2C communication, or similar.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LCD display shows unwanted characters</title><link>https://devzone.nordicsemi.com/thread/461134?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 16:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd1f5216-149b-4e9f-88f0-3b1e5dc0c206</guid><dc:creator>Adhil Xavier</dc:creator><description>&lt;p style="text-align:left;"&gt;Yes in the first part of the video it was the expected one, and second part is with the. LCD glitch. I tried the swap test also but getting the same issue.Also tried to probe the pins after swapping the LCD. I think I2C com is fine. Properly writing data to LCD. Attaching the images before and after LCD glitches&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_20231219_5F00_212601.jpg" alt=" " /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/IMG_5F00_20231219_5F00_212755.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LCD display shows unwanted characters</title><link>https://devzone.nordicsemi.com/thread/460782?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 10:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32635265-aaf1-47f2-b4b7-1328204b93f4</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;It is hard to see exactly from the video of the oscilloscope, but at least the waveforms looks correct indeed, but it could still be a hardware issue with the LCD, yes.&lt;br /&gt;Was this scoped at the output of the nRF52?&lt;br /&gt;Do you have another LCD screen which you could perform a swap test with, i.e swap out the LCD shown here with the other LCD, to see if the other one behaves exactly the same?&lt;br /&gt;&lt;br /&gt;In general, is the unexpected symbols that show up always the same?&lt;br /&gt;&lt;br /&gt;It seems to me that it in the first part of the video functions as expected, and then in the second half it does not anymore - is there any difference to the test setup or program in the two instances?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LCD display shows unwanted characters</title><link>https://devzone.nordicsemi.com/thread/460399?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 14:52:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13e05204-2ae5-4ecd-ba7b-40b6190d6d66</guid><dc:creator>Adhil Xavier</dc:creator><description>&lt;p&gt;Hi I tried to probe the I2C pins of nRF52840 DK it is writing properly to LCD even though LCD glitch happening. attaching the video for your reference. Could it be hardware issue ?&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/VID_2D00_20231214_2D00_WA0011.mp4"&gt;devzone.nordicsemi.com/.../VID_2D00_20231214_2D00_WA0011.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LCD display shows unwanted characters</title><link>https://devzone.nordicsemi.com/thread/460226?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 20:36:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6395dfa-ab40-464b-bb64-c31f750d8501</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for the clarifications.&lt;br /&gt;&lt;br /&gt;The characters on the screen makes me suspect that there could be a mismatch in your configuration, or a hardware issue. Do you have access to an oscilloscope or logic analyzer, so that you may see what is being sent over the TWI? This would quickly help us pinpoint where the issue stems from.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LCD display shows unwanted characters</title><link>https://devzone.nordicsemi.com/thread/459831?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 05:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59b9164b-5b86-4705-9d64-4e6bef574430</guid><dc:creator>Adhil Xavier</dc:creator><description>&lt;p&gt;This is the i2c configurations in the overlay file im using,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1702359202715v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And this is i2c pin configuration.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1702359405726v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Since i2c pin configuration shows nothing regarding pullups. I assume that it is disabled by default. Correct me if I&amp;#39;m wrong.&lt;/p&gt;
&lt;p&gt;And also this is the LCD module I&amp;#39;m using now.&lt;/p&gt;
&lt;p&gt;I was using the i2c0 channel initially with all the I2C support modules interfaced to same channel. I tried a workaround like using a separate channel to check if the interference is due to other slave devices. But still the issue persists im using i2c channel one now. I&amp;#39;m attaching the video of my findings here for your reference. Kindly guide me if anything is wrong in setup.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/VID_2D00_20231211_2D00_WA0034.mp4"&gt;devzone.nordicsemi.com/.../VID_2D00_20231211_2D00_WA0034.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LCD display shows unwanted characters</title><link>https://devzone.nordicsemi.com/thread/459680?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2023 12:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b738a351-a301-4ece-8687-25c5477f3dc8</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Could you try to disable the internal pullups for your I2C pins, and instead use external 4.7 k Ohm ones?&lt;br /&gt;&lt;br /&gt;Other than that I would recommend that you use a logic analyzer to scope the pins of both the I2C and the LCD, so that we can verify where in your project the root of the issue is. Do you have access to a logic analyzer?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>