<?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>Other NXP Products中的主题 Re: Initialization of RTC PCA21125</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Initialization-of-RTC-PCA21125/m-p/936105#M7703</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;/P&gt;&lt;P&gt;There is no need to have the POR_OVRD bit&amp;nbsp; set to initialize or configure the RTC, this bit is used to immediately released the device from the reset state and the set-up operation can commence for cases where you require to start really quickly with the configuration.&lt;/P&gt;&lt;P&gt;Due to the long start-up times experienced by these types of circuits caused by the start-up of the crystal oscillator, a mechanism has been built in to disable the POR and hence speed up the on-board test of the device. This mechanism is the POR_OVRD bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default on the PCA21125, the POR_OVRD bit is set (‘1’), so, Power-On Reset Override sequence reception is enabled by default. The override mode can be cleared by writing logic 0 to bit POR_OVRD. Setting bit POR_OVRD logic 0 during normal operation is the recommended setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To configure the time (write to time registers), the SPI-bus needs to be initialized by an active HIGH chip enable signal CE and terminated by an inactive LOW signal.&lt;/P&gt;&lt;P&gt;The first byte transmitted is the command byte (see Table 40 and Figure 20).&lt;/P&gt;&lt;P&gt;Subsequent bytes are either data to be written or data to be read. Data is captured on the rising edge of the clock and transferred internally on the falling edge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command byte defines the address of the first register to be accessed and the read/write mode. The address counter will auto increment after every access and will reset to zero after the last valid register is accessed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About EXT_TEST bit, this bit should not be set for configuration, for normal operation, EXT_TEST bit should be ‘0’.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2019 20:12:23 GMT</pubDate>
    <dc:creator>reyes</dc:creator>
    <dc:date>2019-07-09T20:12:23Z</dc:date>
    <item>
      <title>Initialization of RTC PCA21125</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Initialization-of-RTC-PCA21125/m-p/936104#M7702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to&amp;nbsp;interface the PCA21125 RTC with the MPC5745R, through SPI.&amp;nbsp;I find it difficult to comprehend the initialization part of the&amp;nbsp;documentation for the RTC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please clarify if my understanding is correct? Steps for initialising the RTC.&lt;/P&gt;&lt;P&gt;1. Initialize the SPI as MASter&lt;/P&gt;&lt;P&gt;2. (Not sure part) Set the POR_OVRD bit. I would assume that the POR_OVRD bit would be set if a reset had occured already. I don't completely understand the connection between the POR_OVRD bit and the RF bit (in the seconds reigster).&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. If the POR_OVRD bit is set, this means the RTC is available for configuration. So then write the desired time registers. Then clear the POR_OVRD bit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this workflow correct? Also I would like to understand if the EXT_TEST bit should be set for configuration? I&amp;nbsp;understand/think that it is possible to re-configure/initialize when the RTC is running in normal mode itself. but just clarifying.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 12:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Initialization-of-RTC-PCA21125/m-p/936104#M7702</guid>
      <dc:creator>raghurajappa</dc:creator>
      <dc:date>2019-07-03T12:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Initialization of RTC PCA21125</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Initialization-of-RTC-PCA21125/m-p/936105#M7703</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;/P&gt;&lt;P&gt;There is no need to have the POR_OVRD bit&amp;nbsp; set to initialize or configure the RTC, this bit is used to immediately released the device from the reset state and the set-up operation can commence for cases where you require to start really quickly with the configuration.&lt;/P&gt;&lt;P&gt;Due to the long start-up times experienced by these types of circuits caused by the start-up of the crystal oscillator, a mechanism has been built in to disable the POR and hence speed up the on-board test of the device. This mechanism is the POR_OVRD bit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default on the PCA21125, the POR_OVRD bit is set (‘1’), so, Power-On Reset Override sequence reception is enabled by default. The override mode can be cleared by writing logic 0 to bit POR_OVRD. Setting bit POR_OVRD logic 0 during normal operation is the recommended setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To configure the time (write to time registers), the SPI-bus needs to be initialized by an active HIGH chip enable signal CE and terminated by an inactive LOW signal.&lt;/P&gt;&lt;P&gt;The first byte transmitted is the command byte (see Table 40 and Figure 20).&lt;/P&gt;&lt;P&gt;Subsequent bytes are either data to be written or data to be read. Data is captured on the rising edge of the clock and transferred internally on the falling edge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The command byte defines the address of the first register to be accessed and the read/write mode. The address counter will auto increment after every access and will reset to zero after the last valid register is accessed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About EXT_TEST bit, this bit should not be set for configuration, for normal operation, EXT_TEST bit should be ‘0’.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 20:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Initialization-of-RTC-PCA21125/m-p/936105#M7703</guid>
      <dc:creator>reyes</dc:creator>
      <dc:date>2019-07-09T20:12:23Z</dc:date>
    </item>
  </channel>
</rss>

