<?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>DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115296/devacademy-intermediate-lesson-5-exercise-2-alternative-rpi-display-with-nrf9161dk</link><description>I have been sitting with this problem for almost 2 weeks and have tried alot of different thing but without anything working, 
 Im using VS code with the nrf9161 and it has the version: &amp;quot;Manage toolchains v2.7.0 and &amp;quot;Manage west workspace v2.6.1&amp;quot; 
 Just</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Oct 2024 12:53:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115296/devacademy-intermediate-lesson-5-exercise-2-alternative-rpi-display-with-nrf9161dk" /><item><title>RE: DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/thread/505892?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 12:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccb069e7-300d-4b5c-9db3-3286170b4295</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The trace does not show any activity on the MISO (master in - slave out) line, which the display should use to respond to the nRF host.&amp;nbsp;&lt;/p&gt;
[quote user="EgilCL"]Im still fairly new to the nrf and vscode, so im unsure how to get the logs? here are the output from the terminal:[/quote]
&lt;p&gt;Logs are by default outputted on the UART. You can open up your favorite terminal (putty, teraterm, nrf serial etc) and connect to the COM-port with 115200 baud rate, and you should get a log output.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="EgilCL"]*I put &amp;quot;&lt;span&gt;CONFIG_DK_LIBRARY=n&amp;quot; into the prj.conf but it still shows the conflict between pins.&lt;/span&gt;[/quote]
&lt;p&gt;vscode will warn you about the conflict, as the devicetree entires do indeed conflict, but if you do not use the LEDs/Buttons, the GPIOs will be unused.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you checked the datasheet of your display driver to see if this is compatible with the ilitek9340?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/thread/505668?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 08:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec2901ff-a628-403b-af7a-df26d87b724c</guid><dc:creator>EgilCL</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf9161DK_5F00_SPI_5F00_Display.zip"&gt;devzone.nordicsemi.com/.../nrf9161DK_5F00_SPI_5F00_Display.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;* The&amp;nbsp;&lt;span&gt;saleae logic file o&lt;/span&gt;utput is with custom gpios for CS and&amp;nbsp;CMD.&lt;/p&gt;
&lt;p&gt;*I put &amp;quot;&lt;span&gt;CONFIG_DK_LIBRARY=n&amp;quot; into the prj.conf but it still shows the conflict between pins.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;*I changed to v2.61, but with no difference for now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;*Im still fairly new to the nrf and vscode, so im unsure how to get the logs? here are the output from the terminal:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/0394c8d0_2D00_a306_2D00_40f3_2D00_928a_2D00_bc7918d5149a-136825-complete/pastedimage1728478359721v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/thread/505565?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 12:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf100eaf-72b5-4a8a-87ea-3f466b35b3dd</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you .zip the saleae logic file and share it here?&lt;/p&gt;
&lt;p&gt;In the picture that you attached yesterday:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3858.pastedimage1728387556743v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are toggling on the MISO line, but with the resolution of the image, it is hard to say what is happening.&lt;/p&gt;
[quote user="EgilCL"]Should there be&amp;nbsp;conflicting pin from this exercise?[/quote]
&lt;p&gt;There can be an issue if you use the button. Ensure that CONFIG_DK_LIBRARY=n.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any runtime logging that is printed when you run the firmware?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using ncs v2.7.0 or v2.6.2? In v2.7.0, which is based on zephyr 3.6, the way to populate a display has changed:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/doc/releases/migration-guide-3.6.rst#display"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/doc/releases/migration-guide-3.6.rst#display&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/thread/505523?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 10:49:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:786cae4b-66c0-459a-a77c-1f6dce7b3a93</guid><dc:creator>EgilCL</dc:creator><description>&lt;p&gt;some screenshots of the output:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728470942921v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728470958036v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp; first 4 hex from mosi is: 0x36, 0x28, 0x3A, 0x66&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/thread/505512?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 10:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c6e9478-74f0-458b-a4cb-b3b98b127f15</guid><dc:creator>EgilCL</dc:creator><description>&lt;p&gt;Thx for taking your time to help me.&lt;/p&gt;
&lt;p&gt;So i guess the first thing is to make sure the SPI works right?&lt;/p&gt;
&lt;p&gt;So just to be sure, the example has the piunouts&lt;/p&gt;
&lt;p&gt;SCK - P0.13&lt;/p&gt;
&lt;p&gt;&lt;span&gt;MISO - P0.12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;MOSI - P0.11&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;cmd-data - P0.09&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CS- P0.04&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;is this correct?&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The base exercise should work out of the box sins it also has an overlay file dedicated to nrf9161?&lt;/p&gt;
&lt;p&gt;Should there be&amp;nbsp;conflicting pin from this exercise?&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/pastedimage1728473064760v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;My board configuration is this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728466898004v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;The cmd-data pin is this one in the overlay file:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728467681665v11.png" /&gt;&lt;/p&gt;
&lt;p&gt;My pinout (i tried with both default pins and custom ones&amp;nbsp;(CS and cmd)):&lt;/p&gt;
&lt;p&gt;To answer your question: IRQ is connecting to VDD or GND, didnt know which would work, but with no luck for now.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1728466426786v3.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/thread/505361?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 13:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cbd06aa-3c3f-4b64-a470-8eabb79bfebf</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Egil,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share the zoomed in data and response from the board?&lt;/p&gt;
[quote user="EgilCL"]cmd-data to pin[/quote]
&lt;p&gt;Which pin is this?&amp;nbsp;Is this what is mapped to the &amp;quot;IRQ&amp;quot; pin on the 20-pin header?&lt;/p&gt;
&lt;p&gt;Note that this is not a display that I have tried before, so I am quite blank in terms of how this maps to the header that you posted.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there any log output from the firmware that can help here?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/thread/505326?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 11:40:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48322527-0e3e-4db6-9cfc-ef791a04720a</guid><dc:creator>EgilCL</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon&lt;/p&gt;
&lt;p&gt;Thx for the quick reply. I tried changing the&amp;nbsp;&lt;span&gt;setting&amp;nbsp;&amp;quot;VDD for GNSS and LEDs&amp;quot; to 3.3V, it was on 3.0V before changing it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But it is still not showing anything. I also tried to change the cmd-data to pin P0.03 and CS to pin P0.07 so there was no conflict with those pins, but still without any result. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When measuring the voltage on the pins: CS is 3.3V but cmd-data are only 0V no matter if i try the default pins or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The display only works with 5V, then trying 3.3V the display does not light up.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is the output im getting when the display is connected, still only lights up white.&lt;/span&gt;&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/pastedimage1728387556743v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;/Egil&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DevAcademy intermediate Lesson 5 Exercise 2 alternative RPi Display with nrf9161DK</title><link>https://devzone.nordicsemi.com/thread/505294?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 09:23:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6aede12-8fc5-4b9f-8951-e76cd38225a7</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By default, the nRF9161-DK is using 1.8V VDD GPIO voltage. This can be changed in the board configurator in nRF connect for desktop:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-board-configurator/page/updating.html"&gt;https://docs.nordicsemi.com/bundle/nrf-connect-board-configurator/page/updating.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you try setting&amp;nbsp;&amp;quot;VDD for GNSS and LEDs&amp;quot; to match the required voltage of your display (ie. 3.3V) and see if the display starts responding over SPI then?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>