<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>NFCのトピックVScode configurations path setup question for SPI communication between RFID and BeagleBone board</title>
    <link>https://community.nxp.com/t5/NFC/VScode-configurations-path-setup-question-for-SPI-communication/m-p/1684264#M10543</link>
    <description>&lt;P&gt;For SPI communication between RFID RC522 and BeagleBone board, SPI communication initialization, mode setting, maximum transmission rate setting, and data transmission/reception code were written and executed.&lt;/P&gt;&lt;P&gt;This project was based on vscode and pulled the glibc github.&lt;/P&gt;&lt;P&gt;However, at this time, a cannot open source file "libioP.h" error occurred.&lt;/P&gt;&lt;P&gt;Accordingly, the includepath of vscode's c/c++ configurations was modified as follows to refer to the path /home/debian/RFID/libio where libioP.h exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;${workspaceFolder}/**
${workspaceFolder}/RFID/libio/**&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this time, the current path is /home/debian.&lt;/P&gt;&lt;P&gt;I added the path like this, but the related error didn't go away.&lt;/P&gt;&lt;P&gt;The problem above is that when I use the code below I get an error that the source file cannot be opened&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;snprintf(ss_gpio_path, sizeof(ss_gpio_path), "/sys/class/gpio/gpio%d/direction", SS_PIN);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In addition, if the code below is used, the following includePath error occurs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// initialize SPI communication 
int SpiInit() {
spi_fd = open(SPI_DEVICE, O_RDWR);
if (spi_fd &amp;lt; 0) {
    printf("Failed to open SPI device");
    return -1;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/home/debian/sysdeps/unix/sysv/linux/open64.c).&lt;/P&gt;&lt;P&gt;I wrote the hint ${workspaceFolder}/sysdeps/unix/sysv/linux/x86/include provided by vscode, but, the includePath error doesn't go away.&lt;/P&gt;&lt;P&gt;Should I be more specific in adding routes?&lt;/P&gt;&lt;P&gt;can you tell me about this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2023 15:05:56 GMT</pubDate>
    <dc:creator>hhh_hy</dc:creator>
    <dc:date>2023-07-09T15:05:56Z</dc:date>
    <item>
      <title>VScode configurations path setup question for SPI communication between RFID and BeagleBone board</title>
      <link>https://community.nxp.com/t5/NFC/VScode-configurations-path-setup-question-for-SPI-communication/m-p/1684264#M10543</link>
      <description>&lt;P&gt;For SPI communication between RFID RC522 and BeagleBone board, SPI communication initialization, mode setting, maximum transmission rate setting, and data transmission/reception code were written and executed.&lt;/P&gt;&lt;P&gt;This project was based on vscode and pulled the glibc github.&lt;/P&gt;&lt;P&gt;However, at this time, a cannot open source file "libioP.h" error occurred.&lt;/P&gt;&lt;P&gt;Accordingly, the includepath of vscode's c/c++ configurations was modified as follows to refer to the path /home/debian/RFID/libio where libioP.h exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;${workspaceFolder}/**
${workspaceFolder}/RFID/libio/**&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this time, the current path is /home/debian.&lt;/P&gt;&lt;P&gt;I added the path like this, but the related error didn't go away.&lt;/P&gt;&lt;P&gt;The problem above is that when I use the code below I get an error that the source file cannot be opened&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;snprintf(ss_gpio_path, sizeof(ss_gpio_path), "/sys/class/gpio/gpio%d/direction", SS_PIN);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In addition, if the code below is used, the following includePath error occurs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// initialize SPI communication 
int SpiInit() {
spi_fd = open(SPI_DEVICE, O_RDWR);
if (spi_fd &amp;lt; 0) {
    printf("Failed to open SPI device");
    return -1;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/home/debian/sysdeps/unix/sysv/linux/open64.c).&lt;/P&gt;&lt;P&gt;I wrote the hint ${workspaceFolder}/sysdeps/unix/sysv/linux/x86/include provided by vscode, but, the includePath error doesn't go away.&lt;/P&gt;&lt;P&gt;Should I be more specific in adding routes?&lt;/P&gt;&lt;P&gt;can you tell me about this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 15:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/VScode-configurations-path-setup-question-for-SPI-communication/m-p/1684264#M10543</guid>
      <dc:creator>hhh_hy</dc:creator>
      <dc:date>2023-07-09T15:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: VScode configurations path setup question for SPI communication between RFID and BeagleBone boar</title>
      <link>https://community.nxp.com/t5/NFC/VScode-configurations-path-setup-question-for-SPI-communication/m-p/1685960#M10555</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello, my name is Fabian, I've been assigned to support your case.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I appreciate your interest in our products.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Unfortunately, this is a very old product and, not recommended for new designs.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Since there isn't any software available for this Reader from our side I can't provide any recommendation regarding this issue.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;If you are interested in using an MFRC631 plus we have an Application Note (&lt;A href="https://www.nxp.com/docs/en/application-note/AN11802.pdf" target="_blank"&gt;AN11802&lt;/A&gt;) that provides the required steps for installing the &lt;A href="https://www.nxp.com/design/designs/nfc-reader-library-software-support-for-nfc-frontend-solutions:NFC-READER-LIBRARY" target="_blank"&gt;NFC Reader Library&lt;/A&gt; in Linux.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I hope this information may be useful.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 19:07:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/VScode-configurations-path-setup-question-for-SPI-communication/m-p/1685960#M10555</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2023-07-11T19:07:28Z</dc:date>
    </item>
  </channel>
</rss>

