<?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: KSDK 2.0 Documentation Issues in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-2-0-Documentation-Issues/m-p/518563#M5413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've forwarded these comments to the development team. I'll ask them to review the UART documentation to ensure the proper consistency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updates are made to the source documentation, and you'd likely find the updates in the online documentation prior to a released package, but they will get updated as new releases are put out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2016 19:38:05 GMT</pubDate>
    <dc:creator>Jmart</dc:creator>
    <dc:date>2016-06-10T19:38:05Z</dc:date>
    <item>
      <title>KSDK 2.0 Documentation Issues</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-2-0-Documentation-Issues/m-p/518562#M5412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="color: #1f497d;"&gt;It appears that there are a number of discrepancies between the KSDK API Reference Manual &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcache.nxp.com%2Ffiles%2Fsoft_dev_tools%2Fdoc%2Fsupport_info%2FKSDK20APIRM.pdf%3Ffpsp%3D1%26WT_TYPE%3DReference%2520Manuals%26WT_VENDOR%3DFREESCALE%26WT_FILE_FORMAT%3Dpdf%26WT_ASSET%3DDocumentation%26fileExt%3D.pdf" rel="nofollow" target="_blank"&gt;documentation &lt;/A&gt;a&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;nd the actual KSDK code. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;For example, in the UART Driver section (page 1165 of Kinetis SDK v.2.0 API Reference Manual), it appears that the documentation correctly lists the actual API function for creating a UART handle:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&lt;SPAN style="color: black;"&gt;void &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;UART_TransferCreateHandle &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(UART_Type _base, uart_handle_t _handle, &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;uart_transfer_&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: blue; font-size: 8pt;"&gt;callback_t &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;callback, void _userData)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;EM&gt;Initializes the UART handle.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;The above information is consistent with the actual KSDK 2.0 driver code. However, the UART Driver overview section (page 53.2.1, pg.1158) in the same API reference manual clearly contradicts this by referencing the function UART_CreateHandle(), which seems &lt;STRONG&gt;not&lt;/STRONG&gt; to actually exist in KSDK 2.0 driver code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: NimbusRomNo9L-Regu;"&gt;&lt;EM&gt;The ring buffer size is specified when creating the handle. Note that one byte is reserved for the ring buffer &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: NimbusRomNo9L-Regu;"&gt;&lt;EM&gt;maintenance. When creating handle using the following code:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;UART_CreateHandle(&amp;amp;handle, UART0, &amp;amp;ringBuffer, 32);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;This non-&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;existent&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; function, &lt;SPAN style="font-family: 'courier new', courier;"&gt;UART_CreateHandle()&lt;/SPAN&gt;, is also referenced a number of times in the example code snippets listed in the documentation. For example:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #3a0699; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;53.2.2.3 UART Receive using the ringbuffer feature&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699; font-size: 10pt; font-family: 'courier new', courier;"&gt;UART_Init(UART1, &amp;amp;user_config, 120000000U); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699; font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #e23d39;"&gt;UART_CreateHandle&lt;/SPAN&gt;(&amp;amp;g_uartHandle, UART1, &amp;amp;ringBuffer, RING_BUFFER_SIZE); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699; font-size: 10pt; font-family: 'courier new', courier;"&gt;UART_SetTransferCallback(&amp;amp;g_uartHandle, UART_UserCallback, NULL);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;Can we expect incremental updates to the documentation to correct these kinds of issues?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 18:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-2-0-Documentation-Issues/m-p/518562#M5412</guid>
      <dc:creator>bradsundstrom</dc:creator>
      <dc:date>2016-06-10T18:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: KSDK 2.0 Documentation Issues</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-2-0-Documentation-Issues/m-p/518563#M5413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brad, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've forwarded these comments to the development team. I'll ask them to review the UART documentation to ensure the proper consistency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updates are made to the source documentation, and you'd likely find the updates in the online documentation prior to a released package, but they will get updated as new releases are put out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 19:38:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KSDK-2-0-Documentation-Issues/m-p/518563#M5413</guid>
      <dc:creator>Jmart</dc:creator>
      <dc:date>2016-06-10T19:38:05Z</dc:date>
    </item>
  </channel>
</rss>

