<?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>Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13627/integrating-nrf8001-with-renesas-microcontroller</link><description>Hi, 
 I would like to connect nrf8001 to a Renesas microcontroller but I could not find any documentation on how to proceed with this step. The only documentation I could find is how to connect nrf8001 with Arduino. 
 I was wondering if anyone could</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 May 2016 08:40:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13627/integrating-nrf8001-with-renesas-microcontroller" /><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52008?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 08:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8cb6e87-68e2-4d47-9aa0-324d641fd420</guid><dc:creator>keerthi</dc:creator><description>&lt;p&gt;@hung bui: Hiya, I&amp;#39;m trying to verify the SPI/ACI connectivity using ble_aci_transport_layer_verification main.c file. I have noticed that setup function I have to tell the ACI library, the MCU to nRF8001 pin connections. All the pins are declared using 0 to 5 numbers so I&amp;#39;m confused as to how I need to change this according to Renesas microcontroller. Could you tell me what those numbers mean? Thank you in advance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52018?ContentTypeID=1</link><pubDate>Thu, 12 May 2016 12:29:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c9e809f-5459-42ed-baa8-9156b90f1d97</guid><dc:creator>keerthi</dc:creator><description>&lt;p&gt;Hi David, it did work with pack settings. Could you tell me how I would use those functions in acilib.c? Also, I have noticed that there are two serial communications (CSI and UART) in cg_serial file, can you explain the reason behind this as I need to change them according to RX113. Thank you so much for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52017?ContentTypeID=1</link><pubDate>Wed, 11 May 2016 07:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f53461b-fb62-4317-87b2-3a23c8ad2edd</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Does it work with the pack settings ? that would be a good start to see if that worked.
You will need to use the encode and decode the messages using the acil_* interfaces for encode and decode. See acilib.cpp/acilib.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52016?ContentTypeID=1</link><pubDate>Tue, 10 May 2016 14:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b44b377-5037-4cdc-9135-cc09e6119093</guid><dc:creator>keerthi</dc:creator><description>&lt;p&gt;Hi David, I&amp;#39;ve used an option in CPU settings to pack structures, unions and classes but I have been advised that it is not the safest way. Could you tell me how to achieve this without packing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52014?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 09:29:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:560a62c2-9eed-45f5-8a59-7cfad49ca1cb</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The error is due to packing. The driver likes to be packed at a 1 byte boundary so if your compiler supports that, you need to ensure that it works for the RX113, which is a 32 bit cpu.
It is also possible to do this without packing but the code path is longer and a bit more work is needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52015?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 09:15:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d3186a1-cdb0-415f-a1ce-c6264e374e4b</guid><dc:creator>keerthi</dc:creator><description>&lt;p&gt;Hi David, in the example you&amp;#39;ve provided, the MCU used is RL78 and IDE used is IAR. For my implementation, I&amp;#39;m using RX113 and e2studio IDE (Eclipse based Renesas IDE). I&amp;#39;ve managed to port all the files from IAR to my e2studio project but I am getting a few errors. The main error I&amp;#39;m facing is with ACI_ASSERT_SIZE(x,y)  defined in aci.h file and it is used to compare the size of the first parameter to the integer value of the second parameter. There are multiple instances where this has been used such as in aci_cmds.h, aci_evts.h etc .. and the error is  &amp;quot;The size of an array must be greater than zero&amp;quot;. Could you please help me out to fix this error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52007?ContentTypeID=1</link><pubDate>Wed, 04 May 2016 12:38:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e0c16f0-c740-42fe-9d74-04caaac3fb4e</guid><dc:creator>keerthi</dc:creator><description>&lt;p&gt;@hung Bui: Thank you for providing the above information! It will be very useful while I use the link David Edwin provided as an answer :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52012?ContentTypeID=1</link><pubDate>Wed, 04 May 2016 11:20:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53b5e88e-44db-444f-9f96-d656730786b2</guid><dc:creator>keerthi</dc:creator><description>&lt;p&gt;Thank you for the help! I&amp;#39;ve connected the RESET pin as you adviced and also found the following document which is very helpful in porting the library: &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/documentation/libraries/BLE/nRF8001-Porting-ACI-Library.md"&gt;github.com/.../nRF8001-Porting-ACI-Library.md&lt;/a&gt;
It specifies how to implement my mcu spi and settings etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52006?ContentTypeID=1</link><pubDate>Wed, 04 May 2016 11:12:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66bd46e5-35cb-4082-8fc1-1d4b803d9694</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Keerthi: Besides the Arduino SDK, there are some other material you can have a look at:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;nRF8001 Product Specification (where the interface and protocol with MCU are defined)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;nRF8001 SDK, there are some example project showing how to interface with nRF8001 from a Nordic&amp;#39;s test MCU. But the principles are the same for any MCU.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52013?ContentTypeID=1</link><pubDate>Wed, 04 May 2016 11:08:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b7ff9f8-26be-46c6-b079-dab887a7720f</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Renesas port for nRF8001 is available in &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-RL78"&gt; on github&lt;/a&gt; . This is for the RL78.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52011?ContentTypeID=1</link><pubDate>Tue, 03 May 2016 15:46:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6335f95d-acef-4230-b11a-5b7a51174fdb</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Ok, now i remember more (did that ~2 years ago, could not be correct) - it is not the same library I was using actually. I think I used examples for nrf6310 motherboard which had some other uc there (51-series something?). Here the files are .cpp, and I think i used .c. But if you will be able to compile it, it should also work. In the library from your linkthere is a file hal_aci_tl.cpp, it calls some functions from SPI.h which is Arduino SPI library. You should prepare similar library for renesas uc and just use it there instead.&lt;/p&gt;
&lt;p&gt;I think you should also connect RESET pin of nrf8001 somewhere, probably to hi-logic :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52010?ContentTypeID=1</link><pubDate>Tue, 03 May 2016 15:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:149a6162-381a-4a7f-8e87-352f8a02ede9</guid><dc:creator>keerthi</dc:creator><description>&lt;p&gt;Hi Wojtek, thank you so much for such a quick response! Is this the Arduino library you&amp;#39;re referring to: &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino"&gt;github.com/.../ble-sdk-arduino&lt;/a&gt;
If yes, could you please tell me which file do I need to change? Also, have you used Renesas microcontroller aswell? I&amp;#39;ve connected SCK, MOSI, MISO, REQ, GND and VIN pins as those are the only pins I could configure on Renesas microcontroller, do you think that would be enough?
Sorry about all the questions, its really hard to find help on integrating nrf8001 with another microcontroller other than Arduino. Thank you in advance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrating nrf8001 with Renesas microcontroller</title><link>https://devzone.nordicsemi.com/thread/52009?ContentTypeID=1</link><pubDate>Tue, 03 May 2016 15:28:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31a01b86-19ed-444b-aa93-89c11333cbe5</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;You can use Arduino library, but you only have to change SPI driver so it works with Renesas microcontroller and still be compatible with HAL. I did that some time ago... Library works like charm, just connect the module properly and make SPI work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>