Advice for wiring + voltage of a gpio 3V3 or 5V

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
hassna
Level 2
Level 2
25 sign-ins 10 replies posted 5 likes given

Hello, 

I am new with programming and with AURIX™ TC3x7 and TC3x4 Evaluation Kits and I have some questions:

1- I found that all the GPIO have an internal pull-up resistor (please check the screenshot attached). My question is whether it is connected to 3V3 or 5V? and if I need for example need to control a push button that requires 24VDC, how can I connect it?

2- How to configure a GPIO as tristate or pull-up with software?

3- The TC3x7 and TC3x4 Evaluation Kits contain an acoustic beeper. I would like to know if any connection should be done by hardware and how to configure it by software.

4- For the kits that contain a TFT(Touch screen), is it possible to disactivate the touch screen option and use it like a display to see only messages ?

5- I need to connect a 24VDC led to the kit, VCC_IN can power the LED, but to monitor the led (ON/OFF), does it require to add a transistor or a mosfet?

6- To wire leds and buttons to an Evaluation Board using a breadBord seems easy, but how to do it if the system should be used in an industrial  environment without designing a PCB?

Looking for your advices and thanks in advance.

 

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Dear hassna,

For, 2/3/4, you could download the source code of Application_Kit_TC397B_V2.0.0, where you will see the code example to initialize BEEP/TOUCH/TFT etc. You can disable TOUCH with TFT enabled. You can also use BEEP as the demo code showed. The entry function is as below:

 

#if CPU_WHICH_SERVICE_BEEPER == 0
    /* initialize Acoustic Transducer */
    beeper_init();
#endif

 

 for 5), yes, as VCC_IN is only for power, the MCU needs a GPIO to get status of LED which can be a control pin for that LED.

The source code is downloaded from

https://myicp.infineon.com/sites/microcontrollers-aurix_customer_doc/SitePages/default.aspx?RootFold...

https://www.infineon.com/dgdl/Infineon-MyICP_Guide_registration_for_customers-ATI-v01_00-EN.pdf?file...

dw

 

 

View solution in original post

0 Likes
2 Replies
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Dear hassna,

For, 2/3/4, you could download the source code of Application_Kit_TC397B_V2.0.0, where you will see the code example to initialize BEEP/TOUCH/TFT etc. You can disable TOUCH with TFT enabled. You can also use BEEP as the demo code showed. The entry function is as below:

 

#if CPU_WHICH_SERVICE_BEEPER == 0
    /* initialize Acoustic Transducer */
    beeper_init();
#endif

 

 for 5), yes, as VCC_IN is only for power, the MCU needs a GPIO to get status of LED which can be a control pin for that LED.

The source code is downloaded from

https://myicp.infineon.com/sites/microcontrollers-aurix_customer_doc/SitePages/default.aspx?RootFold...

https://www.infineon.com/dgdl/Infineon-MyICP_Guide_registration_for_customers-ATI-v01_00-EN.pdf?file...

dw

 

 

0 Likes
hassna
Level 2
Level 2
25 sign-ins 10 replies posted 5 likes given

Thank you for the time considered to reply my questions.

Kind regards.

0 Likes