Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Bug in kinetis.h for Teensy 3.6?

  1. #1
    Junior Member
    Join Date
    Jan 2018
    Posts
    18

    Bug in kinetis.h for Teensy 3.6?

    There is the following define:
    #define DMAMUX_SOURCE_UART5_RXTX 11

    But in the docs for the DMA MUX page 473 it is marked as reserved:
    11 Reserved —

    A comment below the table says "1. Configuring a DMA channel to select source 0 or any of the reserved sources disables that DMA channel." so it's probably not tragic, still it might cause puzzling errors or might be used elsewhere in code already.

    In any case, a comment should be added in kinetis.h to make clear if the docs were revised or the info that this source module is actually valid was obtained elsewhere.

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,064
    I am pretty sure you are correct, as Teensy 3.6 does not have UART5, but Teensy 3.5 does (Serial6)

    On Teensy 3.6 Serial6 is implemented on LPUART0... LPUART has DMA sources on 58 and 59

    That is: #define DMAMUX_SOURCE_UART5_RXTX 11
    Is valid for T3.5 - as per page 95 of T3.5 hardware manual.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •