lib to R/W on SDcard and RTC connected to I2C

Discussions concerning TrueSTUDIO for STM32 9.0.0 and later versions.

Moderators: Markus Girdland, Mattias Norlander

Niconol
Posts: 9
Joined: Tue Dec 04, 2018 11:03 am

lib to R/W on SDcard and RTC connected to I2C

Postby Niconol » Wed May 08, 2019 3:11 pm

Hi,
I'm working on a Nucleo144F429 board, cubeMx + Tuestudio

I need to use an RTC + SDCard shield connected to A4&A5, ie PB8 and 9 (elecrow pcb Arduino uno compatible). PB8 and PB9 are one I2c port.

I imagine that the 2 components use the same I2c port but different adresses. I don't find which library I can use to drive both of them.

For the moment, I never use I2c port on this board.
Can you help me please?
Best

Niconol
Posts: 9
Joined: Tue Dec 04, 2018 11:03 am

Re: lib to R/W on SDcard and RTC connected to I2C

Postby Niconol » Wed May 08, 2019 3:16 pm

I don't know how to modify my last post ...

The elecrow website works again, I think I'll find lot of details.

First, I discover that RCS is connected to this I2C port but SD card to a SPI port.

Niconol
Posts: 9
Joined: Tue Dec 04, 2018 11:03 am

Re: lib to R/W on SDcard and RTC connected to I2C

Postby Niconol » Wed May 15, 2019 1:31 pm

RTC read and write is solved, using standard I2c.
For sdcard on SPI, I think I have to use fat library, if you have any idea ...
Best


Return to “TrueSTUDIO for STM32 discussions”

Who is online

Users browsing this forum: No registered users and 0 guests