2013-03-05 01:57 PM
Hi,
I just got a STM3220G-EVAL board. I have to connect an I2C device, but first of all I'm trying to access via I2C the LIS302DL accelerometer on board. Unfortunately, I can't find any example for that embedded device. I tried to write some code using CPAL library sample but I never access the device. Do I forgot something like positioning a jumper ? Please help. Regards.2013-03-05 03:05 PM
STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\stm32f4_discovery_lis302dl.c
STM32F4-Discovery_FW_V1.1.0\Project\Peripheral_Examples\MEMS\main.c STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\selftest.c ..2013-03-05 11:13 PM
Hi,
Thanks for your quick answer. I'll download the STM32F4 FW and test. I'll come back to let youy inform of my research. Regards.2013-03-05 11:24 PM
Ok,
This sample demonstrates SPI communication to LIS302DL, but the STM3220G-EVAL has the LIS302DL connected via I2C according to the documentation. ;-/2013-03-07 07:37 AM
So I try now to access the Audio Codec I2C regsiters and it's the same problem. I fall in timeout.
The only I2C devices I can read are the Expanders. Don't understand what is the problem. Regards.2013-03-07 07:52 AM
So I try now to access the Audio Codec I2C regsiters and it's the same problem. I fall in timeout.
The only I2C devices I can read are the Expanders. Don't understand what is the problem. Regards.2013-08-16 12:16 AM
Hi,
I'm experiencing exactly the same problem. Did you manage to find the problem?Thanx for sharing your fix...Regards