Thank you zhangrj. That works! I used /dev/ttyHS1 and it goes to the LS1. I can see the data flowing through to the LS1.
Posts made by hitenG
UART to low speed expansion LS1
I see two UARTs:
UART1: pin 5, 7
UART2: pin 11, 13
I essentially want to write some data to the UART and route it to the low speed expansion LS1. Which UART can I use and what does it get mapped to under /dev/??? i.e. what /dev/xxx port does the two UARTs get mapped to as? If I understand it right UART2 will get routed to the LS1 or the debug USB port based on dip switch 2.
I am assuming both these UARTs are enabled.
Accessing ICM42600 IMU in SPI mode
Is there any way we can access the ICM42600 in SPI mode i.e. I dont see the device listed as a SPI device in /dev/. Do we need to do anything to see the ICM appear as a SPI device under /dev so that we can read/write to it using the SPI protocol?
RE: camera hal3 preview doesnt work
For Problem 2, I solved the problem by setting up the 32-bit environment by doing:
Using this new environment I built the 32-bit Camera HAL3 test sample app. Using this locally built hal3 test app I tried to get preview frames and unlike the default app on the board that doesnt exit and outputs no frames, this locally built binary gives the preview frames but they are all green in color:
I tried different psize's but all are still green frames. Any idea why I am getting green frames?
I have only camera connected the OV8856.
camera hal3 preview doesnt work
I am trying to get camera preview working with the camera_test hal3 sample app. With the default binaries (/usr/bin/hal3_test, /usr/lib/hw/camera.qcom.so), camera preview doesnt work when I follow the instructions in the llinux user guide:
$ adb shell
As soon as I do D it goes into an infinite loop and never finishes
Both the app and the driver binaries on the device are 32-bit (/usr/bin/hal3_test, /usr/lib/hw/camera.qcom.so). But if I build the source code of camera_test using the Makefile - it builds 64-bit. And the 64-bit app cannot load the 32-bit driver and the app crashes. Is there a separate Makefile to build 32-bit or what changes do I need to make to build 32-bit app (just like the default hal3_test on the device).
Can you please help me with both these problems?