<?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>topic Re: Bus Fault happen when reading LPSPI receive data register(RDR) in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Bus-Fault-happen-when-reading-LPSPI-receive-data-register-RDR/m-p/1191099#M4570</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you refer to the SDK v4 examples in the S32DS &lt;A href="https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-s32-platform:S32DS-S32PLATFORM" target="_blank"&gt;https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-s32-platform:S32DS-S32PLATFORM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can replicate the test with this example to see if the problem still persists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Omar&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2020 21:20:41 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2020-11-30T21:20:41Z</dc:date>
    <item>
      <title>Bus Fault happen when reading LPSPI receive data register(RDR)</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Bus-Fault-happen-when-reading-LPSPI-receive-data-register-RDR/m-p/1187162#M4562</link>
      <description>&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;I was trying to read SBC's status register(UGA1169TK) via LPSPI1 with S32K146 EVB. Actually it's a example code in S32K1xx Series Cookbook. But when reading the data from Receive Data Register(RDR), an error happened and program jumped to&amp;nbsp;DefaultISR. The code and error information as below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;uint16_t LPSPI1_receive_16bits (void)&lt;BR /&gt;{&lt;BR /&gt;uint16_t recieve = 0;&lt;/P&gt;&lt;P&gt;while((LPSPI1-&amp;gt;SR &amp;amp; LPSPI_SR_RDF_MASK) &amp;gt;&amp;gt;LPSPI_SR_RDF_SHIFT==0);&lt;BR /&gt;/* Wait at least one RxFIFO entry */&lt;BR /&gt;&lt;STRONG&gt;recieve = LPSPI1-&amp;gt;RDR;&lt;/STRONG&gt; /* Read received data */ /&lt;FONT color="#FF0000"&gt;* Error happens here */&lt;/FONT&gt;&lt;BR /&gt;LPSPI1-&amp;gt;SR |= LPSPI_SR_RDF_MASK; /* Clear RDF flag */&lt;BR /&gt;return recieve; /* Return received data */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When error happens program jumps to below.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DefaultISR:&lt;BR /&gt;b DefaultISR&lt;BR /&gt;.size DefaultISR, . - DefaultISR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debugger console information:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Target has been RESET and is active.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;BusFault: A precise (synchronous) data access error has occurred. &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Possible BusFault location: 0x4002C074. &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;HardFault: A fault has been escalated to a hard fault.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to confirm what reason caused this error? Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 05:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Bus-Fault-happen-when-reading-LPSPI-receive-data-register-RDR/m-p/1187162#M4562</guid>
      <dc:creator>Jason_yuchengjie</dc:creator>
      <dc:date>2020-11-23T05:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bus Fault happen when reading LPSPI receive data register(RDR)</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Bus-Fault-happen-when-reading-LPSPI-receive-data-register-RDR/m-p/1191099#M4570</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you refer to the SDK v4 examples in the S32DS &lt;A href="https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-s32-platform:S32DS-S32PLATFORM" target="_blank"&gt;https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-s32-platform:S32DS-S32PLATFORM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can replicate the test with this example to see if the problem still persists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Omar&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 21:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Bus-Fault-happen-when-reading-LPSPI-receive-data-register-RDR/m-p/1191099#M4570</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-11-30T21:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bus Fault happen when reading LPSPI receive data register(RDR)</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Bus-Fault-happen-when-reading-LPSPI-receive-data-register-RDR/m-p/1200556#M4580</link>
      <description>&lt;P&gt;I strongly suggest following these steps&amp;nbsp;&lt;A href="https://tellpopeyess.xyz/" target="_self"&gt;tellpopeyess&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if that doesn't work try this&amp;nbsp;&lt;A href="https://greatpeopleme.info/      " target="_self"&gt;greatpeopleme&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 17:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Bus-Fault-happen-when-reading-LPSPI-receive-data-register-RDR/m-p/1200556#M4580</guid>
      <dc:creator>byreddy1245367</dc:creator>
      <dc:date>2020-12-16T17:38:11Z</dc:date>
    </item>
  </channel>
</rss>

