Posted on August 03, 2017 at 06:49 I am using mlx90614 sensor attached to my nucleo F091RC. I have a working code with mbed : double mlx90614::read_temp(uint8_t reg) { char cmd[2]; cmd[0] = 0x01; cmd[1] = 0x00; // Send start bit __i...
Posted on August 01, 2017 at 13:43I am using lps22HB and connected it to edison through I2C interface.Env:I am using mraa and node JS.This is how I configured the sensor i2cBus.writeReg(INTERRUPT_CFG, AUTOZERO | DIFF_EN | PHE | PLE); i...
Posted on July 14, 2017 at 13:35With mbed-os `printf('Hello world');` would print 'Hello world' on ttyACM0How can I achieve the same this using STMCube32 HAL API's?Initially printf() was giving me some undefined reference errors in sbrk() system ca...
Posted on August 10, 2017 at 13:58Thanks mich. With a quick look i could not find the contact. But will search for it thoroughly if I am unable to resolve this issue..
Posted on August 08, 2017 at 19:22 What debugger you generally use? I am using gdb. in gdb, I can only see r0-r12 and few basic registers like pc, lr, sp, cpsr etc.. How to check for I2c_ISR? Also. I notice that simple API's like HAL_Delay(...
Posted on August 07, 2017 at 14:38 > Are theese two devices the same? No the devices are different. I am attaching the IOC file.. Also, I have enabled only I2C2 in the IOC.. Thank you very much for taking out time and looking into this issue....
Posted on August 07, 2017 at 12:58In the setup I have, the I2c devices are soldered. :(So, I cannot use I2C1 for the sensor..I checked that I2c1 by default supports SMBUS.. but since the mbed code is working, we should be having a way to make it wor...