AnsweredAssumed Answered

i2c write limit using HAL ???

Question asked by ben biles on May 30, 2017
Latest reply on May 30, 2017 by ben biles

Hi, is there a I2C HAL maximum concurrent write limit using HAL_I2C_Master_Transmit?

 

I have a simple macro that is trying to write 4096 zero's to blocks of address and other code blocks and the larger

ones are giving me the error I2C_IsAcknowledgeFailed

 

Do I need to use a different write protocol for larger write blocks to I2C ? The application depends on my macro

so don't really want to use a bootloader app but will if there is no way to increase write sizes with;

 

uint32_t timedel = 10;

i2cstatus = HAL_I2C_Master_Transmit(&I2cHandle,devAddress,I2C1_Buffer_Tx,ThisBufferSize,timedel); // send buffer

 

I'll try increasing the time delay but don't see why it would help.

Outcomes