infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 3 of 3

Thread: ERU cant trigger TRAP function - XMC bug

  1. #1
    enigmaldc
    Guest

    ERU cant trigger TRAP function - XMC bug

    Hi All,

    setup : xmc1300 kit + DAVE 4.

    I have two digital inputs connected to the ERU unit and then performing an logical AND. This signal I want to use for the TRAP signal into the CCU8. Everything compiles, without errors nor warnings, but the TRAP functionality obviously does not work as it should.

    I have attached code showing the XMC failure to combine the ERU with TRAP functionality.

    Code overview:
    - DIO_PWM1_H0, P2.4 -> Connects to ED_PWM1_H, signal a
    - DIO_PWM1_H1, P2.2 -> Connects to ED_PWM1_H, signal b
    - DIO_PWM1_T1, P2.5 -> Connects to ED_TRAP, signal a
    - DIO_PWM1_T2, P2.1 -> Connects to ED_TRAP, signal b
    - PWM_CCU8_0, P0.0

    * ED_PWM1_H (logical AND)- starts the PWM on event0 - This works
    * ED_TRAP (logical AND) - should perform trap on event2 - This just fails

    If anyone can comment on the ERU unit and the TRAP functionality that would be useful. For now it seems that there is a bug somewhere in the hardware.

    Regards
    Enigma
    ?????

  2. #2
    enigmaldc
    Guest

    Further fail of ERU and TRAP

    Hi All,

    Here is an even simpler example of not being able to use the ERU and TRAP together.

    Same setup as before.

    Code (see attached):
    - DIO_IN - P 2.4, connected to the event detector
    - DIO_OUT - P0.0, the OGU pdout is connected to this pin

    Idea : P0.0 should have the same signal as on P2.4. (Simple test)
    Result : The ERU fails to produce the correct trap signal.

    Regards
    Enigma
    ?????

  3. #3

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    639
    Hi,

    Please have a look to the attached project.
    Click image for larger version

Name:	xmc1300_trap.png
Views:	20
Size:	15.3 KB
ID:	2061

    The level of the potentiometer in the XMC1300 bootkit switches on/off the LED on P0_0.

    Best regards,
    Jesus
    ?????
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.