<?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: RT1010: Receiving S/PDIF-frames but no data in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1520407#M3913</link>
    <description>&lt;P&gt;Hello Diego,&lt;/P&gt;&lt;P&gt;don't worry about the delay. About the DPLL clock problem, there are following observations:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In my clock configuration I have set dividers which result in 30 MHz clock for SPDIF0. Nevertheless&amp;nbsp;CLOCK_GetPllFreq(kCLOCK_PllAudio) returns a value equal to 24 Mhz - shouldn't thry bes the same?&lt;/LI&gt;&lt;LI&gt;There are some more problems with the clock not behaving like documented and expected, I asked about them in an other thread:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/Run-RT1010-with-internal-clocks-only/m-p/1520081/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufEw3VU1LSldFNEU5VTlWfDE1MjAwODF8U1VCU0NSSVBUSU9OU3xoSw#M1488" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/MCUXpresso-Config-Tools/Run-RT1010-with-internal-clocks-only/m-p/1520081/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufEw3VU1LSldFNEU5VTlWfDE1MjAwODF8U1VCU0NSSVBUSU9OU3xoSw#M1488&lt;/A&gt;&amp;nbsp;- may be this is related?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Your suggestion to add the code-part to transmit some data via SPDIF was not yet successful:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I added the SPDIF-out-pin to the pin configuration&lt;/LI&gt;&lt;LI&gt;I extended the peripheral-configuration to deal with Rx and Tx using a Tx clock of 100 kHz (same as my incoming SPDIF-stream) and I added the following code based on your example:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;static spdif_handle_t   txHandle      = {0};
static spdif_transfer_t txXfer        = {0};

#define BUFFER_SIZE 96
AT_NONCACHEABLE_SECTION_ALIGN(uint8_t audioBuffRx[BUFFER_SIZE], 4);

SPDIF_TransferTxCreateHandle(SPDIF_PERIPHERAL, &amp;amp;txHandle, txCallback, NULL);
txXfer.dataSize = BUFFER_SIZE;
txXfer.data = audioBuffTx;
ret=SPDIF_TransferSendNonBlocking(SPDIF_PERIPHERAL, &amp;amp;txHandle, &amp;amp;txXfer);*/​&lt;/LI-CODE&gt;&lt;P&gt;Surprisingly this dies when jumping into&amp;nbsp;SPDIF_TransferSendNonBlocking() - yes, when jumping into that function, not somewhere inside it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So...may be there is something fundamental wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 08:15:09 GMT</pubDate>
    <dc:creator>Elmi77</dc:creator>
    <dc:date>2022-09-12T08:15:09Z</dc:date>
    <item>
      <title>RT1010: Receiving S/PDIF-frames but no data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1502999#M3853</link>
      <description>&lt;P&gt;I'm currently trying to receive S/PDIF data using a MIMXRT101-EVK board via the interrupt method. In general it is working well - except the fact that all my received frames are empty and contain only 0. This is true even for the auxiliary part which is set to 0100 by the sender always.&lt;/P&gt;&lt;P&gt;The receiving operation in general works: when no signal is applied to my input GPIO_10 (configured as SPDIF:IN), the callback-handler is never called. As soon as I apply a S/PDIF-signal at this input, I can see the callback is called with&amp;nbsp;kStatus_SPDIF_RxIdle, but the related buffer contains no data. I even can place a breakpoint to the interrupt service routine, when stepping through the related code I can see the related registers for left and right are read, but these reigsters also contain only zeros.&lt;/P&gt;&lt;P&gt;When measuring with an oscilloscope directly at pin 2 of the MCU, I can see my valid S/PDIF frames with their data, so they are definitely there.&lt;/P&gt;&lt;P&gt;So that's what I have:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clipboard01.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189589i22963ACA820ECD79/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clipboard01.png" alt="Clipboard01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My peripheral configuration is the default one except for the fact that I'm receiving only and enable the interrupt for my own.&lt;/P&gt;&lt;P&gt;This is the initialisation sequence and where I start transfer of data:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    SPDIF_TransferRxCreateHandle(SPDIF_PERIPHERAL,&amp;amp;rxHandle,rxCallback,NULL);
    EnableIRQ(SPDIF_IRQN);

    rxXfer.dataSize = BUFFER_SIZE;
    rxXfer.data = audioBuff;
    SPDIF_TransferReceiveNonBlocking(SPDIF_PERIPHERAL, &amp;amp;rxHandle, &amp;amp;rxXfer);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And that's the callback function where I regularly get an kStatus_SPDIF_rxIdle but the related buffer does not contain the data to be expected.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;static void rxCallback(SPDIF_Type *base, spdif_handle_t *handle, status_t status, void *userData)
{
    if (status == kStatus_SPDIF_RxIdle)
    {
    	dataReceived=true;
        SPDIF_TransferReceiveNonBlocking(SPDIF_PERIPHERAL, &amp;amp;rxHandle, &amp;amp;rxXfer);
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I don't understand: when I receive these frames, this means the receiver must have identified at least the preamble and the valid-flag of each frame? So receiving of the frames works but the data do not get through!?&lt;/P&gt;&lt;P&gt;So...any idea what could be missing here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 06:06:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1502999#M3853</guid>
      <dc:creator>Elmi77</dc:creator>
      <dc:date>2022-08-09T06:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: RT1010: Receiving S/PDIF-frames but no data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1504848#M3860</link>
      <description>&lt;P&gt;OK, I made some progress: in my S/PDIF-data the validity flag is always set. Amazingly an set validity-flag means "invalid", so it has the opposite meaning.&lt;/P&gt;&lt;P&gt;As my S/PDIF-data have this flag always set, my question is, how can I ensure to receive these data also in case they are marked as "invalid"?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 09:39:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1504848#M3860</guid>
      <dc:creator>Elmi77</dc:creator>
      <dc:date>2022-08-11T09:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: RT1010: Receiving S/PDIF-frames but no data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1508013#M3877</link>
      <description>&lt;P&gt;2nd update: it has nothign to do with the Valid-flag, even when it is not set (aka the data are marked as valid), the result is the same.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 06:40:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1508013#M3877</guid>
      <dc:creator>Elmi77</dc:creator>
      <dc:date>2022-08-18T06:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: RT1010: Receiving S/PDIF-frames but no data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1513438#M3898</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178689"&gt;@Elmi77&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sorry for the delay, but as I let you know via email, here is my feedback, divided in some couple pointers.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#800080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; In your callback I recommend you all of the possible&amp;nbsp;status you can get from the SPDIF.&amp;nbsp;&lt;SPAN&gt;Or directly debug into your SPDIF_TransferRxHandleIRQ(). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#800080"&gt;2 &lt;/FONT&gt;&lt;/STRONG&gt;Is the&amp;nbsp;kSPDIF_RxFIFOFull&amp;nbsp; status being sent?&amp;nbsp;&lt;/SPAN&gt;This is where the&amp;nbsp;&lt;SPAN&gt;SPDIF_TransferRxHandleIRQ()&lt;/SPAN&gt; copies data from internal SPDIF buffers to your&amp;nbsp;audioBuff. Below an screenshot.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_6-1661814632079.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/191687i9E7A514564CAB399/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_6-1661814632079.png" alt="diego_charles_6-1661814632079.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/FONT&gt; You can check if the sample rate matches to the expected frames&amp;nbsp; calling the&amp;nbsp; function SPDIF_GetRxSampleRate() .&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_2-1661810982454.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/191680i0AA28703A7418A1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_2-1661810982454.png" alt="diego_charles_2-1661810982454.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Actually this function requires you to give&amp;nbsp;clockSourceFreq_Hz for your SPDIF.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_7-1661815938193.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/191688i8AA0096D61DEED21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_7-1661815938193.png" alt="diego_charles_7-1661815938193.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800080"&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/FONT&gt; In your provided code, I have not seen, which clock divider you are providing to your SPDIF initialization.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_9-1661816132405.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/191690iC5A04ED51B39F864/image-size/medium?v=v2&amp;amp;px=400" role="button" title="diego_charles_9-1661816132405.png" alt="diego_charles_9-1661816132405.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#800080"&gt;5&lt;/FONT&gt;&lt;/STRONG&gt; I am attaching an SPDIF example for the RT1050. This demo receives SPIDIF data and then does a transmission.&amp;nbsp; You can actually double check muxing for your IN pin from the demo.&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 23:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1513438#M3898</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2022-08-29T23:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: RT1010: Receiving S/PDIF-frames but no data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1513796#M3900</link>
      <description>&lt;P&gt;Hello Diego,&lt;/P&gt;&lt;P&gt;thank you for your kind feedback. About your suggestions/answers:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; When I enabgle all interrupts available (even the ones for signals I'm not interested in),&amp;nbsp;SPDIF_TransferRxHandleIRQ() dies:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;HardFault_Handler() at semihost_hardfault.c:61 0x60004d8e	
&amp;lt;signal handler called&amp;gt;() at 0xfffffff1	
SPDIF_TransferRxHandleIRQ() at fsl_spdif.c:796 0x600033a4	&lt;/LI-CODE&gt;&lt;P&gt;This is somehow caused by&amp;nbsp; data = SPDIF_ReadLeftData(base);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; I already checked what happens in&amp;nbsp;&lt;SPAN&gt;SPDIF_TransferRxHandleIRQ(). When doing that only with&amp;nbsp;kSPDIF_RxFIFOFull used, even the calls to&amp;nbsp;SPDIF_ReadLeftData() and&amp;nbsp;SPDIF_ReadRightData() return 0, so that's where the empty buffers come from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; I tried this in my receive-callback in case of a&amp;nbsp;kStatus_SPDIF_RxIdle:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const uint32_t clock=CLOCK_GetPllFreq(kCLOCK_PllAudio);
sRate=SPDIF_GetRxSampleRate(SPDIF_PERIPHERAL,clock);&lt;/LI-CODE&gt;&lt;P&gt;clock is 24000000 (somewhat surprising as the clock configuration says the SPDIF is running at 30 MHz).&amp;nbsp;SPDIF_GetRxSampleRate() never returns, it fails at this loop which never becomes true:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;while ((base-&amp;gt;SRPC &amp;amp; SPDIF_SRPC_LOCK_MASK) == 0U)
{
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt;&amp;nbsp;This is part aof the auto-generated code. The clock-config-tool says, this should result in a 30MHz clock fpr the SPDIF:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/* Set SPDIF0_CLK_PRED. */
CLOCK_SetDiv(kCLOCK_Spdif0PreDiv, 1);
/* Set SPDIF0_CLK_PODF. */
CLOCK_SetDiv(kCLOCK_Spdif0Div, 7);
/* Set Spdif clock source. */
CLOCK_SetMux(kCLOCK_SpdifMux, 3);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5.&lt;/STRONG&gt; I already tried this (this is where I have taken the RxCallback-stuff from).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 09:42:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1513796#M3900</guid>
      <dc:creator>Elmi77</dc:creator>
      <dc:date>2022-08-30T09:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: RT1010: Receiving S/PDIF-frames but no data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1519712#M3910</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178689"&gt;@Elmi77&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks for your reply and patience!&lt;/P&gt;
&lt;P&gt;Regarding #1 and ##2,, I understand, that even the IRQ goes to copy receive buffer contents to your array, the data copied is zero.&lt;/P&gt;
&lt;P&gt;Regarding, #3&lt;/P&gt;
&lt;P&gt;It seems that we are having problems to recover the&amp;nbsp;SPDIF Rx clock, that may explain why the function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;SPDIF_GetRxSampleRate() is&amp;nbsp;is stuck in.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;while ((base-&amp;gt;SRPC &amp;amp; SPDIF_SRPC_LOCK_MASK) == 0U)
{
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If we look into SRPC register, the function is waiting for the&amp;nbsp;&amp;nbsp;DPLL to be locked. The internal DPLL is the one in charge of measuring the frequency of&amp;nbsp;SPDIF Rx clock. I would think the issue we are seeing is because clock settings.&lt;/P&gt;
&lt;P&gt;Regarding #4,&lt;/P&gt;
&lt;P&gt;I would suggest, trying the transmitter side. I just want to see if you are able to even transmit data. Try to mimic the demo code clock selection and divider settings.&lt;/P&gt;
&lt;P&gt;Regarding #5, understood.&lt;/P&gt;
&lt;P&gt;I am sorry for not being able to get back to you sooner.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly&lt;/P&gt;
&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 04:22:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1519712#M3910</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2022-09-09T04:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: RT1010: Receiving S/PDIF-frames but no data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1520407#M3913</link>
      <description>&lt;P&gt;Hello Diego,&lt;/P&gt;&lt;P&gt;don't worry about the delay. About the DPLL clock problem, there are following observations:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In my clock configuration I have set dividers which result in 30 MHz clock for SPDIF0. Nevertheless&amp;nbsp;CLOCK_GetPllFreq(kCLOCK_PllAudio) returns a value equal to 24 Mhz - shouldn't thry bes the same?&lt;/LI&gt;&lt;LI&gt;There are some more problems with the clock not behaving like documented and expected, I asked about them in an other thread:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/Run-RT1010-with-internal-clocks-only/m-p/1520081/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufEw3VU1LSldFNEU5VTlWfDE1MjAwODF8U1VCU0NSSVBUSU9OU3xoSw#M1488" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/MCUXpresso-Config-Tools/Run-RT1010-with-internal-clocks-only/m-p/1520081/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufEw3VU1LSldFNEU5VTlWfDE1MjAwODF8U1VCU0NSSVBUSU9OU3xoSw#M1488&lt;/A&gt;&amp;nbsp;- may be this is related?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Your suggestion to add the code-part to transmit some data via SPDIF was not yet successful:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I added the SPDIF-out-pin to the pin configuration&lt;/LI&gt;&lt;LI&gt;I extended the peripheral-configuration to deal with Rx and Tx using a Tx clock of 100 kHz (same as my incoming SPDIF-stream) and I added the following code based on your example:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;static spdif_handle_t   txHandle      = {0};
static spdif_transfer_t txXfer        = {0};

#define BUFFER_SIZE 96
AT_NONCACHEABLE_SECTION_ALIGN(uint8_t audioBuffRx[BUFFER_SIZE], 4);

SPDIF_TransferTxCreateHandle(SPDIF_PERIPHERAL, &amp;amp;txHandle, txCallback, NULL);
txXfer.dataSize = BUFFER_SIZE;
txXfer.data = audioBuffTx;
ret=SPDIF_TransferSendNonBlocking(SPDIF_PERIPHERAL, &amp;amp;txHandle, &amp;amp;txXfer);*/​&lt;/LI-CODE&gt;&lt;P&gt;Surprisingly this dies when jumping into&amp;nbsp;SPDIF_TransferSendNonBlocking() - yes, when jumping into that function, not somewhere inside it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So...may be there is something fundamental wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 08:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1520407#M3913</guid>
      <dc:creator>Elmi77</dc:creator>
      <dc:date>2022-09-12T08:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: RT1010: Receiving S/PDIF-frames but no data</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1531800#M3934</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/178689"&gt;@Elmi77&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding point&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;There are some more problems with the clock not behaving like documented and expected, I asked about them in an other thread:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MCUXpresso-Config-Tools/Run-RT1010-with-internal-clocks-only/m-p/1520081/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufEw3VU1LSldFNEU5VTlWfDE1MjAwODF8U1VCU0NSSVBUSU9OU3xoSw#M1488" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/MCUXpresso-Config-Tools/Run-RT1010-with-internal-clocks-only/m-p/152008...&lt;/A&gt;&amp;nbsp;- may be this is related?&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;To discard problems, did you find any improvement with the code that my colleague shared with you?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 20:54:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/RT1010-Receiving-S-PDIF-frames-but-no-data/m-p/1531800#M3934</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2022-10-03T20:54:56Z</dc:date>
    </item>
  </channel>
</rss>

