<?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: MC33771c TPL communication in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2369482#M5419</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Customer: AARTRONIX INNOVATIONS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;End Customer: AAROHI EMBEDDED SYSTEM PVT LTD&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;End Application: UPS Battery backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Country: India&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Annual Volume:1000&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2026 10:20:29 GMT</pubDate>
    <dc:creator>Miral</dc:creator>
    <dc:date>2026-05-21T10:20:29Z</dc:date>
    <item>
      <title>MC33771c TPL communication</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2369103#M5411</link>
      <description>&lt;P&gt;The communication works correctly with the MC33771B using a specific implementation and BCC library. I can successfully send commands and receive valid response frames.&lt;/P&gt;&lt;P&gt;However, when I use the same communication code and only replace the BCC library/configuration for the MC33771C, I receive only the echo frame and no valid response from the device.&lt;/P&gt;&lt;P&gt;The SPI/TPL timing, frame format, and hardware connections remain the same. The wake-up sequence and INIT sequence are also implemented.&lt;/P&gt;&lt;P&gt;Has anyone experienced this issue with MC33771C?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;bcc_status_t BCC_MCU_TransferTpl(uint8_t drvInstance, uint8_t transBuf[], uint8_t recvBuf[], uint16_t recvTrCnt)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;uint16_t recvSize;&lt;/P&gt;&lt;P&gt;if(recvTrCnt &amp;gt; 0)&lt;/P&gt;&lt;P&gt;recvSize = (recvTrCnt - 1) * 6U;&lt;/P&gt;&lt;P&gt;else recvSize = 6U;&lt;/P&gt;&lt;P&gt;HAL_SPI_DeInit(&amp;amp;hspi2);&lt;/P&gt;&lt;P&gt;HAL_Delay(2);&lt;/P&gt;&lt;P&gt;HAL_SPI_Init(&amp;amp;hspi2);&lt;/P&gt;&lt;P&gt;memset(recvBuf, 0, sizeof(&amp;amp;recvBuf));&lt;/P&gt;&lt;P&gt;HAL_GPIO_WritePin(CS_TX_GPIO_Port, CS_TX_Pin, GPIO_PIN_RESET); HAL_SPI_Receive_IT(&amp;amp;hspi2, recvBuf, 6);&lt;/P&gt;&lt;P&gt;rxflag = 0;&lt;/P&gt;&lt;P&gt;if(HAL_SPI_Transmit_IT(&amp;amp;hspi1, transBuf, 6) != HAL_OK)&lt;/P&gt;&lt;P&gt;{ HAL_GPIO_WritePin(CS_TX_GPIO_Port, CS_TX_Pin, GPIO_PIN_SET);&lt;/P&gt;&lt;P&gt;return BCC_STATUS_PARAM_RANGE;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;BCC_MCU_WaitUs(5);&lt;/P&gt;&lt;P&gt;if(spi2_rx_done == 1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;HAL_SPI_Receive_IT(&amp;amp;hspi2, recvBuf, recvSize);&lt;/P&gt;&lt;P&gt;spi2_rx_done = 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;HAL_GPIO_WritePin(CS_TX_GPIO_Port, CS_TX_Pin, GPIO_PIN_SET);&lt;/P&gt;&lt;P&gt;return BCC_STATUS_SUCCESS;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;int MC33771_Init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;HAL_GPIO_WritePin(EN_GPIO_Port, EN_Pin, GPIO_PIN_RESET);&lt;/P&gt;&lt;P&gt;HAL_Delay(1);&lt;/P&gt;&lt;P&gt;HAL_GPIO_WritePin(EN_GPIO_Port, EN_Pin, GPIO_PIN_SET);&lt;/P&gt;&lt;P&gt;HAL_Delay(10);&lt;/P&gt;&lt;P&gt;g_bccConfig.drvInstance = 0;&lt;/P&gt;&lt;P&gt;g_bccConfig.commMode = BCC_MODE_TPL;&lt;/P&gt;&lt;P&gt;g_bccConfig.devicesCnt = 1;&lt;/P&gt;&lt;P&gt;g_bccConfig.device&lt;SPAN class=""&gt;[0]&lt;/SPAN&gt; = BCC_DEVICE_MC33771C;&lt;/P&gt;&lt;P&gt;g_bccConfig.cellCnt&lt;SPAN class=""&gt;[0]&lt;/SPAN&gt; = 14;&lt;/P&gt;&lt;P&gt;status = BCC_Init(&amp;amp;g_bccConfig);&lt;/P&gt;&lt;P&gt;if(status != BCC_STATUS_SUCCESS)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;return (int)status;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;if(hspi-&amp;gt;Instance == SPI2)&lt;/P&gt;&lt;P&gt;spi2_rx_done = 1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;static void MX_SPI1_Init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;hspi1.Instance = SPI1;&lt;/P&gt;&lt;P&gt;hspi1.Init.Mode = SPI_MODE_MASTER;&lt;/P&gt;&lt;P&gt;hspi1.Init.Direction = SPI_DIRECTION_2LINES;&lt;/P&gt;&lt;P&gt;hspi1.Init.DataSize = SPI_DATASIZE_8BIT;&lt;/P&gt;&lt;P&gt;hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;&lt;/P&gt;&lt;P&gt;hspi1.Init.CLKPhase = SPI_PHASE_2EDGE;&lt;/P&gt;&lt;P&gt;hspi1.Init.NSS = SPI_NSS_SOFT;&lt;/P&gt;&lt;P&gt;hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_8;&lt;/P&gt;&lt;P&gt;hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;&lt;/P&gt;&lt;P&gt;hspi1.Init.TIMode = SPI_TIMODE_DISABLE;&lt;/P&gt;&lt;P&gt;hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;&lt;/P&gt;&lt;P&gt;hspi1.Init.NSSPMode = SPI_NSS_PULSE_ENABLE;&lt;/P&gt;&lt;P&gt;if(HAL_SPI_Init(&amp;amp;hspi1) != HAL_OK)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Error_Handler();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;static void MX_SPI2_Init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;hspi2.Instance = SPI2;&lt;/P&gt;&lt;P&gt;hspi2.Init.Mode = SPI_MODE_SLAVE;&lt;/P&gt;&lt;P&gt;hspi2.Init.Direction = SPI_DIRECTION_2LINES_RXONLY;&lt;/P&gt;&lt;P&gt;hspi2.Init.DataSize = SPI_DATASIZE_8BIT;&lt;/P&gt;&lt;P&gt;hspi2.Init.CLKPolarity = SPI_POLARITY_LOW;&lt;/P&gt;&lt;P&gt;hspi2.Init.CLKPhase = SPI_PHASE_2EDGE;&lt;/P&gt;&lt;P&gt;hspi2.Init.NSS = SPI_NSS_HARD_INPUT;&lt;/P&gt;&lt;P&gt;hspi2.Init.FirstBit = SPI_FIRSTBIT_MSB;&lt;/P&gt;&lt;P&gt;hspi2.Init.TIMode = SPI_TIMODE_DISABLE;&lt;/P&gt;&lt;P&gt;hspi2.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;&lt;/P&gt;&lt;P&gt;hspi2.Init.NSSPMode = SPI_NSS_PULSE_DISABLE;&lt;/P&gt;&lt;P&gt;if(HAL_SPI_Init(&amp;amp;hspi2) != HAL_OK)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Error_Handler();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 04:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2369103#M5411</guid>
      <dc:creator>Miral</dc:creator>
      <dc:date>2026-05-21T04:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: MC33771c TPL communication</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2369464#M5417</link>
      <description>&lt;P&gt;Dear Miral,&lt;/P&gt;
&lt;P&gt;I need to contact Software engineer for your issue. Please share following information about your project. They always require the information.&amp;nbsp;&lt;/P&gt;
&lt;P class="x_elementToProof"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN data-olk-copy-source="MessageBody"&gt;Customer: AARTRONIX INNOVATIONS&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_elementToProof"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;End Customer: ? (can be also AARTRONIX INNOVATIONS)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_elementToProof"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;End Application: ?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_elementToProof"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Country: India&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="x_elementToProof"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Annual Volume: ?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;With Best Regards,&lt;/P&gt;
&lt;P&gt;Jozef&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 09:52:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2369464#M5417</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2026-05-21T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: MC33771c TPL communication</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2369482#M5419</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Customer: AARTRONIX INNOVATIONS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;End Customer: AAROHI EMBEDDED SYSTEM PVT LTD&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;End Application: UPS Battery backup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Country: India&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Annual Volume:1000&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 10:20:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2369482#M5419</guid>
      <dc:creator>Miral</dc:creator>
      <dc:date>2026-05-21T10:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: MC33771c TPL communication</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2370557#M5424</link>
      <description>&lt;P&gt;Dear Miral,&lt;/P&gt;
&lt;P&gt;please see below an answer from the application engineer. Please share a scope as requested.&lt;/P&gt;
&lt;P&gt;DESCRIPTION&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;It would really help if the customer could get a scope trace or Saleae output of the transmissions to really see what is going on.&amp;nbsp; Note that the MC33771B is TPL1 (40-bit) and MC33771C is TPL2 (48-bit).&amp;nbsp; Also, the customer can reference the MC33771C SDK attached.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;With Best Regards,&lt;/P&gt;
&lt;P&gt;Jozef&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2026 04:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MC33771c-TPL-communication/m-p/2370557#M5424</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2026-05-25T04:06:36Z</dc:date>
    </item>
  </channel>
</rss>

