Home
        Errata Sheet
         Contents
1.    External Access Enable Pin EA   page 7 2     There is an obvious contradiction in this section  of course  the EA  input must be held low on  ROMless devices     Application Support Group  Munich    Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  11 of 11      
2.    Infineon    technologies       Microcontroller Components       Errata Sheet    March 30  2001   Release 1 0    Device  SAB C161K LM  SAF C161K LM    Stepping Code   Marking  ES HA  HA  Package  P MQFP 80 1       This Errata Sheet describes the deviations from the current user documentation  The  classification and numbering system is module oriented in a continual ascending sequence  over several derivatives  as well already solved deviations are included  So gaps inside this  enumeration could occur     The current documentation is  Data Sheet  C161K C1610 Data Sheet V2 0  2001 01  User s Manual  C161V K O User s Manual V1 0 12 96  C161K  Step FA  Specification Update 1998 12  Instruction Set Manual 12 97 Version 1 2    Note  Devices marked with EES  or ES are engineering samples which may not be  completely tested in all functional and electrical characteristics  therefore they should  be used for evaluation only     The specific test conditions for EES and ES are documented in a separate Status Sheet     Change summary to Errata Sheet Rel 1 1 for devices with stepping code marking   ES  FA   the following problems have been fixed     BUS 17  Spikes on CS  Lines after access with RDCS  and or WRCS    affects FA   steps only    BUS 18  PEC transfers after JMPR    CPU 17  Arithmetic Overflow by DIVLU instruction     the following items have been added modified     e BFLDL BFLDH Instructions after Write Operation to internal IRAM  CPU 21   e Application Hint    Handling of
3.    The Tasking support organization provides a v7 0r1 A166 Assembler  build 177  including a check for  problem CPU 21 with optional pec no_pec feature  This assembler version can also be used to check  code which was generated with previous versions of the Tasking tool chain  A v7 0r1 C166 Compiler   build 368  offering a workaround for problem CPU 21 is also available from Tasking     The scan tool aiScan21 analyzes files in hex format plus user supplied additional information  locator  map file  configuration file   checks whether they may be affected by problem CPU 21  and produces  diagnostic information about potentially critical instruction sequences  This tool is included in AP1628     Scanning for Problem CPU 21  on   http   www  infineon com cgi ecrm dll ecrm scripts prod_cat jsp 0id  8137       Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  5 of 11      Deviations from Electrical  and Timing Specification     The FA  and HA step of the C161K are tested according to the specification in the C161K C1610 Data  Sheet V2 0 2001 01  No deviations compared to this specification are known     Due to this new reference  AC problems AC t6 1  AC t22 1  AC t55 1 of the C161K AA step are  implicitly fixed in the FA  and HA step  see following table and History List      These three parameters are now specified as follows  Standard Supply Voltage Range  values for CPU  clock of 16 MHz are listed for easier comparison with previous Data Sheet      Symbol CPU C
4.   byte of BFLDx     mask   field of BFLDL or  data8 field of BFLDH  and the destination  address of the previous instruction or PEC transfer match in the following way      a  value of  mask8 of BFLDL or  data8 of BFLDH   OF yh  y   0  Fh    and the previous instruction or PEC writes to  the low and or high byte of  GPR Ry or the  memory address of Ry  determined by the context pointer CP  via any addressing mode     b  value of  mask8 of BFLDL or  data8 of BFLDH   00h  0EFh   and the lower byte v  of the contents v of the IRAM location or  E SFR or GPR which is read  by BFLDx is 00h  lt  v   lt  7Fh  and the previous instruction or PEC transfer writes to the  low and or high byte of  the specific  bit addressable IRAM location OFDOOh   2 v   i e  the 8 bit offset address of the location in the  bit addressable IRAM area  OFDOOh  OFDFFh  equals v       When the problem occurs  the actual result  all 16 bits  of the BFLDx instruction is bitwise ORed with  the  byte or word  result of the previous instruction or PEC transfer     Notes     Write operations in the sense of the problem description include implicit write accesses caused by      auto increment operations of the PEC source or destination pointers  which are located on  OFCEOh  0FCFEh in IRAM       post increment pre decrement operations on GPRs  addressing modes with  R   or   R       write operations on the system stack  which is located in IRAM      In case PEC write operations to IRAM locations which match the abo
5.  Another situation where a different system behaviour may be noticed is the case when only one  character is transferred by the PEC into the transmit buffer register SSCTB  In this case  2 interrupt  requests from SSCTIR are expected  the  PEC COUNT   0  interrupt  and the  SSCTB empty    interrupt       in the FA  and newer  steps of the C161K  the second interrupt request   SSCTB empty     is always  systematically generated before the first one     PEC COUNT   0   has been acknowledged by the  CPU  such that effectively only one interrupt request is generated for two different events       before step FA of the C161K  when the PEC transfer is performed with sufficient margin to the next  clock tick from the SSC baud rate generator  and no higher priority interrupt request has occurred  in the meantime  the  PEC COUNT   0  interrupt will be acknowledged before the  SSCTB empty   interrupt request is generated  i e  two interrupts will occur based on these events  However   when the PEC transfer takes place relatively close before the next clock tick from the SSC baud  rate generator  or a higher priority interrupt request has occurred while the PEC transfer is  performed  the  PEC COUNT   0   interrupt may not be acknowledged before the  SSCTB empty   interrupt request is generated  such that effectively only one interrupt request will be generated  for two different events     In order to achieve a defined and systematic behavior with all device steps  the SSC receive inte
6.  empty  the maximum delay between the time  SSCTB has been written and flag SSCTIR 1 is up to 1 2 bit time     Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  9of 11      b  beginning with step FA  internal stepping F12  of the C161K  when SSCTB has been written while  the transmit shift register was empty  and the SSC is enabled   flag SSCTIR is set to    1    directly  after completion of the write operation  independent of the selected baud rate  When the transmit  shift register is not empty when SSCTB was written  SSCTIR is set to  1  after the last latching edge  of SCLK    1 2 bit time before the first shifting edge of the next character   See also e g  C167CR  User s Manual V3 1  p  12 5     The following diagram shows these relations in an example for a data transfer in master mode with  SSCPO   0 and SSCPH   0  It is assumed that the transmit shift register is empty at the time the first  character is written to SSCTB     write to SSCTB  first character write to SSCTB  next character                SCLK ese       MTSR             a case  a   SSCTIR   1 in previous device steps    A case  b   SSCTIR   1 in current and future device steps    Typically  in interrupt driven systems  no problems are expected from the modified timing of flag  SSCTIR  However  when flag SSCTIR is polled by software in combination with other flags which are  set cleared at the end or at the beginning of a transfer  e g  SSCBSY   the modified timing may have an  effect    
7.  lt  20h      Workaround 1    When a critical instruction combination or PEC transfer to IRAM can occur  then substitute the BFLDx   instruction by    a  an equivalent sequence of single bit instructions  This sequence may be included in an  uninteruptable ATOMIC or EXTEND sequence to ensure completion after a defined time     b  an equivalent byte  or word MOV or logical instruction     Note that byte operations to SFRs always clear the non addressed complementary byte   Note that protected bits in SFRs are overwritten by MOV or logical instructions     Workaround 2    When a critical instruction combination occurs  and PEC write operations to IRAM locations which  match the above criteria  bit addressable or active register bank area  can be excluded  then  rearrange the BFLDx instruction within the instruction environment such that a non critical instruction  sequence is generated     Workaround 3   When a critical instruction combination or PEC transfer to IRAM can occur  then  replace the BFLDx instruction by the instruction sequence  ATOMIC  1  BFLDx    This means e g  when BFLDx was a branch target before  ATOMIC   1 is now the new branch  target     In case the BFLDx instruction is included at position nin an ATOMIC or EXTEND sequence with range  operator  m  n  m   2  4  n  lt  m   then  insert  repeat  the corresponding ATOMIC or EXTEND instruction at position n with range operator   z where z    m n    1    Poe   Range of original ATOMIC EXTEND statement    Positio
8.  the SSCBSY Flag  added    Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  1 of 11      e Reference to C161K C1610 Data Sheet V2 0  2001 01   e Links to Infineon Technologies Internet Pages updated   e Section  Functional Improvements Compatibility Aspects  extended  Timing of SSCTIR   Contents of IDCHIP    e Section  Documentation Update    added  Counter Mode for T5  Pin EA  for ROMless  devices     Functional Problems     PWRDN 1  Execution of PWRDN Instruction while pin NMI    high    When instruction PWRDN is executed while pin NMI  is at a high level  power down mode should not   be entered  and the PWRDN instruction should be ignored  However  under the conditions described   below  the PWRDN instruction may not be ignored  and no further instructions are fetched from   external memory  i e  the CPU is in a quasi idle state  This problem will only occur in the following   situations    a  the instructions following the PWRDN instruction are located in external memory  and a multiplexed  bus configuration with memory tristate waitstate  bit MTT Cx   0  is used  or   b  the instruction preceding the PWRDN instruction writes to external memory  and the instructions  following the PWRDN instruction are located in external memory  In this case  the problem will occur  for any bus configuration     Note  the on chip peripherals are still working correctly  in particular the Watchdog Timer will reset the  device upon an overflow  Interrupts and PEC transfer
9. ects  In the following sections  the functional improvements which have been implemented in the C161K  beginning with the FA step are described     1  The Bootstrap Loader Acknowledge Byte returned by FA HA step devices is D5h  AA step   B5h      2  The Address Window Arbitration feature as described in the C161V K O User s Manual V1 0   p 8 21 is implemented in C161K devices beginning with stepping code FA   Compatibility  systems designed for earlier steps of the C161K will also work with the FA HA step    3  The internal oscillator inverter  Type_RE  has been improved  It is compatible to external circuits  as described in ApNote 2420  Crystal Oscillators of the C500 and C166 Microcontroller Families    for  Type_R oscillator inverter  see table 14  page 34 in Rel  0 5   4 99  page numbers may be different  in previous releases    However  it is strongly recommended to verify the safety factor in the target  application  as described in this application note    Location of the ApNote on the Internet direct link to  pdf file     http   www  infineon com cgi ecrm dll ecrm scripts prod_cat jsp 0id  8137  http   www infineon com cmc_upload migrated_files document_files Application Notes ap242005 pdf          4  The General Purpose Timers additionally provide the Incremental Interface mode which allows to  interface to incremental position sensors  A  B  Top0   Optionally  the contents of T5 may be  captured into register CAPREL upon an event on T3  A detailed description of th
10. est according to C161K C1610 Data Sheet V2 0 2001 01       Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  7 of 11      Application Hints    Handling of the SSC Busy Flag  SSCBSY     In master mode of the High Speed Synchronous Serial Interface  SSC   when register SSCTB has  been written  flag SSCBSY is set to  1  when the baud rate generator generates the next internal clock  pulse  The maximum delay between the time SSCTB has been written and flag SSCBSY 1 is up to 1 2  bit time  SSCBSY is cleared 1 2 bit time after the last latching edge     When polling flag SSCBSY after SSCTB has been written  SSCBSY may not yet be set to  1  when it is  tested for the first time  in particular at lower baud rates   Therefore  e g  the following alternative  methods are recommended     1     test flag SSCRIR  receive interrupt request  instead of SSCBSY  in case the receive interrupt  request is not serviced by CPU interrupt or PEC   e g     loop  BCLR SSCRIR  clear receive interrupt request flag  MOV SSCTB  XYZ   send character  wait_tx_complete   JNB SSCRIR  wait_tx_complete  test SSCRIR  JB SSCBSY  wait_tx_complete  test SSCBSY to achieve original  timing SSCRIR may be set 1 2 bit  time before SSCBSY is cleared                    use a software semaphore bit which is set when SSCTB is written and is cleared in the SSC  receive interrupt routine    Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  8of 11     Functional Improvements Compatibility Asp
11. is feature is  included in the  Documentation Addendum  GPT Incremental Interface Mode V1 0 1998 10      5  Besides bit WDTR which indicates a watchdog timer reset  additional Reset Source Indication  Flags have been implemented in register WDTCON to signal other reset types  software reset   long short hardware reset   While in previous steps  only reset values 0000h or 0002h could occur in  register WDTCON  in the FA step further values may occur in the low byte of WDTCON  Unlike the  other reset source indication flags  WDTR is not cleared by instructions EINIT or SRST  Therefore   programs written for previous steps  which evaluate the contents of WDTCON directly after reset  and before execution of EINIT  may work differently on the FA HA step  The following table  summarizes the behaviour of the reset source indication flags     LHWR SHWR SWR WDTR  WDTCON 4   WDTCON 3   WDTCON 2   WDTCON 1  Long HW Reset 1 1 0   Short HW Reset    SRST instruction  WDT Reset   EINIT instruction  SRVWDT instruction    Legend  1   flag is set  0   flag is cleared      flag is not affected       6  Timing of flag SSCTIR  SSC Transmit Interrupt Request   In master mode  the timing of SSCTIR depends on the device step as follows      a  before step FA  internal stepping F11  of the C161K  flag SSCTIR is set to    1    synchronous to the  shift clock SCLK 1 2 bit time before the first latching edge    first shifting clock edge when SSCPH    0   When SSCTB is written while the shift register is
12. lock Variable CPU Clock    ae eel BE a   1  ara MHz    Address hold after t55  6 tf    6 tf   ns  RDCS   WRCS        The notes about the internal pull ups on pins P6  0 3   and the note about the test conditions for t28   which were contained in previous versions of the C161K Errata Sheet have been included in the  C161K C1610 Data Sheet V2 0 2001 01     Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  6 of 11      History List  since device step AA   Functional Problems    Functional   Short Description Fixed in  Problem step    CPU 7 Warm hardware reset  pulse length  lt  1032 TCL     CPU 8 Jump instructions in EXTEND sequence  CPU 9 PEC Transfers during instruction execution from Internal RAM            CPU 11 Stack Underflow Trap during restart of interrupted Multiplication    CPU 17 Arithmetic Overflow by DIVLU instruction    CPU 21 BFLDLIH Instructions after Write Operation to internal IRAM  steps FA or  higher     FA  BUS 17 Spikes on CS  Lines after access with RDCS  and or WRCS   FA step   HA    only     BUS 18 PEC transfers after JMPR    PWRDN 1__  Execution of PWRDN Instruction while pin NMI    high    RST 1 System Configuration via POL O during Software Watchdog Timer Reset    AC DC Deviations    AC DC Short Description Fixed in  Deviation step    DC RRST 1   RSTIN pull up 25 to 125 KQ   ca      AC t6 1 Address setup to ALE TCL 17 5 ns   FA       AC t22 1 Data valid to WR  2TCL 20ns  AC t55 1 Address hold after RDCS   WRCS   10ns   cA           t
13. n of BFLDx 1 3 4  EXT   sequence   workaround workaround workaround workaround  fs atest Zs    an   eg  ee  fe ee        Ne             case can not occur    Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  4o0f 11      Tool Support for Problem CPU 21    The Keil C166 Compiler V3 xx generates BFLD instructions only in the following cases   when using the _ bfld_ intrinsic function   at the beginning of interrupt service routines  when using  pragma disable  at the end of interrupt service routines  when using the chip bypass directive FIX166     The C166 Compiler V4 xx uses the BFLD instruction to optimize bit field struct accesses  Release  C166 V4 10 offers a new directive called FIXBFLD that inserts an ATOMIC  1 instruction before every  BFLD instruction that is not enclosed in an EXTR sequence  Detailed information can be found in the  C166 HLP RELEASE  TXT of C166 Version 4 10     The C166 Run Time Library for C166 V3 xx and V4 xx uses BFLD instructions only in the  START167 A66 file  This part of the code should be not affected by the CPU 21 problem but should be  checked by the software designer     The RTX166 Full Real Time Operating system  any version  does not use BFLD instructions    For RTX166 Tiny  you should rebuild the RTX166 Tiny library with the SET FIXBFLD   1 directive  This  directive is enabled in the assembler source file RTX166T A66  After change of this setting rebuild the  RTX166 Tiny library that you are using in your application  
14. rrupt   which is generated at the end of a character transmission  may be used instead of the SSC transmit  interrupt     7  The contents of register IDCHIP for the HA step is 0513h     Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh   10 of 11      Documentation Update  reference  C161V K O User s Manual V1 0 12 96   Counter Mode for T5  page 9 20 ff      The C161V K O manual V1 0 12 96 states that only timer mode can be selected for T5 in control field  T5M in register TSCON  Of course also    counter mode    is possible when the transitions of T6OTL which  are caused by over  undeflows of T6 are used to clock T5  see figure on page 9 22   Counter Mode in  this context is selected via T5M   01b  Edge selection is performed via bit field T5I     101b  positive transition  0 1  of TEOTL   110b  negative transition  1 0  of TEOTL   111b  any transition of TEOTL   Please note that several figures  adopted from the C167 manual  in the chapter about GPT2 in the  current C161V K O manual contain references to pins which are not available on the C161O K devices   These references will be corrected  eliminated  in the next revision of the manual  The C161PI manual  V1 0 already includes an updated GPT2 chapter  You may access it on    http   www  infineon com cgi ecrm dll ecrm scripts prod_cat jsp 0id  8137  by clicking on C161PI RI    and then scroll down to User s Manual  or directly via  http   www  infineon com cmc_upload 0 000 011 711 c161pi um _v10 pdf       
15. s  however  can not be processed  In case NMI   is asserted low while the device is in this quasi idle state  power down mode is entered     Workaround     Ensure that no instruction which writes to external memory precedes the PWRDN instruction  otherwise  insert e g  a NOP instruction in front of PWRDN  When a muliplexed bus with memory tristate waitstate  is used  the PWRDN instruction should be executed out of internal RAM     Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  2of 11     CPU 21 BFLDL BFLODH Instructions after Write Operation to internal IRAM    The result of a BFLDL BFLDH   BFLDx  instruction may be incorrect if the following conditions are true  at the same time      1  the previous    instruction    is a PEC transfer which writes to IRAM  or any instruction with result write  back to IRAM  addresses OF200h  0FDFFh for 3 Kbyte module  OF600h  0FDFFh for 2 Kbyte  module  or OFAOOh  OFDFFh for 1 Kbyte module   For further restrictions on the destination  address see case  a  or case  b  below      2  the BFLDx instruction immediately follows the previous instruction or PEC transfer within the  instruction pipeline     back to back  execution   i e  decode phase of BFLDx and execute phase of  the previous instruction or PEC transfer coincide  This situation typically occurs during program  execution from internal program memory  ROM OTP Flash   or when the instruction queue is full  during program execution from external memory     3  the 3 
16. ve criteria  bit addressable or  active register bank area  PEC pointers not overlapping with register bank area  can be excluded  the  problem will not occur when the instruction preceding BFLDx in the dynamic flow of the program is one  of the following instructions  which do not write to IRAM      NOP   ATOMIC  EXTx   CALLA CALLI JBC JNBS when branch condition   false  JMPx  JB  JNB   RETx  except RETP    CMP B   except addressing mode with  Rwi     BCMP  MULx  DIVx   IDLE  PWRDN  DISWDT  SRVWDT  EINIT  SRST    For implicit IRAM write operations caused by auto increment operations of the PEC source or  destination pointers  the problem can only occur if the value of  mask8 of BFLDL or  data8 of  BFLDH   OF yh  y   0  Fh   and the range which is covered by the context pointer CP  partially or  completely  overlaps the PEC source and destination pointer area  OFCEOh  OFCFEh   and the  address of the source or destination pointer which is auto incremented after the PEC transfer is equal  to the address of GPR Ry  included in case 3a     Microcontroller Division Errata Sheet  C161K LM   ES  HA  1 0  Mh  3 of 11      For system stack write operations  the problem can only occur if the system stack is located in the  bit addressable portion of IRAM  OFDOOh  0FDFFh   or if the system stack can overlap the register  bank area  i e  the register bank area is located below the system stack  and the distance between the  contents of the context pointer CP and the stack pointer SP is 
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Gauger420 User Manual - SOLID APPLIED TECHNOLOGIES LTD  Henny Penny OEA-342 User's Manual  Whirlpool W5CE3625AB Use and Care Manual  P2P IPCAM User Manual  181 Soutpansberg Road    Thule 3 Bike Carrier 960 Freeway User's Manual  PV-10072015  Installation Guide  Biomapper 3 user's manual    Copyright © All rights reserved. 
   Failed to retrieve file