Skip to main content
Visitor II
November 24, 2007
Question

Please, someone could verify the cause of the errors?

  • November 24, 2007
  • 2 replies
  • 783 views
Posted on November 24, 2007 at 02:42

Please, someone could verify the cause of the errors?

    This topic has been closed for replies.

    2 replies

    lseletronAuthor
    Visitor II
    November 22, 2007
    Posted on November 22, 2007 at 15:24

    ok, I find the example code (AN1078), but... Originally written for the ST72

    I would like to use the ST7FLITEUS5, how to proceed to ''conversion''?

    Compiling getting 23 errors ...

    Please, someone could verify the cause of the errors?

    Attached the workspace and all the related asm files.

    Thanks to all

    [ This message was edited by: zsavov on 22-11-2007 20:30 ]

    ________________

    Attachments :

    AN1078.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Cx&d=%2Fa%2F0X0000000bVK%2FIeUGeBZz6CCu9gH6qlnk45lu29eHPNSrxi1ItbSkp20&asPdf=false
    Visitor II
    November 24, 2007
    Posted on November 24, 2007 at 02:42

    zsavov,

    the ST7ULTRALITE family is very different from the ST72251 micro for which the AN1078 was written.

    A ST7FLITEUS5 does not have a device such ST72251 Timer A.

    Therefore if you change only the include file, the code does not compile because the Timer A control registers are unknown.

    If you want to start with ST7FLITEUS5, you should read the ST7ULTRALITE application notes (e.g. AN2326) and the ST7FLUTEUS5 datasheet.

    Good study!

    EtaPhi