Interfacing DAC6571 using I2c with RT1020

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interfacing DAC6571 using I2c with RT1020

Jump to solution
45,378 Views
hanmant
Contributor III

Hi all,

I have interfaced DAC6571 using I2c with i.Mx RT1020 processor.

i have used i2c DMA example from SDK.

I'm facing issue to write data on DAC ; it behaving very random .Not able set proper values on DAC.

Please guide me .

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
45,273 Views
hanmant
Contributor III

Thank for reply 

below is updated code but still it not working .

when i set if value = 500; then dac output should be like half of 3.3V .

but it giving like 3v sometimes or any random 

(you checked pin configuration , is it correct? please confirm) 

BYTE data[2];

data[INDEX0] = (value >> 6) & 0x0F; // Upper 4 bits of the 10-bit value

data[INDEX0] |= 0x00; // Set the two zeros and two power-down bits (00 11 XXXX)

data[INDEX1] = (value << 2) & MAX_8BIT; // Lower 6 bits of the 10-bit value followed by two don't care bits

 

 

 

// LPI2C master descriptor

lpi2c_master_transfer_t masterXfer = {0};

status_t reVal = kStatus_Fail;

/* subAddress = 0x01, data = g_master_txBuff - write to slave.

start + slaveaddress(w) + subAddress + length of data buffer

+ data buffer + stop*/

 

masterXfer.slaveAddress = I2C_SLAVE_DAC6571_ADDR_7BIT;

masterXfer.direction = kLPI2C_Write;

masterXfer.data = (UINT8*)data; //(0 to 1023)

masterXfer.dataSize = sizeof(data);

masterXfer.flags = kLPI2C_TransferDefaultFlag;

 

// Send master non-blocking data to slave

reVal = LPI2C_MasterTransferEDMA(I2C_MASTER, &g_m_edma_handle, &masterXfer);

View solution in original post

0 Kudos
Reply
10 Replies
45,317 Views
hanmant
Contributor III

Thanks for reply .

both line have 4.7K pull up. please check code and configuration:

#define I2C_SLAVE_DAC6571_ADDR_7BIT 0x4CU//(0x98U >> 1)
#define DAC_MASK_VALUE 0x03FF
 
   // DAC value should be 10 bits, so mask it to ensure it doesn't exceed 10 bits
   value &= DAC_MASK_VALUE;
 
   // Prepare the data to be sent in the required format
   BYTE data[2];
 
   data[INDEX0] = value >> SHIFT_8BIT; // Upper 8 bits
   data[INDEX1] = value & MAX_8BIT;     // Lower 8 bits
 
   // LPI2C master descriptor
   lpi2c_master_transfer_t masterXfer = {0};
   status_t reVal = kStatus_Fail;
   /* subAddress = 0x01, data = g_master_txBuff - write to slave.
start + slaveaddress(w) + subAddress + length of data buffer
+ data buffer + stop*/
 
   masterXfer.slaveAddress   = I2C_SLAVE_DAC6571_ADDR_7BIT;
   masterXfer.direction      = kLPI2C_Write;
   masterXfer.data           = data; //(0 to 1023)
   masterXfer.dataSize       = sizeof(data);
   masterXfer.flags          = kLPI2C_TransferDefaultFlag;
 
   // Send master non-blocking data to slave
   reVal = LPI2C_MasterTransferEDMA(I2C_MASTER, &g_m_edma_handle, &masterXfer);
   if (reVal != kStatus_Success)
   {
   return DAC_STATUS_FAIL;
   }
      // Wait for transfer completed.
   while (!g_MasterCompletionFlag)
   {
// Do Nothing
   }
   g_MasterCompletionFlag = false;
0 Kudos
Reply
45,311 Views
mayliu1
NXP Employee
NXP Employee

Hi @hanmant ,

Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you.

I check dac6571.pdf, It describe as follows.

The data you need to send is split into two parts.

mayliu1_1-1727080587557.png

mayliu1_2-1727080604177.png

 

But in software code, you  split data for 8bit.

mayliu1_3-1727080634829.png

 

 So, I think it is the reason why data is random. Please send data as the dac6571.pdf  described.

 

Wish it helps you.
If you still have question about it, please kindly let me know.

 

Best Regards

mayliu

0 Kudos
Reply
45,271 Views
mayliu1
NXP Employee
NXP Employee

Hi @hanmant ,

 

Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you.

I think the PD1 and PD0 setting is not correct. If you want DAC6571 work normal, PD1 and PD0 should set as 0.

mayliu1_0-1727082632798.png

 

Wish it helps you.
If you still have question about it, please kindly let me know.

 

Best Regards

mayliu

 

 

 

0 Kudos
Reply
45,274 Views
hanmant
Contributor III

Thank for reply 

below is updated code but still it not working .

when i set if value = 500; then dac output should be like half of 3.3V .

but it giving like 3v sometimes or any random 

(you checked pin configuration , is it correct? please confirm) 

BYTE data[2];

data[INDEX0] = (value >> 6) & 0x0F; // Upper 4 bits of the 10-bit value

data[INDEX0] |= 0x00; // Set the two zeros and two power-down bits (00 11 XXXX)

data[INDEX1] = (value << 2) & MAX_8BIT; // Lower 6 bits of the 10-bit value followed by two don't care bits

 

 

 

// LPI2C master descriptor

lpi2c_master_transfer_t masterXfer = {0};

status_t reVal = kStatus_Fail;

/* subAddress = 0x01, data = g_master_txBuff - write to slave.

start + slaveaddress(w) + subAddress + length of data buffer

+ data buffer + stop*/

 

masterXfer.slaveAddress = I2C_SLAVE_DAC6571_ADDR_7BIT;

masterXfer.direction = kLPI2C_Write;

masterXfer.data = (UINT8*)data; //(0 to 1023)

masterXfer.dataSize = sizeof(data);

masterXfer.flags = kLPI2C_TransferDefaultFlag;

 

// Send master non-blocking data to slave

reVal = LPI2C_MasterTransferEDMA(I2C_MASTER, &g_m_edma_handle, &masterXfer);

0 Kudos
Reply
45,249 Views
mayliu1
NXP Employee
NXP Employee

Hi @hanmant ,

 

Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you.

SCL and SDA pin configuration should set as open drain.

mayliu1_0-1727087407020.png

Wish it helps you.

Best Regards

mayliu

 

0 Kudos
Reply
45,261 Views
mayliu1
NXP Employee
NXP Employee

Hi @hanmant ,

Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you.

I think RT1020 EVK I2C communication is normal work, the problems is about how control chip DAC6571.

I suggest you check DAC6571 data sheet in detail, Special pay attention to I2C write and read protocol.

For example:

1: Do you have set DAC6571 Configuration Register.

A Basic Guide to I2C (ti.com.cn)

mayliu1_0-1727084431434.png

2: Do you confirm I2C communication protocol is correct.

+2.7 V to +5.5 V, I2C Interface, Voltage Output 10-Bit DAC datasheet (Rev. B) (ti.com.cn)

 Please use a logic analyzer or an oscilloscope to check I2C protocol is correct as you send

mayliu1_1-1727085531275.png

 

Wish it helps you.
If you still have question about it, please kindly let me know.

 

Best Regards 

mayliu

 

 

 

 

 

 

 

0 Kudos
Reply
45,257 Views
hanmant
Contributor III

Thanks for reply .

whatever i configured it not correct?

0 Kudos
Reply
45,251 Views
mayliu1
NXP Employee
NXP Employee

Hi @hanmant ,

 

Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you.

 

I think RT1020 I2C communication work correctly. What I support before is out of my scope.

Chip DAC6571 is TI company's production, maybe you can contact DAC6571 supporter.

Wish it helps you.

 

Best Regards

mayliu

0 Kudos
Reply
45,283 Views
hanmant
Contributor III

i set like this .but not working

BYTE data[3];

data[INDEX0] = (value >> 6) & 0x0F; // Upper 4 bits of the 10-bit value

data[INDEX0] |= 0x30; // Set the two zeros and two power-down bits (00 11 XXXX)

data[INDEX1] = (value << 2) & MAX_8BIT; // Lower 6 bits of the 10-bit value followed by two don't care bits

0 Kudos
Reply
45,333 Views
mayliu1
NXP Employee
NXP Employee

Hi @hanmant ,

 

Thank you for your interest in RT MIMXRT product, I would like to provide service for you.

 

I would like you to confirm that the following points are correct.

1: whether the SDA and SCL hardware has pull-up resistors, and whether the I2C DMA demo software is configured in open-drain mode.

2:Please check if the address configuration for the DAC6571 chip is correct. If you are controlling the output, you should use the Address Byte, not Broadcast Address.

If it's convenient, please use a logic analyzer or an oscilloscope to check if each acknowledge bit of the I2C protocol is correctly pulled low.

mayliu1_0-1727061206246.png

 

mayliu1_1-1727061206252.png

 

3:Please confirm that the I2C configuration in the RT1020SDK demo is consistent with the configuration for the DAC6571.

mayliu1_2-1727061206255.png

Wish it helps you.

If you still have question about it, please kindly let me know.

Best Regards

mayliu

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1959177%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EInterfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959177%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EI%20have%20interfaced%20DAC6571%20using%20I2c%20with%20i.Mx%20RT1020%20processor.%3C%2FP%3E%3CP%3Ei%20have%20used%20i2c%20DMA%20example%20from%20SDK.%3C%2FP%3E%3CP%3EI'm%20facing%20issue%20to%20write%20data%20on%20DAC%20%3B%20it%20behaving%20very%20random%20.Not%20able%20set%20proper%20values%20on%20DAC.%3C%2FP%3E%3CP%3EPlease%20guide%20me%20.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1959177%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MXRT%20102x%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959817%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959817%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226311%22%20target%3D%22_blank%22%3E%40hanmant%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThank%20you%20for%20your%20interest%20in%20the%20NXP%20MIMXRT%20product%2C%20I%20would%26nbsp%3B%20like%20to%20provide%20service%20for%20you.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESCL%20and%20SDA%20pin%20configuration%20should%20set%20as%20open%20drain.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_0-1727087407020.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1727087407020.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300688iFDD00724F978E663%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_0-1727087407020.png%22%20alt%3D%22mayliu1_0-1727087407020.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWish%20it%20helps%20you.%3C%2FP%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3Emayliu%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959810%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959810%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226311%22%20target%3D%22_blank%22%3E%40hanmant%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThank%20you%20for%20your%20interest%20in%20the%20NXP%20MIMXRT%20product%2C%20I%20would%26nbsp%3B%20like%20to%20provide%20service%20for%20you.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20think%20RT1020%20I2C%20communication%20work%20correctly.%20What%20I%20support%20before%20is%20out%20of%20my%20scope.%3C%2FP%3E%0A%3CP%3EChip%20DAC6571%20is%20TI%26nbsp%3B%3CSPAN%3Ecompany's%20production%2C%20maybe%26nbsp%3B%3C%2FSPAN%3Eyou%20can%20contact%26nbsp%3BDAC6571%20supporter.%3C%2FP%3E%0A%3CP%3EWish%20it%20helps%20you.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3Emayliu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959795%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959795%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20reply%20.%3C%2FP%3E%3CP%3Ewhatever%20i%20configured%20it%20not%20correct%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959794%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959794%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226311%22%20target%3D%22_blank%22%3E%40hanmant%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20interest%20in%20the%20NXP%20MIMXRT%20product%2C%20I%20would%26nbsp%3B%20like%20to%20provide%20service%20for%20you.%3C%2FP%3E%0A%3CP%3EI%20think%20RT1020%20EVK%20I2C%20communication%20is%20normal%20work%2C%20the%20problems%20is%20about%20how%20control%20chip%20DAC6571.%3C%2FP%3E%0A%3CP%3EI%20suggest%20you%20check%20DAC6571%20data%20sheet%20in%20detail%2C%20Special%20pay%20attention%20to%20I2C%20write%20and%20read%20protocol.%3C%2FP%3E%0A%3CP%3EFor%20example%3A%3C%2FP%3E%0A%3CP%3E1%3A%20Do%20you%20have%20set%20DAC6571%20Configuration%20Register.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.ti.com.cn%2Fcn%2Flit%2Fan%2Fsbaa565%2Fsbaa565.pdf%3Fts%3D1727058155621%26amp%3Bref_url%3Dhttps%25253A%25252F%25252Fwww.ti.com.cn%25252Fproduct%25252Fcn%25252FDAC6571%25253Futm_source%25253Dbaidu%252526utm_medium%25253Dcpc%252526utm_campaign%25253Dasc-null-null-GPN_CN-cpc-pf-baidu-cn_cons%252526utm_content%25253DDevice%252526ds_k%25253DDAC6571%252526DCM%25253Dyes%252526bd_vid%25253D8870825784323826723%252526gclid%25253DCNH8mfj614gDFfzrhAAdvlcq5A%252526gclsrc%25253Dds%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EA%20Basic%20Guide%20to%20I2C%20(ti.com.cn)%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_0-1727084431434.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1727084431434.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300670iF9C0E3096DDBDD56%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_0-1727084431434.png%22%20alt%3D%22mayliu1_0-1727084431434.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E2%3A%20Do%20you%20confirm%20I2C%20communication%20protocol%20is%20correct.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.ti.com.cn%2Fcn%2Flit%2Fds%2Fsymlink%2Fdac6571.pdf%3Fts%3D1727056547190%26amp%3Bref_url%3Dhttps%25253A%25252F%25252Fwww.ti.com.cn%25252Fproduct%25252Fcn%25252FDAC6571%25253Futm_source%25253Dbaidu%252526utm_medium%25253Dcpc%252526utm_campaign%25253Dasc-null-null-GPN_CN-cpc-pf-baidu-cn_cons%252526utm_content%25253DDevice%252526ds_k%25253DDAC6571%252526DCM%25253Dyes%252526bd_vid%25253D8870825784323826723%252526gclid%25253DCNH8mfj614gDFfzrhAAdvlcq5A%252526gclsrc%25253Dds%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%2B2.7%20V%20to%20%2B5.5%20V%2C%20I2C%20Interface%2C%20Voltage%20Output%2010-Bit%20DAC%20datasheet%20(Rev.%20B)%20(ti.com.cn)%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EPlease%20use%20a%20logic%20analyzer%20or%20an%20oscilloscope%20to%20check%20I2C%20protocol%20is%20correct%20as%20you%20send%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_1-1727085531275.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_1-1727085531275.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300684iB4DDC937128CE3DB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_1-1727085531275.png%22%20alt%3D%22mayliu1_1-1727085531275.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EWish%20it%20helps%20you.%3CBR%20%2F%3EIf%20you%20still%20have%20question%20about%20it%2C%20please%20kindly%20let%20me%20know.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%26nbsp%3B%3C%2FP%3E%0A%3CP%3Emayliu%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959755%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959755%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20for%20reply%26nbsp%3B%3C%2FP%3E%3CP%3Ebelow%20is%20updated%20code%20but%20still%20it%20not%20working%20.%3C%2FP%3E%3CP%3Ewhen%20i%20set%20if%20value%20%3D%20500%3B%20then%20dac%20output%20should%20be%20like%20half%20of%203.3V%20.%3C%2FP%3E%3CP%3Ebut%20it%20giving%20like%203v%20sometimes%20or%20any%20random%26nbsp%3B%3C%2FP%3E%3CP%3E(you%20checked%20pin%20configuration%20%2C%20is%20it%20correct%3F%20please%20confirm)%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3EBYTE%3C%2FSPAN%3E%3CSPAN%3E%20data%5B2%5D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Edata%5B%3C%2FSPAN%3E%3CSPAN%3EINDEX0%3C%2FSPAN%3E%3CSPAN%3E%5D%20%3D%20(value%20%26gt%3B%26gt%3B%206)%20%26amp%3B%200x0F%3B%20%3C%2FSPAN%3E%3CSPAN%3E%2F%2F%20Upper%204%20bits%20of%20the%2010-bit%20value%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Edata%5B%3C%2FSPAN%3E%3CSPAN%3EINDEX0%3C%2FSPAN%3E%3CSPAN%3E%5D%20%7C%3D%200x00%3B%20%3C%2FSPAN%3E%3CSPAN%3E%2F%2F%20Set%20the%20two%20zeros%20and%20two%20power-down%20bits%20(00%2011%20XXXX)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Edata%5B%3C%2FSPAN%3E%3CSPAN%3EINDEX1%3C%2FSPAN%3E%3CSPAN%3E%5D%20%3D%20(value%20%26lt%3B%26lt%3B%202)%20%26amp%3B%20MAX_8BIT%3B%20%3C%2FSPAN%3E%3CSPAN%3E%2F%2F%20Lower%206%20bits%20of%20the%2010-bit%20value%20followed%20by%20two%20don't%20care%20bits%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%2F%2F%20LPI2C%20master%20descriptor%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Elpi2c_master_transfer_t%3C%2FSPAN%3E%3CSPAN%3E%20masterXfer%20%3D%20%7B0%7D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Estatus_t%3C%2FSPAN%3E%3CSPAN%3E%20reVal%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkStatus_Fail%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2F*%20subAddress%20%3D%200x01%2C%20data%20%3D%20g_master_txBuff%20-%20write%20to%20slave.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Estart%20%2B%20%3C%2FSPAN%3E%3CSPAN%3Eslaveaddress%3C%2FSPAN%3E%3CSPAN%3E(w)%20%2B%20subAddress%20%2B%20length%20of%20data%20buffer%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%2B%20data%20buffer%20%2B%20stop*%2F%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EmasterXfer.%3C%2FSPAN%3E%3CSPAN%3EslaveAddress%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20I2C_SLAVE_DAC6571_ADDR_7BIT%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EmasterXfer.%3C%2FSPAN%3E%3CSPAN%3Edirection%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkLPI2C_Write%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EmasterXfer.%3C%2FSPAN%3E%3CSPAN%3Edata%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20(%3C%2FSPAN%3E%3CSPAN%3EUINT8%3C%2FSPAN%3E%3CSPAN%3E*)data%3B%20%3C%2FSPAN%3E%3CSPAN%3E%2F%2F(0%20to%201023)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EmasterXfer.%3C%2FSPAN%3E%3CSPAN%3EdataSize%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3Esizeof%3C%2FSPAN%3E%3CSPAN%3E(data)%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EmasterXfer.%3C%2FSPAN%3E%3CSPAN%3Eflags%3C%2FSPAN%3E%3CSPAN%3E%20%3D%20%3C%2FSPAN%3E%3CSPAN%3EkLPI2C_TransferDefaultFlag%3C%2FSPAN%3E%3CSPAN%3E%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3E%2F%2F%20Send%20master%20non-blocking%20data%20to%20slave%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EreVal%20%3D%20LPI2C_MasterTransferEDMA(I2C_MASTER%2C%20%26amp%3Bg_m_edma_handle%2C%20%26amp%3BmasterXfer)%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959739%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959739%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226311%22%20target%3D%22_blank%22%3E%40hanmant%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThank%20you%20for%20your%20interest%20in%20the%20NXP%20MIMXRT%20product%2C%20I%20would%26nbsp%3B%20like%20to%20provide%20service%20for%20you.%3C%2FP%3E%0A%3CP%3EI%20think%20the%20PD1%20and%20PD0%20setting%20is%20not%20correct.%20If%20you%20want%20DAC6571%20work%20normal%2C%26nbsp%3BPD1%20and%20PD0%20should%20set%20as%200.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_0-1727082632798.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1727082632798.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300660i3F2CCAA87134E566%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_0-1727082632798.png%22%20alt%3D%22mayliu1_0-1727082632798.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EWish%20it%20helps%20you.%3CBR%20%2F%3EIf%20you%20still%20have%20question%20about%20it%2C%20please%20kindly%20let%20me%20know.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3Emayliu%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959712%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3Ei%20set%20like%20this%20.but%20not%20working%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBYTE%3C%2FSPAN%3E%3CSPAN%3E%20data%5B3%5D%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Edata%5B%3C%2FSPAN%3E%3CSPAN%3EINDEX0%3C%2FSPAN%3E%3CSPAN%3E%5D%20%3D%20(value%20%26gt%3B%26gt%3B%206)%20%26amp%3B%200x0F%3B%20%3C%2FSPAN%3E%3CSPAN%3E%2F%2F%20Upper%204%20bits%20of%20the%2010-bit%20value%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Edata%5B%3C%2FSPAN%3E%3CSPAN%3EINDEX0%3C%2FSPAN%3E%3CSPAN%3E%5D%20%7C%3D%200x30%3B%20%3C%2FSPAN%3E%3CSPAN%3E%2F%2F%20Set%20the%20two%20zeros%20and%20two%20power-down%20bits%20(00%2011%20XXXX)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Edata%5B%3C%2FSPAN%3E%3CSPAN%3EINDEX1%3C%2FSPAN%3E%3CSPAN%3E%5D%20%3D%20(value%20%26lt%3B%26lt%3B%202)%20%26amp%3B%20MAX_8BIT%3B%20%3C%2FSPAN%3E%3CSPAN%3E%2F%2F%20Lower%206%20bits%20of%20the%2010-bit%20value%20followed%20by%20two%20don't%20care%20bits%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959682%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959682%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226311%22%20target%3D%22_blank%22%3E%40hanmant%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20interest%20in%20the%20NXP%20MIMXRT%20product%2C%20I%20would%26nbsp%3B%20like%20to%20provide%20service%20for%20you.%3C%2FP%3E%0A%3CP%3EI%20check%20dac6571.pdf%2C%20It%20describe%20as%20follows.%3C%2FP%3E%0A%3CP%3EThe%20data%20you%20need%20to%20send%20is%20split%20into%20two%20parts.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_1-1727080587557.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_1-1727080587557.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300637i3C2256AB733EA7FA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_1-1727080587557.png%22%20alt%3D%22mayliu1_1-1727080587557.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_2-1727080604177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_2-1727080604177.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300638iDF9707D0C9BBB2A4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_2-1727080604177.png%22%20alt%3D%22mayliu1_2-1727080604177.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBut%20in%20software%20code%2C%20you%26nbsp%3B%20split%20data%20for%208bit.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_3-1727080634829.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_3-1727080634829.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300639i61932AB9E5DC2622%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_3-1727080634829.png%22%20alt%3D%22mayliu1_3-1727080634829.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%26nbsp%3BSo%2C%20I%20think%20it%20is%20the%20reason%20why%20data%20is%20random.%20Please%20send%20data%20as%20the%26nbsp%3Bdac6571.pdf%26nbsp%3B%20described.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EWish%20it%20helps%20you.%3CBR%20%2F%3EIf%20you%20still%20have%20question%20about%20it%2C%20please%20kindly%20let%20me%20know.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3Emayliu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959612%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959612%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20reply%20.%3C%2FP%3E%3CP%3Eboth%20line%20have%204.7K%20pull%20up.%20please%20check%20code%20and%20configuration%3A%3C%2FP%3E%3CDIV%3E%23define%20I2C_SLAVE_DAC6571_ADDR_7BIT%200x4CU%2F%2F(0x98U%20%26gt%3B%26gt%3B%201)%3C%2FDIV%3E%3CDIV%3E%23define%20DAC_MASK_VALUE%200x03FF%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%2F%2F%20DAC%20value%20should%20be%2010%20bits%2C%20so%20mask%20it%20to%20ensure%20it%20doesn't%20exceed%2010%20bits%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3Bvalue%20%26amp%3B%3D%20DAC_MASK_VALUE%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%2F%2F%20Prepare%20the%20data%20to%20be%20sent%20in%20the%20required%20format%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3BBYTE%20data%5B2%5D%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3Bdata%5BINDEX0%5D%20%3D%20value%20%26gt%3B%26gt%3B%20SHIFT_8BIT%3B%20%2F%2F%20Upper%208%20bits%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3Bdata%5BINDEX1%5D%20%3D%20value%20%26amp%3B%20MAX_8BIT%3B%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%2F%2F%20Lower%208%20bits%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%2F%2F%20LPI2C%20master%20descriptor%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3Blpi2c_master_transfer_t%20masterXfer%20%3D%20%7B0%7D%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3Bstatus_t%20reVal%20%3D%20kStatus_Fail%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%2F*%20subAddress%20%3D%200x01%2C%20data%20%3D%20g_master_txBuff%20-%20write%20to%20slave.%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Estart%20%2B%20slaveaddress(w)%20%2B%20subAddress%20%2B%20length%20of%20data%20buffer%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2B%20data%20buffer%20%2B%20stop*%2F%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3BmasterXfer.slaveAddress%26nbsp%3B%20%26nbsp%3B%3D%20I2C_SLAVE_DAC6571_ADDR_7BIT%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3BmasterXfer.direction%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20kLPI2C_Write%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3BmasterXfer.data%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20data%3B%20%2F%2F(0%20to%201023)%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3BmasterXfer.dataSize%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3D%20sizeof(data)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3BmasterXfer.flags%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3D%20kLPI2C_TransferDefaultFlag%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%2F%2F%20Send%20master%20non-blocking%20data%20to%20slave%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3BreVal%20%3D%20LPI2C_MasterTransferEDMA(I2C_MASTER%2C%20%26amp%3Bg_m_edma_handle%2C%20%26amp%3BmasterXfer)%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3Bif%20(reVal%20!%3D%20kStatus_Success)%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%7B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3Breturn%20DAC_STATUS_FAIL%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%7D%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%2F%2F%20Wait%20for%20transfer%20completed.%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3Bwhile%20(!g_MasterCompletionFlag)%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%7B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F%2F%20Do%20Nothing%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3B%7D%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%20%26nbsp%3Bg_MasterCompletionFlag%20%3D%20false%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1959416%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Interfacing%20DAC6571%20using%20I2c%20with%20RT1020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1959416%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226311%22%20target%3D%22_blank%22%3E%40hanmant%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThank%20you%20for%20your%20interest%20in%20RT%20MIMXRT%20product%2C%20I%20would%20like%20to%20provide%20service%20for%20you.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20would%20like%20you%20to%20confirm%20that%20the%20following%20points%20are%20correct.%3C%2FP%3E%0A%3CP%3E1%EF%BC%9A%20whether%20the%20SDA%20and%20SCL%20hardware%20has%20pull-up%20resistors%2C%20and%20whether%20the%20I2C%20DMA%20demo%20software%20is%20configured%20in%20open-drain%20mode.%3C%2FP%3E%0A%3CP%3E2%EF%BC%9APlease%20check%20if%20the%20address%20configuration%20for%20the%20DAC6571%20chip%20is%20correct.%20If%20you%20are%20controlling%20the%20output%2C%20you%20should%20use%20the%20Address%20Byte%2C%20not%20Broadcast%20Address.%3C%2FP%3E%0A%3CP%3EIf%20it's%20convenient%2C%20please%20use%20a%20logic%20analyzer%20or%20an%20oscilloscope%20to%20check%20if%20each%20acknowledge%20bit%20of%20the%20I2C%20protocol%20is%20correctly%20pulled%20low.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_0-1727061206246.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1727061206246.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300560i813DE3A9243E0ABE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_0-1727061206246.png%22%20alt%3D%22mayliu1_0-1727061206246.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_1-1727061206252.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_1-1727061206252.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300562iDF3E6D611EEC5BE3%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_1-1727061206252.png%22%20alt%3D%22mayliu1_1-1727061206252.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E3%EF%BC%9APlease%20confirm%20that%20the%20I2C%20configuration%20in%20the%20RT1020SDK%20demo%20is%20consistent%20with%20the%20configuration%20for%20the%20DAC6571.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_2-1727061206255.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_2-1727061206255.png%22%20style%3D%22width%3A%20392px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F300561iD1C55FB5CFCDDE0E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_2-1727061206255.png%22%20alt%3D%22mayliu1_2-1727061206255.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWish%20it%20helps%20you.%3C%2FP%3E%0A%3CP%3EIf%20you%20still%20have%20question%20about%20it%2C%20please%20kindly%20let%20me%20know.%3C%2FP%3E%0A%3CP%3EBest%20Regards%3C%2FP%3E%0A%3CP%3Emayliu%3C%2FP%3E%3C%2FLINGO-BODY%3E