Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Sign Up Here
Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Volt.Tech

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Continue with Facebook
Continue with Google
or use

What is the capital of Egypt? ( Cairo )

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

volt.tech Logo volt.tech Logo
Sign InSign Up

volt.tech

volt.tech Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help
  • Home
  • About Us
  • Contact Us
Home/gpio

Tag: gpio

GPIO is an acronym for general purpose input/output. The term is typically applied to a pin on a microcontroller (or other device) that may be changed between an input and output under software contro…

volt.tech Latest Questions

nidhi singh
  • 0
nidhi singh
Asked: January 19, 2023In: Microcontroller

PSoC6 Port 6 GPIO shows a pulse at power up/ programming?

  • 0

Hi, We’re seeing a positive pulse in pin 6.5 while powering up, resetting & programming (via SWD). Please see the attached screenshots. The pin is port 6, which also has SWD and reset lines. We tested the pin with various configurations via ...Read more

Hi,

We’re seeing a positive pulse in pin 6.5 while powering up, resetting & programming (via SWD). Please see the attached screenshots.

The pin is port 6, which also has SWD and reset lines. We tested the pin with various configurations via PSoC creator, but could not find out the root cause. Can anyone help us in correcting this issue?

Edit We’re also seeing such an issue in pin 11.1

regards,

Nidhi

Read less
gpioInfineonmcumicrocontrollerspsoc6pulse
  1. Alex thomas
    Added an answer on January 21, 2023 at 10:31 am

    Hello, By default, all GPIO pins start out at reset as Analog_HiZ. This means the pin though configured at initialization as a draw-down thing inactive low launches life floating until the boot initialization is complete. still, also I suggest an average worth resistor( 100K?) drag-down to GND If thRead more

    Hello,

    By default, all GPIO pins start out at reset as Analog_HiZ. This means the pin though configured at initialization as a draw-down thing inactive low launches life floating until the boot initialization is complete.

    still, also I suggest an average worth resistor( 100K?) drag-down to GND If this is your project case.

    Thank You

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
vikas Nagpal
  • 0
vikas Nagpal
Asked: December 5, 2022In: Microcontroller

GPIO Edge Detection When ISR is Raised?

  • 0

Hi, Configured IRQ Control Register (IRQCRi) rising and falling edge discovery (IRQMD{10}). When the interrupt of the edge discovery is raised, where to find out which edge falling or rising is detected, I need to know what’s the pin position of ...Read more

Hi,

Configured IRQ Control Register (IRQCRi) rising and falling edge discovery (IRQMD{10}).
When the interrupt of the edge discovery is raised, where to find out which edge falling or rising is detected, I need to know what’s the pin position of the GPIO input pin when an edge is detected.

The used CPU is RA2E1.

Read less
cpugpioirqcriirqmdisrmcumicrocontrollerRA2E1renesas
  1. Alex thomas
    Added an answer on December 7, 2022 at 10:33 am
    This answer was edited.

    Thanks for posting your question! You could check your IRQ- pin's level when entering your interrupt message function in order to check if a rising or falling edge is detected. In case your pin's level was initially low and when entering your message function it became high then a rising edge was deRead more

    Thanks for posting your question!

    You could check your IRQ- pin’s level when entering your interrupt message function in order to check if a rising or falling edge is detected. In case your pin’s level was initially low and when entering your message function it became high then a rising edge was detected. If your pin was initially high and also became low then a falling edge was detected. You could read your pin level by accessing the register shown in the picture below.

    For example, if your IRQ pin is P110, you could check its level in the interrupt message function like this:
    R_PORT1->PIDR_b. PIDR10 and check if it’s 1 (HIGH) or 0 (LOW).

    Another way is by using the already given API
    1.fsp_err_tR_IOPORT_PinRead(ioport_ctrl_t * constp_ctrl,bsp_io_port_pin_t pin,bsp_io_level_t *p_pin_value);

    Kind Regards,
    Alex

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
viewpointproducts
  • 0
viewpointproducts
Asked: November 24, 2022In: Wireless Connectivity

Using SWD Pins as General- Purpose Outputs on XMC1202?

  • 0

Hello everyone. I’ve written a code that uses SWD pins as GPIO, but the code doesn’t work. My question is Can we use SWD protocol pins( clock and data) that are dedicated for debug purposes as GPIO? If Yes, What’s ...Read more

Hello everyone. I’ve written a code that uses SWD pins as GPIO, but the code doesn’t work. My question is Can we use SWD protocol pins( clock and data) that are dedicated for debug purposes as GPIO? If Yes, What’s the affiliated setting for using those pins as GPIO in the code?

Thanks for your time.

 

Read less
gpioPinsswdXMC1202
  1. nidhi singh
    Added an answer on November 30, 2022 at 9:54 am

    Hi, SWD pins may be used as general-purpose IOs, but this change has to be done only after you program your device. Are you following this flow? You may use the XMC_GPIO_Init () API to initialize the SWD pin as GPIO. It should be noted that debug functionality can not be used when SWD lines are confRead more

    Hi,

    SWD pins may be used as general-purpose IOs, but this change has to be done only after you program your device. Are you following this flow? You may use the XMC_GPIO_Init () API to initialize the SWD pin as GPIO.

    It should be noted that debug functionality can not be used when SWD lines are configured as GPIOs.

    Regards,

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
nidhi singh
  • 0
nidhi singh
Asked: November 1, 2022In: Wireless Connectivity

ESP32- C3 Fixing the Device into Download Boot?

  • 0

Hii,  I’m designing a dev board based on ESP32- C3 (ESP32- C3FN4) and I’m not sure if I’m good with connections for download boot. Is it enough to put tactile switched on GPIO2 and GPIO8 towards VCC and pull down ...Read more

Hii,  I’m designing a dev board based on ESP32- C3 (ESP32- C3FN4) and I’m not sure if I’m good with connections for download boot.
Is it enough to put tactile switched on GPIO2 and GPIO8 towards VCC and pull down on GPIO9?

Also, should I include a connector in case the device needs to be flashed?

Read less
bootdeviceesp32ESP32-C3gpio
  1. Alex thomas
    Added an answer on November 3, 2022 at 10:27 am

    Hello, You need to start your esp32 with the Low position on the Boot pin to begin the bootloader. In normal mode, u can hold a HIGH position on this pin by pullup him up with 10k, for example. Generally, you can use 2 buttons for switching modes, 1- to connect the boot pin to GND, 2- to pull the RSRead more

    Hello, You need to start your esp32 with the Low position on the Boot pin to begin the bootloader. In normal mode, u can hold a HIGH position on this pin by pullup him up with 10k, for example. Generally, you can use 2 buttons for switching modes, 1- to connect the boot pin to GND, 2- to pull the RST( EN) pin to GND- for resuming esp32 (you need to pull up it too). Also, you can use special schemes which will do it automatically.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
Alex thomas
  • 0
Alex thomas
Asked: October 4, 2022In: LEDs & Optoelectronics

Properly Powering 5mm LED on GPIO Pin

  • 0

I’ve read quite a bit about needing a resistor when powering a 5 mm LED from an esp32 GPIO pin, still, other experts say that if a LED is powered right, it will not need a resistor at all will ...Read more

I’ve read quite a bit about needing a resistor when powering a 5 mm LED from an esp32 GPIO pin, still, other experts say that if a LED is powered right, it will not need a resistor at all will not burn out.

1. Is it as easy as purchasing a LED that’s powered properly for an esp32 GPIO pin so that it will not probably burn out in a reasonable amount of time( years)?
2. Still, what’s the current on each GPIO pin? ( I know that the voltage on each GPIO pin is 3, If so.3 V)
3. Rather than adding a resistor, I can add a second LED parallel to add resistance and meet the power requirements, right?

Thanks!

Read less
esp32gpioledspin
  1. nidhi singh
    Added an answer on October 11, 2022 at 9:50 am

    The maximum power per pin is 40mA. You shouldn't push more than 150 mA through all your output pins( and probably less than that to avoid overheating). You can find the correct resistor value using any led resistor calculator online and the datasheet for your led. I do not see how parallel resistorsRead more

    The maximum power per pin is 40mA. You shouldn’t push more than 150 mA through all your output pins( and probably less than that to avoid overheating). You can find the correct resistor value using any led resistor calculator online and the datasheet for your led. I do not see how parallel resistors will be useful if you’re powering directly through the pin, and you do not have to get the exact resistance calculated. However, you should have a transistor gating a separate power supply for the light, If you need more than milliamps.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
Rahul B
  • 1
Rahul B
Asked: August 9, 2022In: Wireless Connectivity

ESP32- S3- BOX Development Kit

  • 1

Is it possible to use this device as a ESP32- S3 development kit, or is it limited to configuring the GPIO pins and integrating with the app?

Is it possible to use this device as a ESP32- S3 development kit, or is it limited to configuring the GPIO pins and integrating with the app?

Read less
espesp32espressifgpio
  1. geek
    Added an answer on August 9, 2022 at 4:31 pm

    It can be used as a ESP32- S3 development kit, you can see the PMOD marker to get the available GPIO. However, configuring the GPIO does not need through the app, If you tone development commodity. The mobile app is used with the figure- in firmware.

    It can be used as a ESP32- S3 development kit, you can see the PMOD marker to get the available GPIO. However, configuring the GPIO does not need through the app, If you tone development commodity. The mobile app is used with the figure- in firmware.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
Alex thomas
  • 0
Alex thomas
Asked: August 2, 2022In: Wireless Connectivity

Internal pull up issue in ESP32-S3-WROOM-1-N8R8 GPIO20

  • 0

While using ESP32-S3-WROOM-1-N8R8 module for my application. I used GPIO20 as a GPIO input for switch application. I have used external pull up for digital high or low. But in that pin ,there is an inbuilt internal pullup. But it ...Read more

While using ESP32-S3-WROOM-1-N8R8 module for my application. I used GPIO20 as a GPIO input for switch application. I have used external pull up for digital high or low. But in that pin ,there is an inbuilt internal pullup. But it isn’t mentioned in datasheet.

Kindly suggest how to change that pin to Hi-Z state.

Read less
ESP32-S3-WROOM-1-N8R8 moduleespressifgpioGPIO20Hi-Z state
  • 0 Answers
Answer
techfreak
  • 0
techfreak
Asked: July 29, 2022In: Wireless Connectivity

esp_sleep_enable_uart_wakeup with CONFIG_CONSOLE_UART_CUSTOM configuration

  • 0

I am testing “esp_sleep_enable_uart_wakeup” function. I have connected to UART0 (GPIO3 U0RX, GPIO1 U0TX) an external LTE module and I would like to wake up ESP32 when it is in light sleep but the external module send a particular string on ...Read more

I am testing “esp_sleep_enable_uart_wakeup” function.

I have connected to UART0 (GPIO3 U0RX, GPIO1 U0TX) an external LTE module and I would like to wake up ESP32 when it is in light sleep but the external module send a particular string on the UART0.

I have done a very simple test. It seems to work, but as soon as I change these configuration for CONSOLE debug output from the default to the below ones:

CONFIG_CONSOLE_UART_DEFAULT= CONFIG_CONSOLE_UART_CUSTOM=y CONFIG_CONSOLE_UART_NONE= CONFIG_CONSOLE_UART_CUSTOM_NUM_0= CONFIG_CONSOLE_UART_CUSTOM_NUM_1=y CONFIG_CONSOLE_UART_NUM=1 CONFIG_CONSOLE_UART_TX_GPIO=25 CONFIG_CONSOLE_UART_RX_GPIO=27 CONFIG_CONSOLE_UART_BAUDRATE=115200

It doesn’t work. I would like to use UART1 to send out the debugs because UART0 is occupied to talk with the external module: but the changes in the SDK config (only the one reported above) seems to be the cause of the issue.

How to solve the issue?

Read less
espgpioLTE modulesleep_enableuart
  1. pallavi sharma
    Added an answer on August 1, 2022 at 12:32 pm

    You have to do this PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD_U0RXD); PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, FUNC_U0TXD_U0TXD);

    You have to do this

    PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD_U0RXD);
    PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, FUNC_U0TXD_U0TXD);
    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
Anonymous
  • 0
Anonymous
Asked: July 28, 2022In: Microcontroller

What is the difference Between SPI inside of SCI and Independent SPI ?

  • 0

 I wanted to clarify the difference between using the SCI module’s SPI pins as opposed to using the SPI pins that aren’t within the SCI module. I was wondering if you could explain why one would choose to use either ...Read more

 I wanted to clarify the difference between using the SCI module’s SPI pins as opposed to using the SPI pins that aren’t within the SCI module. I was wondering if you could explain why one would choose to use either the SPI inside of the SCI module, or use the independent SPI and some design considerations that would be included in making that decision. One more point of confusion for me was why there are pins dedicated to slave selection for SPI communication. To my understanding (which is quite limited), generally with other microcontrollers, you may use a simple GPIO as a slave selection pin, I was wondering if Renesas microcontrollers also had this option or if you have to use the slave selection pins given by the datasheet of the microcontroller.

Read less
gpioscispi
  1. pallavi sharma
    Added an answer on July 29, 2022 at 10:16 am

    The SCI supports a so-called "Simple SPI" mode that has far less capability than the std SPI peripheral.  From the hardware U/M: If your application requirements can be met by the Simple-SPI then it could be used.

    The SCI supports a so-called “Simple SPI” mode that has far less capability than the std SPI peripheral.  From the hardware U/M:

    If your application requirements can be met by the Simple-SPI then it could be used.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
Linto
  • 0
Linto
Asked: July 20, 2022In: Wireless Connectivity

Voltage Tolerance of GPIOs of ESP chips

  • 0

What is the voltage tolerance of GPIOs of ESP chips?

What is the voltage tolerance of GPIOs of ESP chips?

Read less
espespchipsespressifgpiovoltagetolerance
  1. pallavi sharma
    Added an answer on July 25, 2022 at 6:38 pm

    The voltage tolerance is 3.6 V.

    The voltage tolerance is 3.6 V.

    See less
    • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  • 1 Answer
Answer
1 2

Sidebar

Ask A Question

Stats

  • Questions 388
  • Answers 374
  • Comments 0
  • Best Answers 8
  • Popular
  • Answers
  • Manoj

    Configuration using .dp vision in Infineon XDPL series IC .

    • 5 Answers
  • Linto

    Renesas RL78/G14 ADC interface code

    • 4 Answers
  • Julian White
    Julian White added an answer Hello, IrDA has hardly been used for a long time,… March 7, 2023 at 10:27 am
  • Julian White
    Julian White added an answer It's not required per se, but it's helpful. The issue… March 4, 2023 at 10:04 am
  • nidhi singh
    nidhi singh added an answer Hi Alex, The exchange mode for MCU boot uses the… March 2, 2023 at 10:37 am
  • Julian White
    Julian White added an answer Hi, Thank you for posting on the Volt.Tech community. Can… February 28, 2023 at 10:04 am
  • nidhi singh
    nidhi singh added an answer Hello, The labeling looks ok F130 = LD2981ABM30TR F133 =… February 23, 2023 at 10:27 am

Users

test27782358

test27782358

  • 0 Questions
  • 0 Answers
test17284313

test17284313

  • 0 Questions
  • 0 Answers
test1856815

test1856815

  • 0 Questions
  • 0 Answers

Explore

  • Tags
  • Category
    • Amplifiers
    • Passives & Protection
    • Clocks & Timing
    • Diodes & Rectifiers
    • FPGAs & PLDs
    • Interface ICs & Transceivers
    • LEDs & Optoelectronics
    • Memories
    • MEMS & Sensors
    • Microcontroller
    • Power Management
    • RF & Microwave
    • Security & Smart Card
    • Motor Drivers
    • Wireless Connectivity
  • Groups
  • Add group
  • Badges
  • Help

Footer

volt.tech

Volt.Tech

Find your spark

About Us

  • About Us
  • Contact Us
  • Groups

Legal Stuff

  • Privacy Policy
  • Faqs

Follow

© 2022 volt.tech. All Rights Reserved
With Love by volt.tech.