GPIO pin configuration issue for UART communication

It takes more time to process

Please go through this link. I am sending the issue related to the question here, and now I will create a new post

Yes, the timing is dependent on the number of peripherals being generated, Based on your JSON configuration, it will take an average of 10 minutes.

Yes, Done UART Communication

Hello, I want to access the GPIO pins. Can you please tell me the steps?

For detailed instructions on how to generate and interact with GPIOs, please refer to the official documentation at PERIPLEX GPIO | Vicharak

{
“uart”: [
{
“id”: 0,
“TX”: “GPIOL_73”,
“RX”: “GPIOL_75”
}
],
“i2c”: ,
“gpio”: [
{
“id”: 1,
“GPIO-0”: “GPIOR_168”,
“GPIO-1”: “GPIOL_17”,
“GPIO-2”: “GPIOL_20”,
“GPIO-3”: “GPIOL_18”,
“GPIO-4”: “GPIOR_187”,
“GPIO-5”: “GPIOL_24”,
“GPIO-6”: “GPIOL_66”,
“GPIO-7”: “GPIOL_62”
}
],
“pwm”: ,
“ws”: ,
“spi”: ,
“onewire”: ,
“can”: ,
“i2s”:
}

this is the json file

image

Screenshot after use this sudo gpioinfo

image

GPIO not set

gpioset & gpioget does not work as you are seeing it, gpioset means you are putting that pin into output mode and setting it’s value HIGH or LOW but when you do gpioget, you are putting that pin into input mode, which means you will detect whatever the voltage is on that GPIO and it will be reflected on the gpioget result e.g. If the pin is getting 3.3V from any source then it will return the output 1 but when there is nothing connected to it and it’s not set to weak pullup it will return 0.

In short, you are sensing the voltage when you are doing gpioget, setting the value to pin does not mean it will hold the voltage when you do gpioget!