Search found 2 matches

by customyota
Sat May 19, 2018 7:49 am
Forum: STM32 Support
Topic: Adding I2C memory address to write.
Replies: 4
Views: 2394

Re: Adding I2C memory address to write.

That's what I've been using so far, and it works easily for the most part. The issue is when I need to write a separate byte after the device address, but before the actual data. As far as I can tell, i2cMasterTransmitTimeout() just sends the device address, followed by the send buffer, with no way ...
by customyota
Sat May 19, 2018 12:01 am
Forum: STM32 Support
Topic: Adding I2C memory address to write.
Replies: 4
Views: 2394

Adding I2C memory address to write.

Is there a way to add a memory address to an I2C transmit in ChibiOS? For example, send the slave address, followed by the memory address, followed by the data? I'm thinking something equivalent to ST's HAL_I2C_Mem_Write().

Specifically, what I'm trying to do is send screen data to an SSD1306 OLED ...