Hi Codesys forum, I have an 4.3" LCD connected to my ARM based linux board with i2c touch. i can use evtest or "cat /dev/input/event0 | hexdump" from my terminal to read the touch coordinates. Is there a way to do the same touch coordinates reading from the codesys? if yes can some one help me with an example. thanks -Kris.
powertrick Thank you for having patience and supporting me. Above example helped me. Thanks, -Kris.
powertrick thanks for your quick response you mean i2cbus-number by the i2c part? or the slave device? its a controler stm with slave address of 0x18 on i2c-1 bus iam doing something like i2cset -y 1 0x18 0x02 0x00 0x00 0x72 0x80 0x00 0x00 0x00 0x00 0x72 0x72 0x72 0x72 0x42 i from my target board. how can i do the same from the codesys thanks in advance, -kris
powertrick thanks for your quick response you mean i2cbus-number by the i2c part? or the slave device? its a controler stm with slave address of 0x18 on i2c-1 bus iam doing something like i2cset -y 2 0x18 0x02 0x00 0x00 0x72 0x80 0x00 0x00 0x00 0x00 0x72 0x72 0x72 0x72 0x42 i from my target board. how can i do the same from the codesys thanks in advance, -kris
Hi powertrick, i am trying to read and write data to registers of a controller from my arm board through Codesys. if you have managed to make it work, can you share the code. i couldn't find an example project for this. Thanks, -Kris
Hi all, i am working on i2c from codesys. i have more knowledge on arm based linux boards than codesys. can any one help me write a simple code to accomplish this- root@am335x:~# i2cget -y 1 0x1d 0x00 0xe5 -from the codesys application. i have a i2cmaster devdesc and it is using RaspberryPheripherals library. when i try to open and check the source, i get "no source code available for this object because it is in the compile library 'raspberrypheripherals,3.5.13.0'" can some one help me to write...
Hi all, i am working on i2c from codesys. i have more knowledge on arm based linux boards than codesys. can any one help me write a simple code to accomplish this- root@am335x:~# i2cget -y 1 0x1d 0x00 0xe5 -from the codesys application. i have a i2cmaster devdesc and it is using RaspberryPheripherals library. when i try to open and check the source, i get "no source code available for this object because it is in the compile library 'raspberrypheripherals,3.5.13.0'" can some one help me to write...
Hermsen, Thanks for your reply. i already followed this page and modified my IO.devdesv and LIB file. however the voltages on the board pins are unchanged. i should have to copy any other file along with codesyscontrol on to my board?. Thanks, -Kris.
Hi All, I am working on IO mapping on AM3354, i have received a device description with out the IO driver part. so i decided to create an IO driver and LIB to map them.After adding the IO.devdesc to the main devdesc and start the application, i couldn't make the connection between the IDE and the Physical IO's. i posted it before: https://forge.codesys.com/forge/talk/Runtime/thread/8446426610/ can some help me to make the connection. Thanks, -Kris.
Hi All, I am new to Codesys, I am working on IO mapping. i have a device description provided without the IO driver. i decided to create a new devdesc and LIB to map them. I took RPI as reference and created driver and LIB. iam able to add the new Driver to the main devdesc. after logging into to my board and start the application. i can see the driver and bus running, also true/ False change in IO mapping tab , however the voltages on the board pins are unchanged. i guess, iam missing a part where...
Hi, I'm new to the CoDesys, my question is can i use CoDesys on my arm Cortex am3354 board?. if yes can you help me with download link or with the guide to build . Thanks, Kris