<?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>Debugging stops at particular function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49625/debugging-stops-at-particular-function</link><description>Hello, 
 I wrote the code for HT1632 using SPI Protocol 
 while debugging when it comes to below function it will stop debugging 
 HT1632_5X21_init( LED_MAX_DISPLAY_X, LED_MAX_DISPLAY_Y); 
 is this correct way for using SPI transfer 
 
 what is wrong</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jul 2019 13:41:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49625/debugging-stops-at-particular-function" /><item><title>RE: Debugging stops at particular function</title><link>https://devzone.nordicsemi.com/thread/197877?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 13:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1742f40-8524-4294-925b-714525d66462</guid><dc:creator>awneil</dc:creator><description>[quote userid="79506" url="~/f/nordic-q-a/49625/debugging-stops-at-particular-function/197874"]I solve the error[/quote]
&lt;p&gt;Exellent!&lt;/p&gt;
&lt;p&gt;Now please verify the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/44660._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging stops at particular function</title><link>https://devzone.nordicsemi.com/thread/197874?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 13:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc6317e7-6407-4580-ab13-c67d71259ef4</guid><dc:creator>gain</dc:creator><description>&lt;p&gt;Thank&amp;nbsp; you for your replay&lt;/p&gt;
&lt;p&gt;I solve the error&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did&amp;#39;t set the buffers of slave&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;learn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging stops at particular function</title><link>https://devzone.nordicsemi.com/thread/197870?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 13:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ea7ad1d-566c-4150-bfc4-9d697d9bfba3</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Do you really intend to set up both an SPI master and an SPI slave interface?&lt;/p&gt;
&lt;p&gt;SPI is full duplex, and allows you to send and receive data simultaneously on a single bus. I would expect that you only need to set up the SPI master (nrf_drv_spi) on the nRF52 side to communicate with your HT1632 chip.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging stops at particular function</title><link>https://devzone.nordicsemi.com/thread/197756?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 09:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c387afd0-e05c-440b-8125-52f5bfe9a1d6</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Still hard to understand what&amp;#39;s actually happening - remember that we can&amp;#39;t see you, or your bench, or what you are actually doing, or what is actually happening.&lt;/p&gt;
&lt;p&gt;Remote debugging is &lt;strong&gt;&lt;em&gt;hard&lt;/em&gt;!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Do you have teachers / supervisors / colleagues locally who could help you?&lt;/p&gt;
[quote userid="79506" url="~/f/nordic-q-a/49625/debugging-stops-at-particular-function/197754"]while debugging using STEP OVER(F10).[/quote]
&lt;p&gt;Instead of Step-Over, try Step-Into - this should, at least, help to narrow down where the problem is occurring.&lt;/p&gt;
&lt;p&gt;What board are you using?&lt;/p&gt;
&lt;p&gt;You aren&amp;#39;t using the debugger SWD lines as SPI, or anything else, are you ... ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging stops at particular function</title><link>https://devzone.nordicsemi.com/thread/197754?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 08:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55310574-38c2-4531-bf46-eb7f657bc067</guid><dc:creator>gain</dc:creator><description>&lt;p&gt;Is it correcty using SPI PROTOCOL&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using SEGGER Embedded studio&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No it is not giving any messages&lt;/p&gt;
&lt;p&gt;while debugging using STEP OVER(F10).when it comes to&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;HT1632_5X21_init( LED_MAX_DISPLAY_X, LED_MAX_DISPLAY_Y);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;debug has stopped at above function&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;it is showing like below figure&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3515.Untitled.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;learn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging stops at particular function</title><link>https://devzone.nordicsemi.com/thread/197740?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 08:21:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e1970cf-fe08-4631-b1dd-4ebd6138e6da</guid><dc:creator>awneil</dc:creator><description>[quote userid="79506" url="~/f/nordic-q-a/49625/debugging-stops-at-particular-function"]it will stop debugging[/quote]
&lt;p&gt;What, exactly, do you mean by that?&lt;/p&gt;
&lt;p&gt;What IDE are you using? Is it giving you any messages?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>