Hello,
I'm trying to connect my LIS35DE accelerometer to piccolo c2000 launchpad using matlab/simulink embedded coder for c2000 processors. Slave address of LIS35DE is 29 (dec), and im trying to read register number 32, which value should equal 7, i check and this device works. I already made some programs using simulink embedded coder for this MCU and it work great, so i dont think its any connection problem.
Module clock prescaler and Master clock Low and High -time divider are set to give 100kHz i2c data transmition rate.
I tried debuging using SCI connection, and i got:
1. data transmiter status is: 0x10 0x34 but i'm recieving "Inital output" (default: 0).
2. if i change slave address to none existing like 13 i get: 0x86 0x14 (transmiter status) and 0 from receiver.