Posted on February 12, 2014 at 15:07
Hello,
I'm trying to interface the STM32L152 Discovery with an LCD display (NHD-C0220BiZ-FSW-FBW-3V3M) through I2C. I'm finding a problem when trying to write the first command to the LCD the code gets...
Posted on January 15, 2014 at 10:19 Hi, I'm trying to communicate between the http://www.ti.com/product/ADS7870and the ST microcontroller STM32F4 Discovery evaluation board. I'm using IAR and at the moment I'm just trying to read register 31 fro...
Posted on February 16, 2014 at 09:29I tried the 4 possibilities you suggested for the value of the slave address but none of them work, all give the same result. It is still stuck on the EV6 flag. How can I do a manual resync of the LCD?Thanks!
Posted on February 13, 2014 at 15:08OK I divided the I2C clock speed by 2. Now I see the whole clock and data after sending the I2C_Send7BitAddress. Still it gets stuck on the EV6 flag check.This is the screenshot of the scope.Registers status after...
Posted on February 13, 2014 at 14:31I'm not sure how to get the entire clock sequence. I switched to ports 8 and 9 (clk and sda respectively), but still the same issue. I also changed the GPIO speed for both of them to 400KHz.Nevertheless, the frequ...
Posted on February 13, 2014 at 12:10What you are suggesting for I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED is what I actually have on the stm32l1xx_i2c.h file.The screenshot that I sent from the scope is after the I2C_Send7BitAddress...
Posted on February 13, 2014 at 11:35I believe that until the while the configuration is correct. Here is a screenshot of the registers.Are you asking about the value defined for I2C_EVENT_MASTER_BYTE_TRANSMITTED, if that's the case it is defined as ...