Other Parts Discussed in Thread: SYSCONFIG
Tool/software: Code Composer Studio
Is there any sample code or an example to make SPI Acclerometer work with CC2652?
I tried to use SPIMaster in the SDK and modify it. But no luck.
I can't even read device ID (Who_am_I)?
My accelerometer (IIS3DHCC from ST Micro) has value of 0x11 at address 0x0F. But I read 0xFF instead of 0x11.
I need sample code just to read Who_am_I correctly. Then I know how to do the rest.
I got this working in Arduino environment in less than 2 hours. But I can't get it to work in Code Composer even after spending 2 days.
Please help.
Thanks
KM
