Skip to main content
waclawek.jan
Super User
August 28, 2017
Question

[OTG + documentation] global NAK clear

  • August 28, 2017
  • 3 replies
  • 854 views
Posted on August 28, 2017 at 16:44

More.

The description of global NAKclearing for both IN and OUT is a mess reoccurring in several places - in the description of four set/clear bits in DCTL, in the narrative in several subchapters of Operational model chapter, in description of GONAKEFF/GINAKEFF in GINTSTS. Sometimes they are said to be cleared by 'writing to CGxNAK' (which should probably read as 'writing 1 to CGxNAK' - all four bits in DCTL are probably 'read 0, write 0 ignored, write 1 causes action'), sometimes by 'clearing CGxNAK', sometimes by 'clearing SGxNAK'. There is a bizarre mess at one point in the Operational model chapter, where the text calls for ' clear the SGONAK bit in OTG_FS_DCTL', and pseudocode below that reads 'OTG_FS_DCTL = 1 in CGONAK'...

Seriously?

JW

    This topic has been closed for replies.

    3 replies

    Khouloud GARSI
    ST Employee
    September 13, 2017
    Posted on September 13, 2017 at 16:06

    Hello Jan,

    To clear/set the Global IN/OUT NAK, writing '1' in the CGXNAK/SGONAK is needed.

    This precision will be added to the description of those bits on the reference manual.

    Khouloud.

    waclawek.jan
    Super User
    October 2, 2017
    Posted on October 02, 2017 at 10:27

    In RM0090, GONAKEFF (a OTG_FS_GINTSTS bit) is in two instances misspelled as GOUTNAKEFF.

    JW

    Khouloud GARSI
    ST Employee
    October 2, 2017
    Posted on October 02, 2017 at 17:36

    Hi Jan,

    This issue was already reported and will be fixed on next versions of the reference manuals.

    Many thanks.

    Khouloud.