<?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>bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107005/bus-fault-after-i-replaced-52811-with-52832-on-a-custom-board</link><description>Hi, I have a custom board with 52811. it works fine. Then I replaced 52811 with 52832 QFAA on the same board directly. When compile the same code, I used nrf52dk_nrf52832. When it runs, at first, there is no any error info, but its not advertising. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jan 2024 02:32:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107005/bus-fault-after-i-replaced-52811-with-52832-on-a-custom-board" /><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463447?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 02:32:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:452e2ffc-3abb-408b-a4a5-3330ae04f9e0</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp; I see.&amp;nbsp;Thanks a lot. I really appreciate that you replied at your late night.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463445?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 01:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fcf2749-a1b4-48fe-a64b-dc4a64948e26</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Call it from anywhere, but it&amp;#39;s really only for debugging to see if the ports are set as expected after all inits call just once with logging or uart enabled. Here is a sample run on an nRF52840 Feather:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp; &amp;nbsp;showPins();&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// Some port pins (P1) are only available on nRF52840
#if defined(NRF52840_XXAA) || defined(NRF52840_XXAB)
#define NUMBER_PORT_PINS 48
#else
#define NUMBER_PORT_PINS 32
#endif

const char * FindPinMap(uint32_t PinId);

void showPins(void)
{
   uint8_t InfoPacket[80] = &amp;quot;&amp;quot;;
   for (uint32_t PinId=0; PinId&amp;lt;NUMBER_PORT_PINS; PinId++)
   {
        // Show any mapped peripheral for this port pin
        snprintf(InfoPacket, sizeof(InfoPacket)-1, &amp;quot;P%u.%02u Map: %s&amp;quot;, (PinId &amp;amp; 0x20)&amp;gt;&amp;gt;5, PinId&amp;amp;0x1F, FindPinMap(PinId));
        NRF_LOG_INFO(&amp;quot;%s&amp;quot;, InfoPacket);
        NRF_LOG_FLUSH();
        //uartSend(InfoPacket, strlen(InfoPacket));
   }
}

const char * FindPinMap(uint32_t PinId)
{
    // 32kHz Osc pins can be used as GPIOs or 32kHz Oscillator, special case
    if ( (PinId == PIN_XL2) &amp;amp;&amp;amp; (NRF_CLOCK-&amp;gt;LFCLKSRC &amp;amp; 0x000001) ) return &amp;quot;RTC-OSC-OUT&amp;quot;;
    if ( (PinId == PIN_XL1) &amp;amp;&amp;amp; (NRF_CLOCK-&amp;gt;LFCLKSRC &amp;amp; 0x000001) ) return &amp;quot;RTC-OSC-IN&amp;quot;;

    // NFC pins can be used as GPIOs or NFC, special case
    if ( (PinId == PIN_NFC1) &amp;amp;&amp;amp; ((NRF_UICR-&amp;gt;NFCPINS &amp;amp; UICR_NFCPINS_PROTECT_Msk) == (UICR_NFCPINS_PROTECT_NFC &amp;lt;&amp;lt; UICR_NFCPINS_PROTECT_Pos)) ) return &amp;quot;NFC 1&amp;quot;;
    if ( (PinId == PIN_NFC2) &amp;amp;&amp;amp; ((NRF_UICR-&amp;gt;NFCPINS &amp;amp; UICR_NFCPINS_PROTECT_Msk) == (UICR_NFCPINS_PROTECT_NFC &amp;lt;&amp;lt; UICR_NFCPINS_PROTECT_Pos)) ) return &amp;quot;NFC 2&amp;quot;;

    // Reset pin can be used as GPIOs or nReset, special case
    if ((PinId == PIN_NRESET)                          // 21
     &amp;amp;&amp;amp; ((NRF_UICR-&amp;gt;PSELRESET[0] &amp;amp; UICR_PSELRESET_CONNECT_Msk) == (UICR_PSELRESET_CONNECT_Connected &amp;lt;&amp;lt; UICR_PSELRESET_CONNECT_Pos))
     &amp;amp;&amp;amp; ((NRF_UICR-&amp;gt;PSELRESET[1] &amp;amp; UICR_PSELRESET_CONNECT_Msk) == (UICR_PSELRESET_CONNECT_Connected &amp;lt;&amp;lt; UICR_PSELRESET_CONNECT_Pos))
     &amp;amp;&amp;amp;  (NRF_UICR-&amp;gt;PSELRESET[0] == PIN_NRESET)
     &amp;amp;&amp;amp;  (NRF_UICR-&amp;gt;PSELRESET[1] == PIN_NRESET) ) return &amp;quot;nRESET&amp;quot;;

#if defined(TRACE_D0_PIN) &amp;amp;&amp;amp; defined(TRACE_D1_PIN) &amp;amp;&amp;amp; defined(TRACE_D2_PIN) &amp;amp;&amp;amp; defined(TRACE_D3_PIN) &amp;amp;&amp;amp; defined(TRACE_CLK_PIN)
    // TRACE pins can be used as GPIOs or Trace, special case
    if ( (CoreDebug-&amp;gt;DEMCR &amp;amp; CoreDebug_DEMCR_TRCENA_Msk) == CoreDebug_DEMCR_TRCENA_Msk )
    {
        if (PinId == TRACE_D0_PIN)  return &amp;quot;TRACE D0&amp;quot;;  // 18
        if (PinId == TRACE_D1_PIN)  return &amp;quot;TRACE D1&amp;quot;;  // 16
        if (PinId == TRACE_D2_PIN)  return &amp;quot;TRACE D2&amp;quot;;  // 15
        if (PinId == TRACE_D3_PIN)  return &amp;quot;TRACE D3&amp;quot;;  // 14
        if (PinId == TRACE_CLK_PIN) return &amp;quot;TRACE CLK&amp;quot;; // 20
    }
#endif

/*
 * Table 20: Peripherals sharing an ID
 *  ===================================
 *  Instance
 *  ID  3 (0x40003000) SPIM SPIS SPI TWIM TWIS TWI
 *  ID  4 (0x40004000) SPIM SPIS SPI TWIM TWIS TWI
 *  ID 35 (0x40023000) SPIM SPIS SPI
 */
STATIC_ASSERT ((uint32_t)NRF_TWIM0 == (uint32_t)NRF_SPI0, &amp;quot;NRF_TWIM0 differs from NRF_SPI0&amp;quot;);
STATIC_ASSERT ((uint32_t)NRF_TWIM1 == (uint32_t)NRF_SPI1, &amp;quot;NRF_TWIM1 differs from NRF_SPI1&amp;quot;);

    if (NRF_TWIM0-&amp;gt;PSEL.SCL  == PinId) return &amp;quot;SP-TWI0 SCL&amp;quot;;
    if (NRF_TWIM0-&amp;gt;PSEL.SDA  == PinId) return &amp;quot;SP-TWI0 SDA&amp;quot;;

    if (NRF_TWIM1-&amp;gt;PSEL.SCL  == PinId) return &amp;quot;SP-TWI1 SCL&amp;quot;;
    if (NRF_TWIM1-&amp;gt;PSEL.SDA  == PinId) return &amp;quot;SP-TWI1 SDA&amp;quot;;

    if (NRF_SPI0-&amp;gt;PSEL.SCK  == PinId) return &amp;quot;SPI0 SCK&amp;quot;;
    if (NRF_SPI0-&amp;gt;PSEL.MOSI == PinId) return &amp;quot;SPI0 MOSI&amp;quot;;
    if (NRF_SPI0-&amp;gt;PSEL.MISO == PinId) return &amp;quot;SPI0 MISO&amp;quot;;

    if (NRF_SPI1-&amp;gt;PSEL.SCK  == PinId) return &amp;quot;SPI1 SCK&amp;quot;;
    if (NRF_SPI1-&amp;gt;PSEL.MOSI == PinId) return &amp;quot;SPI1 MOSI&amp;quot;;
    if (NRF_SPI1-&amp;gt;PSEL.MISO == PinId) return &amp;quot;SPI1 MISO&amp;quot;;

    if (NRF_SPI2-&amp;gt;PSEL.SCK  == PinId) return &amp;quot;SPI2 SCK&amp;quot;;
    if (NRF_SPI2-&amp;gt;PSEL.MOSI == PinId) return &amp;quot;SPI2 MOSI&amp;quot;;
    if (NRF_SPI2-&amp;gt;PSEL.MISO == PinId) return &amp;quot;SPI2 MISO&amp;quot;;

    if (NRF_UARTE0-&amp;gt;PSEL.RTS == PinId) return &amp;quot;UartE0 RTS&amp;quot;;
    if (NRF_UARTE0-&amp;gt;PSEL.CTS == PinId) return &amp;quot;UartE0 CTS&amp;quot;;
    if (NRF_UARTE0-&amp;gt;PSEL.TXD == PinId) return &amp;quot;UartE0 Tx&amp;quot;;
    if (NRF_UARTE0-&amp;gt;PSEL.RXD == PinId) return &amp;quot;UartE0 Rx&amp;quot;;

    // Analog positive and negative input channels have strange numbering:
    // PSELP_NC           0UL  Not connected
    // PSELP_AnalogInput0 1UL  AIN0
    // PSELP_AnalogInput1 2UL  AIN1
    // PSELP_AnalogInput2 3UL  AIN2
    // PSELP_AnalogInput3 4UL  AIN3
    // PSELP_AnalogInput4 5UL  AIN4
    // PSELP_AnalogInput5 6UL  AIN5
    // PSELP_AnalogInput6 7UL  AIN6
    // PSELP_AnalogInput7 8UL  AIN7
    // PSELP_VDD          9UL  VDD
    if (((PinId &amp;gt;= 2) &amp;amp;&amp;amp; (PinId &amp;lt;= 5)) || ((PinId &amp;gt;= 28) &amp;amp;&amp;amp; (PinId &amp;lt;= 31)))
    {
      uint32_t PinIdA = 0;
      if ((PinId &amp;gt;= 2) &amp;amp;&amp;amp; (PinId &amp;lt;= 5))
      {
        PinIdA = PinId-1;
      }
      else if ((PinId &amp;gt;= 28) &amp;amp;&amp;amp; (PinId &amp;lt;= 31))
      {
        PinIdA = 4+(PinId-28);
      }
      if (NRF_SAADC-&amp;gt;CH[0].PSELP == PinIdA) return &amp;quot;ADC 0+&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[0].PSELN == PinIdA) return &amp;quot;ADC 0-&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[1].PSELP == PinIdA) return &amp;quot;ADC 1+&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[1].PSELN == PinIdA) return &amp;quot;ADC 1-&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[2].PSELP == PinIdA) return &amp;quot;ADC 2+&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[2].PSELN == PinIdA) return &amp;quot;ADC 2-&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[3].PSELP == PinIdA) return &amp;quot;ADC 3+&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[3].PSELN == PinIdA) return &amp;quot;ADC 3-&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[4].PSELP == PinIdA) return &amp;quot;ADC 4+&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[4].PSELN == PinIdA) return &amp;quot;ADC 4-&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[5].PSELP == PinIdA) return &amp;quot;ADC 5+&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[5].PSELN == PinIdA) return &amp;quot;ADC 5-&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[6].PSELP == PinIdA) return &amp;quot;ADC 6+&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[6].PSELN == PinIdA) return &amp;quot;ADC 6-&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[7].PSELP == PinIdA) return &amp;quot;ADC 7+&amp;quot;;
      if (NRF_SAADC-&amp;gt;CH[7].PSELN == PinIdA) return &amp;quot;ADC 7-&amp;quot;;
    }

    if (NRF_LPCOMP-&amp;gt;PSEL      == PinId) return &amp;quot;LP COMP&amp;quot;;
    if (NRF_LPCOMP-&amp;gt;EXTREFSEL == PinId) return &amp;quot;LP COMP REF&amp;quot;;

    if (NRF_COMP-&amp;gt;PSEL      == PinId) return &amp;quot;COMP&amp;quot;;
    if (NRF_COMP-&amp;gt;EXTREFSEL == PinId) return &amp;quot;COMP REF&amp;quot;;

    if (NRF_QDEC-&amp;gt;PSEL.LED == PinId) return &amp;quot;QDEC LED&amp;quot;;
    if (NRF_QDEC-&amp;gt;PSEL.A   == PinId) return &amp;quot;QDEC A&amp;quot;;
    if (NRF_QDEC-&amp;gt;PSEL.B   == PinId) return &amp;quot;QDEC B&amp;quot;;

    if (NRF_PDM-&amp;gt;PSEL.CLK == PinId) return &amp;quot;PDM CLK&amp;quot;;
    if (NRF_PDM-&amp;gt;PSEL.DIN == PinId) return &amp;quot;PDM DIN&amp;quot;;

    if (NRF_PWM0-&amp;gt;PSEL.OUT[0] == PinId) return &amp;quot;PWM0 0&amp;quot;;
    if (NRF_PWM0-&amp;gt;PSEL.OUT[1] == PinId) return &amp;quot;PWM0 1&amp;quot;;
    if (NRF_PWM0-&amp;gt;PSEL.OUT[2] == PinId) return &amp;quot;PWM0 2&amp;quot;;
    if (NRF_PWM0-&amp;gt;PSEL.OUT[3] == PinId) return &amp;quot;PWM0 3&amp;quot;;

    if (NRF_PWM1-&amp;gt;PSEL.OUT[0] == PinId) return &amp;quot;PWM1 0&amp;quot;;
    if (NRF_PWM1-&amp;gt;PSEL.OUT[1] == PinId) return &amp;quot;PWM1 1&amp;quot;;
    if (NRF_PWM1-&amp;gt;PSEL.OUT[2] == PinId) return &amp;quot;PWM1 2&amp;quot;;
    if (NRF_PWM1-&amp;gt;PSEL.OUT[3] == PinId) return &amp;quot;PWM1 3&amp;quot;;

    if (NRF_PWM2-&amp;gt;PSEL.OUT[0] == PinId) return &amp;quot;PWM2 0&amp;quot;;
    if (NRF_PWM2-&amp;gt;PSEL.OUT[1] == PinId) return &amp;quot;PWM2 1&amp;quot;;
    if (NRF_PWM2-&amp;gt;PSEL.OUT[2] == PinId) return &amp;quot;PWM2 2&amp;quot;;
    if (NRF_PWM2-&amp;gt;PSEL.OUT[3] == PinId) return &amp;quot;PWM2 3&amp;quot;;

    if (NRF_I2S-&amp;gt;PSEL.SDOUT == PinId) return &amp;quot;I2S SDOUT&amp;quot;;
    if (NRF_I2S-&amp;gt;PSEL.SDIN  == PinId) return &amp;quot;I2S SDIN&amp;quot;;
    if (NRF_I2S-&amp;gt;PSEL.SCK   == PinId) return &amp;quot;I2S SCK&amp;quot;;
    if (NRF_I2S-&amp;gt;PSEL.MCK   == PinId) return &amp;quot;I2S MCK&amp;quot;;
    if (NRF_I2S-&amp;gt;PSEL.LRCK  == PinId) return &amp;quot;I2S LRCK&amp;quot;;

    if (NRF_PDM-&amp;gt;PSEL.DIN   == PinId) return &amp;quot;PDM DIN&amp;quot;;
    if (NRF_PDM-&amp;gt;PSEL.CLK   == PinId) return &amp;quot;PDM CLK&amp;quot;;

// Some peripherals are only available on nRF52840
#if defined(NRF52840_XXAA) || defined(NRF52840_XXAB)
    if (NRF_SPIM3-&amp;gt;PSEL.SCK  == PinId) return &amp;quot;SPI3 SCK&amp;quot;;
    if (NRF_SPIM3-&amp;gt;PSEL.MOSI == PinId) return &amp;quot;SPI3 MOSI&amp;quot;;
    if (NRF_SPIM3-&amp;gt;PSEL.MISO == PinId) return &amp;quot;SPI3 MISO&amp;quot;;
    if (NRF_SPIM3-&amp;gt;PSEL.CSN  == PinId) return &amp;quot;SPI3 CSN&amp;quot;;
    if (NRF_SPIM3-&amp;gt;PSELDCX   == PinId) return &amp;quot;SPI3 DCX&amp;quot;;

    if (NRF_UARTE1-&amp;gt;PSEL.RTS == PinId) return &amp;quot;UartE1 RTS&amp;quot;;
    if (NRF_UARTE1-&amp;gt;PSEL.CTS == PinId) return &amp;quot;UartE1 CTS&amp;quot;;
    if (NRF_UARTE1-&amp;gt;PSEL.TXD == PinId) return &amp;quot;UartE1 Tx&amp;quot;;
    if (NRF_UARTE1-&amp;gt;PSEL.RXD == PinId) return &amp;quot;UartE1 Rx&amp;quot;;

    if (NRF_PWM3-&amp;gt;PSEL.OUT[0] == PinId) return &amp;quot;PWM3 0&amp;quot;;
    if (NRF_PWM3-&amp;gt;PSEL.OUT[1] == PinId) return &amp;quot;PWM3 1&amp;quot;;
    if (NRF_PWM3-&amp;gt;PSEL.OUT[2] == PinId) return &amp;quot;PWM3 2&amp;quot;;
    if (NRF_PWM3-&amp;gt;PSEL.OUT[3] == PinId) return &amp;quot;PWM3 3&amp;quot;;
#endif

    if ((NRF_GPIOTE-&amp;gt;CONFIG[0] &amp;amp; GPIOTE_CONFIG_PSEL_Msk) == (PinId &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)) return &amp;quot;GPIOTE 0&amp;quot;;
    if ((NRF_GPIOTE-&amp;gt;CONFIG[1] &amp;amp; GPIOTE_CONFIG_PSEL_Msk) == (PinId &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)) return &amp;quot;GPIOTE 1&amp;quot;;
    if ((NRF_GPIOTE-&amp;gt;CONFIG[2] &amp;amp; GPIOTE_CONFIG_PSEL_Msk) == (PinId &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)) return &amp;quot;GPIOTE 2&amp;quot;;
    if ((NRF_GPIOTE-&amp;gt;CONFIG[3] &amp;amp; GPIOTE_CONFIG_PSEL_Msk) == (PinId &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)) return &amp;quot;GPIOTE 3&amp;quot;;
    if ((NRF_GPIOTE-&amp;gt;CONFIG[4] &amp;amp; GPIOTE_CONFIG_PSEL_Msk) == (PinId &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)) return &amp;quot;GPIOTE 4&amp;quot;;
    if ((NRF_GPIOTE-&amp;gt;CONFIG[5] &amp;amp; GPIOTE_CONFIG_PSEL_Msk) == (PinId &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)) return &amp;quot;GPIOTE 5&amp;quot;;
    if ((NRF_GPIOTE-&amp;gt;CONFIG[6] &amp;amp; GPIOTE_CONFIG_PSEL_Msk) == (PinId &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)) return &amp;quot;GPIOTE 6&amp;quot;;
    if ((NRF_GPIOTE-&amp;gt;CONFIG[7] &amp;amp; GPIOTE_CONFIG_PSEL_Msk) == (PinId &amp;lt;&amp;lt; GPIOTE_CONFIG_PSEL_Pos)) return &amp;quot;GPIOTE 7&amp;quot;;

    // No hardware pins available with these peripherals:
    // NRF_TIMER0                      ((NRF_TIMER_Type          *) NRF_TIMER0_BASE)
    // NRF_TIMER1                      ((NRF_TIMER_Type          *) NRF_TIMER1_BASE)
    // NRF_TIMER2                      ((NRF_TIMER_Type          *) NRF_TIMER2_BASE)
    // NRF_RTC0                        ((NRF_RTC_Type            *) NRF_RTC0_BASE)
    // NRF_RTC1                        ((NRF_RTC_Type            *) NRF_RTC1_BASE)
    // NRF_RTC2                        ((NRF_RTC_Type            *) NRF_RTC2_BASE)

    // Default, no map found
    return &amp;quot;-&amp;quot;;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Sample output:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;lt;info&amp;gt; app: P0.00 Map: RTC-OSC-IN
&amp;lt;info&amp;gt; app: P0.01 Map: RTC-OSC-OUT
&amp;lt;info&amp;gt; app: P0.02 Map: -
&amp;lt;info&amp;gt; app: P0.03 Map: -
&amp;lt;info&amp;gt; app: P0.04 Map: -
&amp;lt;info&amp;gt; app: P0.05 Map: -
&amp;lt;info&amp;gt; app: P0.06 Map: -
&amp;lt;info&amp;gt; app: P0.07 Map: TRACE CLK
&amp;lt;info&amp;gt; app: P0.08 Map: -
&amp;lt;info&amp;gt; app: P0.09 Map: -
&amp;lt;info&amp;gt; app: P0.10 Map: -
&amp;lt;info&amp;gt; app: P0.11 Map: TRACE D2
&amp;lt;info&amp;gt; app: P0.12 Map: TRACE D1
&amp;lt;info&amp;gt; app: P0.13 Map: -
&amp;lt;info&amp;gt; app: P0.14 Map: -
&amp;lt;info&amp;gt; app: P0.15 Map: -
&amp;lt;info&amp;gt; app: P0.16 Map: -
&amp;lt;info&amp;gt; app: P0.17 Map: -
&amp;lt;info&amp;gt; app: P0.18 Map: nRESET
&amp;lt;info&amp;gt; app: P0.19 Map: -
&amp;lt;info&amp;gt; app: P0.20 Map: -
&amp;lt;info&amp;gt; app: P0.21 Map: -
&amp;lt;info&amp;gt; app: P0.22 Map: -
&amp;lt;info&amp;gt; app: P0.23 Map: -
&amp;lt;info&amp;gt; app: P0.24 Map: UartE0 Rx
&amp;lt;info&amp;gt; app: P0.25 Map: UartE0 Tx
&amp;lt;info&amp;gt; app: P0.26 Map: -
&amp;lt;info&amp;gt; app: P0.27 Map: -
&amp;lt;info&amp;gt; app: P0.28 Map: -
&amp;lt;info&amp;gt; app: P0.29 Map: -
&amp;lt;info&amp;gt; app: P0.30 Map: -
&amp;lt;info&amp;gt; app: P0.31 Map: -
&amp;lt;info&amp;gt; app: P1.00 Map: TRACE D0
&amp;lt;info&amp;gt; app: P1.01 Map: -
&amp;lt;info&amp;gt; app: P1.02 Map: -
&amp;lt;info&amp;gt; app: P1.03 Map: -
&amp;lt;info&amp;gt; app: P1.04 Map: -
&amp;lt;info&amp;gt; app: P1.05 Map: -
&amp;lt;info&amp;gt; app: P1.06 Map: -
&amp;lt;info&amp;gt; app: P1.07 Map: -
&amp;lt;info&amp;gt; app: P1.08 Map: -
&amp;lt;info&amp;gt; app: P1.09 Map: TRACE D3
&amp;lt;info&amp;gt; app: P1.10 Map: PWM0 1
&amp;lt;info&amp;gt; app: P1.11 Map: -
&amp;lt;info&amp;gt; app: P1.12 Map: -
&amp;lt;info&amp;gt; app: P1.13 Map: -
&amp;lt;info&amp;gt; app: P1.14 Map: -
&amp;lt;info&amp;gt; app: P1.15 Map: -
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463442?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 23:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e300755-4072-4398-9a69-ad0e27abacb1</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Thanks for your reply. So&amp;nbsp;where is this&amp;nbsp;FindPinMap method called? Would you mind share the code which calls the&amp;nbsp;FindPinMap method? I think its a good idea to check each pin using this method but I just don&amp;#39;t know how to use it. I don&amp;#39;t have much experiences on embedding software yet so it will be much appreciated if you could share more details.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And yes it could be hardware layout issue so I am trying to test it with some testing devices.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463405?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 15:47:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bbcfbc5-ab93-49c7-9ba4-3ff7e3971355</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;These 2 lines allow reporting on the use of every pin which can be mapped to functions other than i/o, and yes they respond to PinId of 0 and 1 (the function is called from a loop PinId = 0 to 31). My point was just to check the actual setting of&amp;nbsp;&lt;span&gt;NRF_CLOCK-&amp;gt;LFCLKSRC &amp;amp; 0x000001 to see if the code was doing what you expected. This is a reduced function for the the special pins, but I also check psel for SPIM, UARTE, TWIM, PWM and so on.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// Check what some special pins are used for
const char * FindPinMap(uint32_t PinId)
{
    // 32kHz Osc pins can be used as GPIOs or 32kHz Oscillator, special case
    if ( (PinId == PIN_XL2) &amp;amp;&amp;amp; (NRF_CLOCK-&amp;gt;LFCLKSRC &amp;amp; 0x000001) ) return &amp;quot;RTC-OSC-OUT&amp;quot;;
    if ( (PinId == PIN_XL1) &amp;amp;&amp;amp; (NRF_CLOCK-&amp;gt;LFCLKSRC &amp;amp; 0x000001) ) return &amp;quot;RTC-OSC-IN&amp;quot;;

    // NFC pins can be used as GPIOs or NFC, special case
    if ( (PinId == PIN_NFC1) &amp;amp;&amp;amp; ((NRF_UICR-&amp;gt;NFCPINS &amp;amp; UICR_NFCPINS_PROTECT_Msk) == (UICR_NFCPINS_PROTECT_NFC &amp;lt;&amp;lt; UICR_NFCPINS_PROTECT_Pos)) ) return &amp;quot;NFC 1&amp;quot;;
    if ( (PinId == PIN_NFC2) &amp;amp;&amp;amp; ((NRF_UICR-&amp;gt;NFCPINS &amp;amp; UICR_NFCPINS_PROTECT_Msk) == (UICR_NFCPINS_PROTECT_NFC &amp;lt;&amp;lt; UICR_NFCPINS_PROTECT_Pos)) ) return &amp;quot;NFC 2&amp;quot;;

    // Reset pin can be used as GPIOs or nReset, special case
    if ((PinId == PIN_NRESET)                          // 21
     &amp;amp;&amp;amp; ((NRF_UICR-&amp;gt;PSELRESET[0] &amp;amp; UICR_PSELRESET_CONNECT_Msk) == (UICR_PSELRESET_CONNECT_Connected &amp;lt;&amp;lt; UICR_PSELRESET_CONNECT_Pos))
     &amp;amp;&amp;amp; ((NRF_UICR-&amp;gt;PSELRESET[1] &amp;amp; UICR_PSELRESET_CONNECT_Msk) == (UICR_PSELRESET_CONNECT_Connected &amp;lt;&amp;lt; UICR_PSELRESET_CONNECT_Pos))
     &amp;amp;&amp;amp;  (NRF_UICR-&amp;gt;PSELRESET[0] == PIN_NRESET)
     &amp;amp;&amp;amp;  (NRF_UICR-&amp;gt;PSELRESET[1] == PIN_NRESET) ) return &amp;quot;nRESET&amp;quot;;

#if defined(TRACE_D0_PIN) &amp;amp;&amp;amp; defined(TRACE_D1_PIN) &amp;amp;&amp;amp; defined(TRACE_D2_PIN) &amp;amp;&amp;amp; defined(TRACE_D3_PIN) &amp;amp;&amp;amp; defined(TRACE_CLK_PIN)
    // TRACE pins can be used as GPIOs or Trace, special case
    if ( (CoreDebug-&amp;gt;DEMCR &amp;amp; CoreDebug_DEMCR_TRCENA_Msk) == CoreDebug_DEMCR_TRCENA_Msk )
    {
        if (PinId == TRACE_D0_PIN)  return &amp;quot;TRACE D0&amp;quot;;  // 18
        if (PinId == TRACE_D1_PIN)  return &amp;quot;TRACE D1&amp;quot;;  // 16
        if (PinId == TRACE_D2_PIN)  return &amp;quot;TRACE D2&amp;quot;;  // 15
        if (PinId == TRACE_D3_PIN)  return &amp;quot;TRACE D3&amp;quot;;  // 14
        if (PinId == TRACE_CLK_PIN) return &amp;quot;TRACE CLK&amp;quot;; // 20
    }
#endif&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So still no crystal osc on the nRF52832? Looks like hardware layout issue ..&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//      Name            Id // Pin Name  Dir Function 
//      =============== == // === ===== === ==========
#define SWO_PIN         18 //   8 P0.18 Out GPIO/SWO  
#define NFC1_PIN         9 //  16 P0.09 -   GPIO/NFC1 
#define NFC2_PIN        10 //  17 P0.10 -   GPIO/NFC2 
#define TX_PIN_NUMBER    6 //  19 P0.06 Out GPIO      
#define RX_PIN_NUMBER    8 //  20 P0.08 Out GPIO      
#define RTS_PIN_NUMBER   5 //  21 P0.05 Out GPIO/AIN3 
#define CTS_PIN_NUMBER   7 //  22 P0.07 Out GPIO      
#define RCC_OSC_IN_PIN   1 //  23 P0.01 -   GPIO/XTAL2
#define RCC_OSC_OUT_PIN  0 //  24 P0.00 -   GPIO/XTAL1
etc etc&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463330?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 11:23:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d49595c-4b5b-4b50-bcec-3be00f61959c</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;Hi Kazi, just want you know that I create another private ticket with the design file so you may have your hardware engineers to look into. Thanks a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463267?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 06:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35b88d90-674e-4639-b80b-58dae864ecab</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/kazi-afroza-sultana"&gt;Kazi Afroza Sultana&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Thanks for your reply. After I enable RTC on top of sdk_config.h, and switch the LF_SRC to 0, I am able to start the timer. I also tested on the initial 52811 custom board, and its able to start time on both RC and crystal.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I looked at the code you provided, but I am confused. So long as I set up LF_SRC to 1,&amp;nbsp;(NRF_CLOCK-&amp;gt;LFCLKSRC &amp;amp; 0x000001) will return true. And for this:&amp;nbsp;(PinId == RCC_OSC_OUT_PIN), I guess PinId I should put 0 or 1, what is&amp;nbsp;&lt;span&gt;RCC_OSC_OUT_PIN? I searched around and couldn&amp;#39;t find it. If its a configured pin number, for example, 0 or 1, then it always return true, right? So what&amp;#39;s the point for these two lines of code? Please correct me if I am wrong.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463199?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 15:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fafc625-743b-4b1f-af30-d7f13a7b4a37</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;On both boards maybe verify that the two crystal pins P0.0 and P0.1 are set to use the crystal; this snippet will give you a guide:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    // 32kHz Osc pins can be used as GPIOs or 32kHz Oscillator, special case
    if ( (PinId == RCC_OSC_OUT_PIN) &amp;amp;&amp;amp; (NRF_CLOCK-&amp;gt;LFCLKSRC &amp;amp; 0x000001) ) return &amp;quot;RTC-OSC-OUT&amp;quot;;
    if ( (PinId == RCC_OSC_IN_PIN)  &amp;amp;&amp;amp; (NRF_CLOCK-&amp;gt;LFCLKSRC &amp;amp; 0x000001) ) return &amp;quot;RTC-OSC-IN&amp;quot;;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Edit:&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;Also check that RTC1 is being used&lt;/span&gt; (there is no RTC2 on the nRF52811). Ah, I see RTC1 is always used for App Timer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463136?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 12:41:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7f4908d-4ad2-46ee-b7a3-e2c64c4fdbc2</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;When I run the same code on 52DK, the timer starts fine with only lfclk.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;DOES that mean the lfclk of the custom board has some issues, which has something to do with the 32.768K crystal?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried to modify the LF_SRC, and found only when LF_SR is set to SYNTH the LFCLK can trigger timer. Neither RC nor XTAL can let LFCLK trigger time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/463118?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 11:49:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc82bb04-84b9-40f1-9c42-d36faac23f22</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/kazi-afroza-sultana"&gt;Kazi Afroza Sultana&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried the code from this post:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/107076/advertising-using-raw-radio-registers-with-nrf52832-without-softdevice"&gt;Advertising using raw radio registers with nRF52832 (without SoftDevice)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;here is my code:&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;#include &amp;lt;stdbool.h&amp;gt;
#include &amp;lt;stdint.h&amp;gt;
#include &amp;quot;nordic_common.h&amp;quot;
#include &amp;quot;ble.h&amp;quot;
#include &amp;quot;nrf_delay.h&amp;quot;
#include &amp;quot;nrf_drv_clock.h&amp;quot;
#include &amp;quot;app_timer.h&amp;quot;
#include &amp;quot;nrf_pwr_mgmt.h&amp;quot;

#include &amp;quot;nrf_log.h&amp;quot;
#include &amp;quot;nrf_log_ctrl.h&amp;quot;
#include &amp;quot;nrf_log_default_backends.h&amp;quot;

#define DEAD_BEEF                       0xDEADBEEF


APP_TIMER_DEF(m_timer);

typedef enum
{
	CHANNEL_37 = 0,
	CHANNEL_38 = 1,
	CHANNEL_39 = 2,
} channel_t;

typedef struct
{
	uint8_t channel;
	uint8_t frequency;
} channel_frequency_pair_t;

static const channel_frequency_pair_t m_channel_frequency_map[] = 
{
	{ .channel = 37, .frequency = 2  },		// channel 37, frequency 2402
	{ .channel = 38, .frequency = 26 },		// channel 38, frequency 2426
	{ .channel = 39, .frequency = 80 }		// channel 39, frequency 2480
};
static uint8_t m_adv_pdu[40];
static uint8_t m_adv_ch = CHANNEL_37;

static bool m_send_adv = false;
static bool m_adv_sent = false;

void assert_nrf_callback(uint16_t line_num, const uint8_t * p_file_name)
{
    app_error_handler(DEAD_BEEF, line_num, p_file_name);
}

void nrf_radio_advertise(void)
{	
	m_adv_pdu[0]  = 0x40 | 0x02;	// First header byte: TxAdd|RxAdd (0x40) + PDU Type
	m_adv_pdu[1]  = 0;              // Second header byte: LENGTH (will be updated at the end)
    m_adv_pdu[2]  = 0;
    
    m_adv_pdu[3]  = (NRF_FICR-&amp;gt;DEVICEADDR[0]      ) &amp;amp; 0xFF;
    m_adv_pdu[4]  = (NRF_FICR-&amp;gt;DEVICEADDR[0] &amp;gt;&amp;gt;  8) &amp;amp; 0xFF;
    m_adv_pdu[5]  = (NRF_FICR-&amp;gt;DEVICEADDR[0] &amp;gt;&amp;gt; 16) &amp;amp; 0xFF;
    m_adv_pdu[6]  = (NRF_FICR-&amp;gt;DEVICEADDR[0] &amp;gt;&amp;gt; 24)       ;
    m_adv_pdu[7]  = (NRF_FICR-&amp;gt;DEVICEADDR[1]      ) &amp;amp; 0xFF;
    m_adv_pdu[8]  = (NRF_FICR-&amp;gt;DEVICEADDR[1] &amp;gt;&amp;gt;  8) &amp;amp; 0xFF;
    
    m_adv_pdu[9]  = 0x02;
    m_adv_pdu[10] = 0x01;
    m_adv_pdu[11] = 0x06;
    
    m_adv_pdu[12] = 0x05;
    m_adv_pdu[13] = 0x09;
    m_adv_pdu[14] = &amp;#39;T&amp;#39;;
    m_adv_pdu[15] = &amp;#39;E&amp;#39;;
    m_adv_pdu[16] = &amp;#39;S&amp;#39;;
    m_adv_pdu[17] = &amp;#39;T&amp;#39;;
    
    // update data length 
	m_adv_pdu[1] = BLE_GAP_ADDR_LEN + 9;
	
	// init first advertising channel
	m_adv_ch = CHANNEL_37;
		
	/* Reset all states in the radio peripheral */
	NVIC_ClearPendingIRQ(RADIO_IRQn);
	NVIC_DisableIRQ(RADIO_IRQn);
    
    NRF_RADIO-&amp;gt;POWER = ((RADIO_POWER_POWER_Disabled &amp;lt;&amp;lt; RADIO_POWER_POWER_Pos) &amp;amp; RADIO_POWER_POWER_Msk);
	NRF_RADIO-&amp;gt;POWER = ((RADIO_POWER_POWER_Enabled &amp;lt;&amp;lt; RADIO_POWER_POWER_Pos) &amp;amp; RADIO_POWER_POWER_Msk);

	/* Do BLE specific radio setup */
	NRF_RADIO-&amp;gt;EVENTS_DISABLED = 0;

	/* Set radio configuration parameters */
	NRF_RADIO-&amp;gt;TXPOWER = ((RADIO_TXPOWER_TXPOWER_Pos4dBm &amp;lt;&amp;lt; RADIO_TXPOWER_TXPOWER_Pos) &amp;amp; RADIO_TXPOWER_TXPOWER_Msk);
	NRF_RADIO-&amp;gt;MODE    = ((RADIO_MODE_MODE_Ble_1Mbit &amp;lt;&amp;lt; RADIO_MODE_MODE_Pos) &amp;amp; RADIO_MODE_MODE_Msk);


	NRF_RADIO-&amp;gt;FREQUENCY   = m_channel_frequency_map[m_adv_ch].frequency;
	NRF_RADIO-&amp;gt;DATAWHITEIV = m_channel_frequency_map[m_adv_ch].channel;

	/* Configure Access Address to be the BLE standard */
	NRF_RADIO-&amp;gt;PREFIX0	   = 0x8e;
	NRF_RADIO-&amp;gt;BASE0       = 0x89bed600; 
	NRF_RADIO-&amp;gt;TXADDRESS   = 0x00;				// Use logical address 0 (prefix0 + base0) = 0x8E89BED6 when transmitting
	NRF_RADIO-&amp;gt;RXADDRESSES = 0x01;				// Enable reception on logical address 0 (PREFIX0 + BASE0)

	/* PCNF-&amp;gt; Packet Configuration. Now we need to configure the sizes S0, S1 and length field to match the datapacket format of the advertisement packets. */
	NRF_RADIO-&amp;gt;PCNF0 =  (
			              (((1UL) &amp;lt;&amp;lt; RADIO_PCNF0_S0LEN_Pos) &amp;amp; RADIO_PCNF0_S0LEN_Msk)    // length of S0 field in bytes 0-1.
			            | (((2UL) &amp;lt;&amp;lt; RADIO_PCNF0_S1LEN_Pos) &amp;amp; RADIO_PCNF0_S1LEN_Msk)    // length of S1 field in bits 0-8.
			            | (((6UL) &amp;lt;&amp;lt; RADIO_PCNF0_LFLEN_Pos) &amp;amp; RADIO_PCNF0_LFLEN_Msk)    // length of length field in bits 0-8.
			          );

	/* Packet configuration */
	NRF_RADIO-&amp;gt;PCNF1 =  (
			              (((37UL)                      &amp;lt;&amp;lt; RADIO_PCNF1_MAXLEN_Pos)  &amp;amp; RADIO_PCNF1_MAXLEN_Msk)   // maximum length of payload in bytes [0-255]
			            | (((0UL)                       &amp;lt;&amp;lt; RADIO_PCNF1_STATLEN_Pos) &amp;amp; RADIO_PCNF1_STATLEN_Msk)	// expand the payload with N bytes in addition to LENGTH [0-255]
			            | (((3UL)                       &amp;lt;&amp;lt; RADIO_PCNF1_BALEN_Pos)   &amp;amp; RADIO_PCNF1_BALEN_Msk)    // base address length in number of bytes.
			            | (((RADIO_PCNF1_ENDIAN_Little) &amp;lt;&amp;lt; RADIO_PCNF1_ENDIAN_Pos)  &amp;amp; RADIO_PCNF1_ENDIAN_Msk)   // endianess of the S0, LENGTH, S1 and PAYLOAD fields.
			            | (((1UL)                       &amp;lt;&amp;lt; RADIO_PCNF1_WHITEEN_Pos) &amp;amp; RADIO_PCNF1_WHITEEN_Msk)	// enable packet whitening
			          );

	/* CRC config */
	NRF_RADIO-&amp;gt;CRCCNF = (RADIO_CRCCNF_LEN_Three &amp;lt;&amp;lt; RADIO_CRCCNF_LEN_Pos) | 
			            (RADIO_CRCCNF_SKIPADDR_Skip &amp;lt;&amp;lt; RADIO_CRCCNF_SKIPADDR_Pos); // Skip Address when computing crc     
	NRF_RADIO-&amp;gt;CRCINIT = 0x555555;    // Initial value of CRC
	NRF_RADIO-&amp;gt;CRCPOLY = 0x00065B;    // CRC polynomial function

	/* Lock interframe spacing, so that the radio won&amp;#39;t send too soon / start RX too early */
	NRF_RADIO-&amp;gt;TIFS = 145;
	
	/* Enable radio interrupt propagation */
	NVIC_EnableIRQ(RADIO_IRQn);
	
	/* trigger task early, the rest of the setup can be done in RXRU */
	// NRF_RADIO-&amp;gt;TASKS_TXEN = 1;
	
	NRF_RADIO-&amp;gt;SHORTS = (
						  ((RADIO_SHORTS_READY_START_Enabled &amp;lt;&amp;lt; RADIO_SHORTS_READY_START_Pos) &amp;amp; RADIO_SHORTS_READY_START_Msk) 
						| ((RADIO_SHORTS_END_DISABLE_Enabled &amp;lt;&amp;lt; RADIO_SHORTS_END_DISABLE_Pos) &amp;amp; RADIO_SHORTS_END_DISABLE_Msk)
					  );

	NRF_RADIO-&amp;gt;INTENSET = ((RADIO_INTENSET_DISABLED_Set &amp;lt;&amp;lt; RADIO_INTENSET_DISABLED_Pos) &amp;amp; RADIO_INTENSET_DISABLED_Msk);

	/* Recover packet pointer */
	NRF_RADIO-&amp;gt;PACKETPTR = (uint32_t) &amp;amp;m_adv_pdu[0];

	/* trigger task early, the rest of the setup can be done in RXRU */
	NRF_RADIO-&amp;gt;TASKS_TXEN = 1;
	
	NRF_LOG_INFO(&amp;quot;TXEN&amp;quot;);
}

void RADIO_IRQHandler(void)
{	
	NRF_LOG_INFO(&amp;quot;nrf_radio_event&amp;quot;);
		
	if (NRF_RADIO-&amp;gt;EVENTS_DISABLED) 
	{
		m_adv_ch++;
		
		if (m_adv_ch &amp;lt;= CHANNEL_39)
		{
			// send adv on next channel
			NRF_RADIO-&amp;gt;SHORTS = 0;
			
			NRF_RADIO-&amp;gt;FREQUENCY   = m_channel_frequency_map[m_adv_ch].frequency;
			NRF_RADIO-&amp;gt;DATAWHITEIV = m_channel_frequency_map[m_adv_ch].channel;
			
			NRF_RADIO-&amp;gt;SHORTS = (
								  ((1 &amp;lt;&amp;lt; RADIO_SHORTS_READY_START_Pos) &amp;amp; RADIO_SHORTS_READY_START_Msk) 
								| ((1 &amp;lt;&amp;lt; RADIO_SHORTS_END_DISABLE_Pos) &amp;amp; RADIO_SHORTS_END_DISABLE_Msk)
							  );

			NRF_RADIO-&amp;gt;INTENSET = ((RADIO_INTENSET_DISABLED_Set &amp;lt;&amp;lt; RADIO_INTENSET_DISABLED_Pos) &amp;amp; RADIO_INTENSET_DISABLED_Msk);
			
			NRF_RADIO-&amp;gt;TASKS_TXEN = 1;
		}
		else
		{
			// turn off radio
			NVIC_DisableIRQ(RADIO_IRQn);
            NRF_RADIO-&amp;gt;TASKS_DISABLE = 1;
            NRF_RADIO-&amp;gt;POWER = ((RADIO_POWER_POWER_Disabled &amp;lt;&amp;lt; RADIO_POWER_POWER_Pos) &amp;amp; RADIO_POWER_POWER_Msk);
            NRF_RADIO-&amp;gt;SHORTS = 0;
            NRF_RADIO-&amp;gt;INTENCLR = ((RADIO_INTENCLR_DISABLED_Clear &amp;lt;&amp;lt; RADIO_INTENCLR_DISABLED_Pos) &amp;amp; RADIO_INTENCLR_DISABLED_Msk);
            NRF_RADIO-&amp;gt;EVENTS_DISABLED = 0;
            
			m_adv_sent = 1;
		}
	}
}

static void timer_handler(void * p_context)
{
	NRF_LOG_INFO(&amp;quot;TIMER&amp;quot;);
		
	m_send_adv = true;
}

static void log_init(void)
{
    ret_code_t err_code = NRF_LOG_INIT(NULL);
    APP_ERROR_CHECK(err_code);

    NRF_LOG_DEFAULT_BACKENDS_INIT();
}

static void timers_init(void)
{
    ret_code_t err_code = app_timer_init();
    APP_ERROR_CHECK(err_code);
    
    err_code = app_timer_create(&amp;amp;m_timer, APP_TIMER_MODE_REPEATED, timer_handler);
    APP_ERROR_CHECK(err_code);
}

static void power_management_init(void)
{
    ret_code_t err_code;
    err_code = nrf_pwr_mgmt_init();
    APP_ERROR_CHECK(err_code);
}

static void lfclk_config(void)
{
    uint32_t err_code;

    err_code = nrf_drv_clock_init();
    APP_ERROR_CHECK(err_code);

    nrf_drv_clock_lfclk_request(NULL);
}

static void idle_state_handle(void)
{
    if (NRF_LOG_PROCESS() == false)
    {
        nrf_pwr_mgmt_run();
    }
}

int main(void)
{
	log_init();
	lfclk_config();   
    timers_init();
    power_management_init();
    
    // start app_timer (1 sec.)
    APP_ERROR_CHECK(app_timer_start(m_timer, APP_TIMER_TICKS(1000), NULL));

    NRF_LOG_INFO(&amp;quot;APP START&amp;quot;);
    for (;;)
    {
    	// this is triggered from app_timer
    	if (m_send_adv)
    	{
    		m_send_adv = false;
    		
    		// enable hfclk
    		NRF_LOG_INFO(&amp;quot;ENABLING HFCLK&amp;quot;);
			nrf_drv_clock_hfclk_request(NULL);
			
			// wait for hfclk to be up
			while (!nrf_drv_clock_hfclk_is_running())
			{
				nrf_delay_ms(1);
			}			
    		NRF_LOG_INFO(&amp;quot;HFCLK ENABLED&amp;quot;);
			
			// send advertisements
			nrf_radio_advertise();
    	}
    	
    	// this is triggered after advertisement on all 3-channels have been done
    	if (m_adv_sent)
    	{
    		m_adv_sent = false;

    		// turn off hfclk    		
    		NRF_LOG_INFO(&amp;quot;DISABLING HFCLK&amp;quot;);
			nrf_drv_clock_hfclk_release();
    	}
    	
        idle_state_handle();
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After flash, it only prints two info:&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app: APP START&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;It seems the timer never starts.&lt;/p&gt;
&lt;p class="p1"&gt;Then I changed the init m_send_adv to true, the log becomes:&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app: APP START&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;mnfo&amp;gt; app: ENABLING HFCLK&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app: HFCLK ENABLED&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app: TXEN&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app: nrf_radio_event&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app: nrf_radio_event&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app: nrf_radio_event&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&amp;lt;info&amp;gt; app: DISABLING HFCLK&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Then stoped.&lt;/p&gt;
&lt;p class="p1"&gt;&lt;/p&gt;
&lt;p class="p1"&gt;Is there something wrong with the lfclk? or any thoughts please.&lt;/p&gt;
&lt;p class="p1"&gt;&lt;/p&gt;
&lt;p class="p1"&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462999?ContentTypeID=1</link><pubDate>Sat, 06 Jan 2024 01:45:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9aa3a17f-1509-4ce8-a124-b87b9e195ec9</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/kazi-afroza-sultana"&gt;Kazi Afroza Sultana&lt;/a&gt;&amp;nbsp;Thanks for your reply. The custom board works well with 52811. So I assume the crystal is solder correctly. Can you please tell me how to look into radio registers to get radio status? Before we reflow the chip.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462967?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 16:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9be038c-9bd0-45ad-aeb8-3e8fd0849571</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Going through all the conversations here I can see you have tested the HFCLK; that actually the prime cause of not advertising. You can try to solder the crystals again.&amp;nbsp;&lt;span&gt;Check that the crystal is well soldered and that it is mounted correctly (not shifted by 90 degrees for instance).&amp;nbsp;Or you can&lt;/span&gt;&amp;nbsp;reflow the chip again?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am sorry for the late reply. we had holiday period and most of our employees are in vacation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462869?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 12:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:debdb6d0-4f7e-4dc6-a0b5-863b33d7ef1d</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;I&amp;#39;d like to look into Radio registers to get some hints on the advertising issue. How can I get the custom board radio status?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462792?ContentTypeID=1</link><pubDate>Fri, 05 Jan 2024 02:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23c43ccc-ca5c-4da6-aef9-7a0713a058b3</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/kazi-afroza-sultana"&gt;Kazi Afroza Sultana&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Thanks for your reply. Yes that makes sense that my way of measuring voltage is not right.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I put those settings on top of the sdk_config.h&amp;nbsp; in the ble_app_uart project of the sdk16. Unfortunatelly there is still NO advertising.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Funny thing is that I never seen any error message in the log.&lt;/p&gt;
&lt;p&gt;Is it possible the 52832 chips I am using has something wrong. I tested on two custom boards. Both had 52811 and worked and then replaced by 52832, but neither works.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462762?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 16:26:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:860402f2-1e58-426a-8603-f939f395d3c0</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Touching a probe to the 32kHz crystal can stop the crystal, especially if using a x1 probe (1MOhm); a x10 probe (10MOhm) will be less likely to do that; if the crystal stops then the voltage measurement is meaningless.&amp;nbsp;The 32kHz crystal and load capacitors may also be further from the pins on the custom board, which adversely affects operation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Try not using the crystal, by setting the internal RC 32kHz oscillator, and see if that fixes the advertising; that would indicate something amiss with the crystal if the advertising starts working. Edit: I think earlier you tried some settings, but maybe add all of these to the top of sdk_config.h (for SDK testing):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRFX_CLOCK_CONFIG_LF_SRC         0
#define CLOCK_CONFIG_LF_SRC              0
#define NRF_SDH_CLOCK_LF_SRC             0
#define NRF_SDH_CLOCK_LF_RC_CTIV        16
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV    2
#define NRF_SDH_CLOCK_LF_ACCURACY        1 // &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462599?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 00:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b91bea4d-5833-4ad4-b4aa-3f159cf196ad</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/hmolesworth"&gt;hmolesworth&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/kazi-afroza-sultana"&gt;Kazi Afroza Sultana&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Thanks a lot for your reply. I only used i2c/twi. After seen your reply, I added following in the overlay file:&lt;/p&gt;
&lt;p&gt;&amp;amp;spi0 {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&amp;amp;spi1 {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&amp;amp;spi2 {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;But still No advertise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is my config right? Or anything else should I look into.&lt;/p&gt;
&lt;p&gt;The code works on the 52 DK board with advertising.&lt;/p&gt;
&lt;p&gt;I measured the voltage power of the two crystal, and found the custom board is much lower than 52 DK. For the 32M crystal, the voltage is 1.6/custom, 2.42/52DK.&amp;nbsp;&lt;br /&gt;For the 32.768K crystal, the voltage is 0.01/custom, 2.39/52DK.&amp;nbsp;&lt;br /&gt;The voltage is on the closer side to MCU. Both in voltage is 2.99.&lt;br /&gt;&lt;br /&gt;Is that the reason not advertising?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Interesting thing is the custom board works fine when I use interrupt trigger mode to fetch sensor data through i2c in a 104Hz frequency.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462573?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2024 16:40:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31bd48d9-922f-4c67-8f92-9438639b4111</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Not sure if relevant, but if using both SPI and TWI there is an issue with the interrupt vectors which means SPIM0 and TWIM0 will work together on the nRF52811 but not on the nRF52832; on the nRF52832 SPIM0 has to be changed to SPIM1 to avoid errors:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// nRF52811
                ; External Interrupts
                DCD     POWER_CLOCK_IRQHandler
                DCD     RADIO_IRQHandler
                DCD     UARTE0_UART0_IRQHandler
                DCD     TWIM0_TWIS0_TWI0_SPIM1_SPIS1_SPI1_IRQHandler
                DCD     SPIM0_SPIS0_SPI0_IRQHandler
//nRF52832
                ; External Interrupts
                DCD     POWER_CLOCK_IRQHandler
                DCD     RADIO_IRQHandler
                DCD     UARTE0_UART0_IRQHandler
                DCD     SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0_IRQHandler
                DCD     SPIM1_SPIS1_TWIM1_TWIS1_SPI1_TWI1_IRQHandler&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462485?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2024 12:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99c435da-9cf1-4f14-b83c-627f72286c5d</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/kazi-afroza-sultana"&gt;Kazi Afroza Sultana&lt;/a&gt;&amp;nbsp;Could you please take a look at my reply and response? It&amp;#39;s very urgent.&amp;nbsp; The issue is not about bus fault but not advertising. If needed, I can submit a new ticket.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462162?ContentTypeID=1</link><pubDate>Mon, 01 Jan 2024 02:41:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e90ae11c-42f1-4de3-8792-0efc0de2d1b9</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;let me clarify my problems. I have a custom board with 52811. it works fine- advertising/connecting/data notifing. Then on the same board, I removed the 52811, and replaced with 52832. I am able to flash the program, able to see logs through uart, able to scan other devices, but just can&amp;#39;t see it advertising on the nrf connect mobile app. &lt;br /&gt;&amp;nbsp; &amp;nbsp;I tried rssi viewer, no data. &lt;br /&gt;&amp;nbsp; &amp;nbsp;I tried sniffer, no data.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I then go back to sdk 16.0 and use the ble_app_uart sample. I can see the uart log. no any errors. but NO advertising.&lt;br /&gt;I tried to change the&amp;nbsp;NRF_SDH_CLOCK_LF_SRC to SYNTH, and put these code in the begining of main:&lt;br /&gt;NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;&lt;br /&gt; while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0);&lt;br /&gt;It is able to run through the code and show later logs on uart. But NO advertising.&lt;br /&gt;&lt;br /&gt;I then tried use LF:&lt;br /&gt;#define NRFX_CLOCK_CONFIG_LF_SRC 0&lt;br /&gt;#define NRF_SDH_CLOCK_LF_SRC 0&lt;br /&gt;#define NRF_SDH_CLOCK_LF_RC_CTIV 16&lt;br /&gt;#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2&lt;br /&gt;still, no errors, I can see uart logs. but NO advertising.&lt;br /&gt;&lt;br /&gt;Other than advertising, I am able to run other samples such as blink leds.&lt;br /&gt;&lt;br /&gt;The 52832 has 1950VL on it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;My questions are:&lt;br /&gt;1. Is the way I replace 52811 with 52832 directly wrong? I checked the schema, the only differences of my board comparing the 52 DK are as following, pin 25/26, and ANT:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt="52dk" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WechatIMG706.jpg" /&gt;&lt;br /&gt;2. Is it possible the 52832 chip has something wrong?&lt;br /&gt;3. Is the radio power requirement for 52811 and 52832&amp;nbsp; the same?&lt;br /&gt;4. Which pin should I check to diagnose the problem?&lt;br /&gt;&lt;br /&gt;Thanks a lot!&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462146?ContentTypeID=1</link><pubDate>Sun, 31 Dec 2023 05:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c22cf61-659e-40a5-907d-246b946bdbef</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;The 52832 board can even scan other devices. But I just can&amp;#39;t see it on the NRF Connect app.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462145?ContentTypeID=1</link><pubDate>Sun, 31 Dec 2023 01:40:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdbe4a67-c2b5-4070-aee5-6e9a109bf3f8</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;To update the problem status. I have tried run different code. The board can run blinky sample, can retrieve data from sensor. The only problem is not advertising. I couldn&amp;#39;t find it from nrf connect app. I opened debug. There is NO any error message.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I also tried&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=y and&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;br /&gt;&lt;br /&gt;No advertising.&lt;br /&gt;&lt;br /&gt;Please give any advices. Its very urgent.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462130?ContentTypeID=1</link><pubDate>Fri, 29 Dec 2023 14:10:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a155967-cbe0-4753-b63d-7e1c89b7c184</guid><dc:creator>kfcube</dc:creator><description>&lt;p&gt;No the error only happened on the 52832 custom board after I replaced 52811 with 52832. Here&amp;nbsp;are&amp;nbsp; my questions, &lt;br /&gt;1. can I simply replace 52811 chip by 52832 chip on a same custom board? are they compatible each other?&amp;nbsp;&lt;br /&gt;2. Should I choose nrf52df_nrf52832 board while building the project?&lt;br /&gt;&lt;br /&gt;As far as proj, I just&amp;nbsp;use the zephyr sample peripheral_hr project.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bus fault after I replaced 52811 with 52832 on a custom board</title><link>https://devzone.nordicsemi.com/thread/462129?ContentTypeID=1</link><pubDate>Fri, 29 Dec 2023 13:56:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed5e5738-cbe9-41fa-8bf5-4c3a1366a958</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can&amp;#39;t see any obvious reasons for the hardfault based on the information given here. I also think it&amp;#39;s strange that you only see it on the board with nRF52811 but not with the&amp;nbsp;&lt;/span&gt;52832. It could be a programming error or deice corruption on your system. Can I look at your project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>