I2C buffer memory requirements

floitsch_toit
Posts: 43
Joined: Wed Jun 29, 2022 4:25 pm
Location: Aarhus, Denmark
Contact:

I2C buffer memory requirements

Postby floitsch_toit » Wed Mar 12, 2025 11:19 am

When using I2C operations like 'i2c_master_transmit', 'i2c_master_transmit_receive', or 'i2c_master_receive' are there any requirements on the buffers?

Can they be in SPIRAM, or do they need to be internal?

MicroController
Posts: 2705
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: I2C buffer memory requirements

Postby MicroController » Wed Mar 12, 2025 1:50 pm

No requirements there. Data is moved to and from the I2C peripheral by the CPU, so data can reside in internal or external RAM, or even in flash.

Who is online

Users browsing this forum: Amazon [Bot], Baidu [Spider], Qwantbot and 2 guests