infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 5 of 5

Thread: IRMCK099M custom GPIO functions

  1. #1
    New Member New Member Matteo_ELT is on a distinguished road
    Join Date
    Aug 2016
    Posts
    1
    Points
    47.5

    IRMCK099M custom GPIO functions

    Hello,

    we bought the evaluation board EVALM1099MTOBO1 with IRMCK099M a couple of days ago and could run the motor perfectly.

    We would like to use this MCIC for our sensorless application since it is very simple to use and doesn't need more than programming the OTP once the motor configuration is done.
    For our application, we would also need to program one of the not-used GPIOs as feedback outputs to drive a LED that indicates some fault states of the motor
    (for example: off with no faults, on when rotor is locked, blinking when thermal shutdown is on).

    From the application guide I read there are some "free" GPIO pins (for example OUT1 and OUT3), whose functions depend of the provided FW.

    Question: how can we manage those pins to run the above function?

  2. #2
    New Member New Member
    Infineon Employee
    Infineon Employee
    Luxun is on a distinguished road
    Join Date
    May 2015
    Posts
    18
    Points
    207.5
    Hello,

    The page 61 of Application Guide describes the OUT1 and OUT3 (see below). The register value from 0 to 7 corresponds each bit value of OUT1 (LSB), OUT2 (bit position 1) and OUT3 (bit position 2). Value “1” to turn on OUT1 and “0” to turn off OUT1 and OUT3, while value “4” to turn on OUT3.
    Click image for larger version

Name:	Miscellaneous-Register-Group-Out1_3_value.png
Views:	2
Size:	58.9 KB
ID:	2540

    Please be aware that in order to control those three outputs, in your system, you need a master controller communicating with IRMCK099 through UART command.

    Best regards
    Luxun Liu

  3. #3
    Beginner Beginner CaseyH is on a distinguished road
    Join Date
    Sep 2016
    Posts
    2
    Points
    50
    Where can I find the IRCK099 application guide?

  4. #4
    Beginner Beginner CaseyH is on a distinguished road
    Join Date
    Sep 2016
    Posts
    2
    Points
    50
    Hello Matteo:
    We bought the Eval_M1_99M and Eval_M1_36_84A.
    We also downloaded and installed all the necessary SW. When I start the XMC_flasher , it said "Please first connect an emulator". I followed what the MADK instruction exactly in selecting the XMC1302-0200, but still can't get the Flasher to connect.
    I don't see a selection for the IRMCK099.
    How do you get it to work so easily?

  5. #5
    New Member New Member infineon-ee is on a distinguished road
    Join Date
    Apr 2017
    Posts
    3
    Points
    33.75
    Hi all,
    I still have problem on IRMCK099 GPIO pins.
    I write "5" into OUT1_3_value .
    GPIO1 and GPIO3 should be turned on, but only GPIO1 is turned on which means only GPIO1 follow my command.
    No matter I write "4" or "5" into OUT1_3_value, GPIO3 doesn't follow my command.
    I do follow the instructions and I try to either left GPIO3 floating or pull high to 3.3V, but both of them don't work.
    Click image for larger version

Name:	Capture1.GIF
Views:	0
Size:	8.4 KB
ID:	2948
    Click image for larger version

Name:	Capture2.GIF
Views:	0
Size:	25.3 KB
ID:	2949
    Can anyone answer my questions?
    1. Is anything I did wrong on GPIO pins?
    2. Is there any register that I can set GPIO pins' direction such as GPIO1 as IN1 (input1)?
    Please advise. Thanks.

+ Reply to 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.