2007-11-23 05:42 PM
Please, someone could verify the cause of the errors?
2007-11-22 06:24 AM
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=false2007-11-23 05:42 PM
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