<?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>LPC Microcontrollers中的主题 Re: Auto Baud rate interrupt not occurring</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Auto-Baud-rate-interrupt-not-occurring/m-p/947922#M37677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe your UART1 module register configuration has issue. Firstly, pls&amp;nbsp; use mode 1 by setting the MODE bit in ACR register, in the case, the length of the start bit is measured. Secondly, you have to send ascii character A or a, the LSB of the character is 1 so that you can test the Start bit width. BTW, you have to set the DLAB bit in LCR so that the DLLSB/DLMSB registers can be rewritten automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;furthermore, pls set the ACR,&amp;nbsp; IER and check the IIR register.&lt;/P&gt;&lt;P&gt;Anyway, we use the Auto-baud feature infrequently, so we have not code.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;40.7.2 Auto-baud modes&lt;BR /&gt;When the software is expecting an ”AT" command, it configures the USART with the&lt;BR /&gt;expected character format and sets the ACR Start bit. The initial values in the divisor&lt;BR /&gt;latches DLM and DLM don‘t care. Because of the ”A" or ”a" ASCII coding (”A" = 0x41,&lt;BR /&gt;”a" = 0x61), the USART Rx pin sensed start bit and the LSB of the expected character are&lt;BR /&gt;delimited by two falling edges. When the ACR Start bit is set, the auto-baud protocol will&lt;BR /&gt;execute the following phases:&lt;BR /&gt;1. On ACR Start bit setting, the baud rate measurement counter is reset and the USART&lt;BR /&gt;RSR is reset. The RSR baud rate is switched to the highest rate.&lt;BR /&gt;2. A falling edge on USART Rx pin triggers the beginning of the start bit. The rate&lt;BR /&gt;measuring counter will start counting USART_PCLK cycles.&lt;BR /&gt;3. During the receipt of the start bit, 16 pulses are generated on the RSR baud input with&lt;BR /&gt;the frequency of the USART input clock, guaranteeing the start bit is stored in the&lt;BR /&gt;RSR.&lt;BR /&gt;4. During the receipt of the start bit (and the character LSB for Mode = 0), the rate&lt;BR /&gt;counter will continue incrementing with the pre-scaled USART input clock&lt;BR /&gt;(USART_PCLK).&lt;BR /&gt;5. If Mode = 0, the rate counter will stop on next falling edge of the USART Rx pin. If&lt;BR /&gt;Mode = 1, the rate counter will stop on the next rising edge of the USART Rx pin.&lt;BR /&gt;6. The rate counter is loaded into DLM/DLL and the baud rate will be switched to normal&lt;BR /&gt;operation. After setting the DLM/DLL, the end of auto-baud interrupt IIR ABEOInt will&lt;BR /&gt;be set, if enabled. The RSR will now continue receiving the remaining bits of the ”A/a"&lt;BR /&gt;character.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2019 09:23:19 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2019-07-08T09:23:19Z</dc:date>
    <item>
      <title>Auto Baud rate interrupt not occurring</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Auto-Baud-rate-interrupt-not-occurring/m-p/947921#M37676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; background: white;"&gt;As we mentioned earlier, we are using LPC4357 and UART1 is connected to an embedded Ethernet module&lt;/SPAN&gt;. We have set UART1 baud rate to 115200 and enabled the auto baud rate capability. To test the auto baud rate capability, we have set the baud rate of ethernet module UART to 57600. We thought in this case, LPC automatically lowers UART1 baud rate to 57600 and auto baud rate interrupt should occur. Auto baud rate interrupt is not occurring, so we are not receiving correctly. Any idea why auto baud rate interrupt is not occurring? When both side baud rate is set to &amp;nbsp;115200 or 57600, communication works properly.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2019 16:32:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Auto-Baud-rate-interrupt-not-occurring/m-p/947921#M37676</guid>
      <dc:creator>ssudhir</dc:creator>
      <dc:date>2019-07-05T16:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Baud rate interrupt not occurring</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Auto-Baud-rate-interrupt-not-occurring/m-p/947922#M37677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe your UART1 module register configuration has issue. Firstly, pls&amp;nbsp; use mode 1 by setting the MODE bit in ACR register, in the case, the length of the start bit is measured. Secondly, you have to send ascii character A or a, the LSB of the character is 1 so that you can test the Start bit width. BTW, you have to set the DLAB bit in LCR so that the DLLSB/DLMSB registers can be rewritten automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;furthermore, pls set the ACR,&amp;nbsp; IER and check the IIR register.&lt;/P&gt;&lt;P&gt;Anyway, we use the Auto-baud feature infrequently, so we have not code.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;40.7.2 Auto-baud modes&lt;BR /&gt;When the software is expecting an ”AT" command, it configures the USART with the&lt;BR /&gt;expected character format and sets the ACR Start bit. The initial values in the divisor&lt;BR /&gt;latches DLM and DLM don‘t care. Because of the ”A" or ”a" ASCII coding (”A" = 0x41,&lt;BR /&gt;”a" = 0x61), the USART Rx pin sensed start bit and the LSB of the expected character are&lt;BR /&gt;delimited by two falling edges. When the ACR Start bit is set, the auto-baud protocol will&lt;BR /&gt;execute the following phases:&lt;BR /&gt;1. On ACR Start bit setting, the baud rate measurement counter is reset and the USART&lt;BR /&gt;RSR is reset. The RSR baud rate is switched to the highest rate.&lt;BR /&gt;2. A falling edge on USART Rx pin triggers the beginning of the start bit. The rate&lt;BR /&gt;measuring counter will start counting USART_PCLK cycles.&lt;BR /&gt;3. During the receipt of the start bit, 16 pulses are generated on the RSR baud input with&lt;BR /&gt;the frequency of the USART input clock, guaranteeing the start bit is stored in the&lt;BR /&gt;RSR.&lt;BR /&gt;4. During the receipt of the start bit (and the character LSB for Mode = 0), the rate&lt;BR /&gt;counter will continue incrementing with the pre-scaled USART input clock&lt;BR /&gt;(USART_PCLK).&lt;BR /&gt;5. If Mode = 0, the rate counter will stop on next falling edge of the USART Rx pin. If&lt;BR /&gt;Mode = 1, the rate counter will stop on the next rising edge of the USART Rx pin.&lt;BR /&gt;6. The rate counter is loaded into DLM/DLL and the baud rate will be switched to normal&lt;BR /&gt;operation. After setting the DLM/DLL, the end of auto-baud interrupt IIR ABEOInt will&lt;BR /&gt;be set, if enabled. The RSR will now continue receiving the remaining bits of the ”A/a"&lt;BR /&gt;character.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 09:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Auto-Baud-rate-interrupt-not-occurring/m-p/947922#M37677</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2019-07-08T09:23:19Z</dc:date>
    </item>
  </channel>
</rss>

