TransmitPoll()

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TransmitPoll()

1,196 次查看
dt_t
Contributor I

Hi Team

I download the software example file "SW3647.zip".

I want to port the NTAG I2C plus to my project which read the data from NFC through NTAG I2C plus.
I trace the file "i2c_lpc8xx.c" in the folder "NTAG_I2C_API\src\HAL_I2C".
I can not trace the function "int16_t TransmitPoll(uint8_t *tx, uint8_t tx_len)" because I can not find the definition of LPC_I2CD_API ->i2c_master_transmit_poll.

Would you explain or show me where it defined?

Best Regards

dt

标记 (1)
0 项奖励
回复
2 回复数

1,142 次查看
nxf58474
NXP Employee
NXP Employee

Hi dt,

 

Hope you are doing well. That SW is used for the NTAG I2C plus Explorer Kit, with the LPC11U37H. The lpc8xx code is not updated, as it is not used in this Kit. The configuration of the project is that those files even compile.

 

You can use the same structure of the functions, but in this case you would need to adapt the I2C functions.

 

Other option is to use the NTAG I2C plus example from the SDK. Some of our boards have the implementation of the example (for example the FRDM-K64F or the LPCXpresso55S69).

 

You could download it from this page: SDK Builder.
pastedImage_5.png 

In MCUXpresso you will be able to import the ntag_i2c_plus examples.  pastedImage_7.png

These examples would be helpful to port to other MCU.

 

Best Regards,

Ricardo

0 项奖励
回复

1,142 次查看
dt_t
Contributor I

thanks!

0 项奖励
回复