This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAS2781EVM: program ROM mode CFG_reg burst length

Part Number: TAS2781EVM

Tool/software:

Hi,

the I2C burst write function below work perfectly <16 number of bytes for this nordic micro nrf5340 that Im using using I2Crepeated writes. Once I transfer more that this number of bytes, the return code throws an error "-28" and my scope doesn't even register a waveform.

I was just wondering if I can partition these burst transfer with <16 number of bytes max. If I did, what will be the offset value of the 2nd set of transfer?. Let say I have 24 number of bytes to transfer, The 1st transfer is straight forward with 15 number of bytes. The next 9 out of 24 bytes to be transfer, what will be the offset?. would that going to be 0x10+0x9 offset?.

offset > register address

value > the data to that register/s

I have posted a issue with nordic semiconductor but at this time i don't really expect them to give a solution. I just want to have a workaround if the i2c burst function just in case it doesn't work at higher number counts.

ret = i2c_burst_write(i2c_dev,WM8731_I2C_ADDR,(unsigned char)program_0_ROM[i+1]->command&program_0_ROM[i+1]->paramprogram_0_ROM[i]->param);