<?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>Adapt usbd_cdc_acm with SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100463/adapt-usbd_cdc_acm-with-spi</link><description>Hi, 
 I&amp;#39;d like to change the example usbd_cdc_acm from the NRF5 SDK on SES. I know that NCS exists and is supposed to be better in my case. Unfortunately, I have many problems with the import of libraries with it and I also prefer SES. 
 To summarize</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Jun 2023 09:38:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100463/adapt-usbd_cdc_acm-with-spi" /><item><title>RE: Adapt usbd_cdc_acm with SPI</title><link>https://devzone.nordicsemi.com/thread/429510?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 09:38:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1d5c52d-9a8e-45f5-8593-411d07a8d33d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please double check that&amp;nbsp;SPI0_ENABLED is set to &amp;#39;1&amp;#39;. The build error indicates that it is not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapt usbd_cdc_acm with SPI</title><link>https://devzone.nordicsemi.com/thread/429472?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 07:55:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f146e74f-d031-46e7-bac1-80a4e6c7fa27</guid><dc:creator>Asbeth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I did include all the librairies and drivers in my project and enabled them on sdk-config.h file with the config file located on the SDK.&lt;/p&gt;
&lt;p&gt;Unfortunately I seem to have a problem with the SPI part. I already had a SPI code that was working well on nRF52840 DK and so I copied the configuration in the config file with all the librairies and drivers included. I have an issue with the SPI instance.&lt;/p&gt;
&lt;p&gt;I got he following error message:&lt;/p&gt;
&lt;p&gt;&amp;#39;NRF_DRV_SPI_INSTANCE_0&amp;#39; undeclared here (not in a function); did you mean &amp;#39;NRF_DRV_SPI_INSTANCE_&amp;#39;?&lt;/p&gt;
&lt;p&gt;However I didn&amp;#39;t change a thing from my other code which was working well. I tried to enable SPIM0 but it didn&amp;#39;t change a thing. Do you have an idea what could be the problem ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adapt usbd_cdc_acm with SPI</title><link>https://devzone.nordicsemi.com/thread/429252?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 10:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f361c08a-ccba-4567-b915-2868d8162580</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In addition to adding the missing config symbols for SPI to your sdk_config.h header, you need to add the driver source file and include paths. You can use the SPI example (in /examples/peripheral/spi) as a reference for which source files and config settings you need to import.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also see&amp;nbsp;&lt;a title="SDK configuration header file" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/sdk_config.html?cp=9_1_1_6"&gt;SDK configuration header file&lt;/a&gt;&amp;nbsp;for details about&amp;nbsp;the syntax used in&amp;nbsp;sdk_config.h.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>