Hi
we are working on project using TDA4AL with QNX7.1 OS
we design two of SOC pins as gpio and want to read it state in QNX os.
does TI support command to do this? Or how can we do this ?
thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
we are working on project using TDA4AL with QNX7.1 OS
we design two of SOC pins as gpio and want to read it state in QNX os.
does TI support command to do this? Or how can we do this ?
thanks
Hi,
The GPIO registers can be read/written in a similar fashion to other registers in the TDA4AL device.
The QNX BSP for the TDA4AL has some macros defined for modifying WKUP_GPIO0_49. In this case the macros are used to set the GPIO as an to be an output and set high, see below file:
Similar steps can be followed for other GPIOs.
Regards,
kb
Hi Eric,
QNX has utilities to read/write memory locations from command line, you could contact them for access, and/or write your own.
On the TI side the k3conf utility can be used as below to read/write a memory location
If the TI SDK QNX is installed the k3conf utility will be available. For a full list of k3conf capabilities type "k3conf --help".
The source code for k3conf is included in PSDK QNX at psdkqa/qnx/utils/k3conf.
Regards,
kb