some problems in CyU3PI2cSendCommand.help

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

who can give me some information about the CyU3PI2cSendCommand?

   

I read the Doc "FX3APIGuide",but i was confused about the CyU3PI2cSendCommand.

   

and

   

struct CyU3PI2cPreamble_t {
uint8_t buffer[8];
uint8_t length;
uint16_t ctrlMask;
};

   

how to use the buffer? how to use length? how to use ctrlMask? 

0 Likes
1 Solution
3 Replies
Anonymous
Not applicable

Please look at cyu3i2c.h in C:\Cypress\FX3 SDK\firmware\u3p_firmware\inc, you should be able to find the necessary details through the comments in the file.

   

Regards,

   

Anand

0 Likes

hi
    how configure CyU3PI2cPreamble_t if the register length longer then 8 bytes.
for example, if i want to read register address 0x123456789acbde1234,  the value with is 10byes, how to configure?

thanks
xingxing

0 Likes
0 Likes