Posted on January 18, 2012 at 22:53I need to connect wm+ through I2C. I'm now trying to port http://randomhacksofboredom.blogspot.com/2009/07/motion-plus-and-nunchuck-together-on.html this Arduino code.I'm stuck at how to send zero to device.I need ...
Posted on January 18, 2012 at 12:13How I can change clock rate for I2C bus? I need to get work wii motion plus. Code from arduino:TWBR = ((16000000L / 400000L) - 16) / 2; // change the I2C clock rateHow I can do this in stm32?I'm use stm32f103vet6. ...
Posted on January 04, 2012 at 13:41Hello. I have a stm32f103vet6. I see that data goes to PC, but I don't see anything on input in PC.My code for stm32:&sharpinclude ''stm32F10x.h''u8 SMS[]=''Hello, my name is STM32F100RB!'';int main(void){ u32 ...
Posted on December 12, 2011 at 23:40Hello. I want to read a sequence of bytes from my accelerometer. I can't get it work.When I read byte by byte all is ok, but when I try to read sequence I can't get a true values.void ADXL_ReadSeq(uint8_t StartAdd...
Posted on December 06, 2011 at 18:19Hello. I have a device connected to stm32 through I2C1. Am I right initialize it?&sharpdefine DEV_ADDR 0x53uint8_t I2C_ByteRead(uint8_t Addr){ uint8_t tmp; while(I2C_GetFlagStatus(I2CG, I2C_FLAG_BUSY)); // Whil...
Posted on January 05, 2012 at 10:07Thank you very much! You are help me as no one before! The problem is in how I wired it. I connected it GND->GND, TXD->TX, RXD->RX, 5v->VCC, but as you said I had to replace RXD with TXD.
Posted on January 04, 2012 at 22:22Thanks for the reply. I'm use PL2303HX USB to TTL Converter Module. I tried to read data in PuTTY and Realterm, but a console has been empty when STM32 board sends data.
Posted on December 13, 2011 at 18:49Yes, I have stm32f103vet6. But I don't know where to search. Please help me.I'm getting data normally, but not data that I need.