<?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>C program to write and read from onboard spi eeprom.(i am using nrf52840).</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51852/c-program-to-write-and-read-from-onboard-spi-eeprom-i-am-using-nrf52840</link><description>Hello guys, i am trying to write a c code to read and write data to the onboard memory. i am using nrf52840 and segger embedded studio. i have used sio pins 41, 40, 04, 44 for SCK, MOSI, MISO and CS respectively. i have done the initial GPIO configurations</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Sep 2019 08:07:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51852/c-program-to-write-and-read-from-onboard-spi-eeprom-i-am-using-nrf52840" /><item><title>RE: C program to write and read from onboard spi eeprom.(i am using nrf52840).</title><link>https://devzone.nordicsemi.com/thread/208594?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2019 08:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:620e4d70-ed6c-4ef0-bf2f-315d3719ef4c</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You mean you want to access the 8MB Macronix flash device on the&amp;nbsp;nRF52840 Devkit?&lt;/p&gt;
&lt;p&gt;This device uses different pins than the ones you list, this is printed on the back of the DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I had a similar case recently where I shared some code to access this device over SPI:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/50734/interface-external-flash-to-nrf52832"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/50734/interface-external-flash-to-nrf52832&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code is available here:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-174e774b861f4256af5e505f8c1151bf/DZ233955_5F00_ble_5F00_app_5F00_uart_5F00_v2.zip"&gt;devzone.nordicsemi.com/.../DZ233955_5F00_ble_5F00_app_5F00_uart_5F00_v2.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And if this is not what you are trying to do just let me know, and I will do what I can to help &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&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></channel></rss>