PE - bug in I2C for DSC utility

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

PE - bug in I2C for DSC utility

跳至解决方案
834 次查看
Ben
Senior Contributor I

Hello

I tried to use the I2C_RecvBlock for DSC (8257) - it does not work good.

It should send address in write mode, and switch to read mode without sending a STOP bit.

It enter read mode and read the number of bytes I need, but without sending the address first.

I work with CW 11 and automatic STOP option ON.

Is there a new PE addon ?

1 解答
710 次查看
BlackNight
NXP Employee
NXP Employee

Yes, you can disable code generation in different ways, and you can do it for a single component too, see Disable my Code Generation | MCU on Eclipse 

I hope this helps,

Erich

在原帖中查看解决方案

3 回复数
710 次查看
Ben
Senior Contributor I

OK, I found the problem in PE code, and corrected it.

Q: Is there a way to freeze only the IIC file so PE will not run over the changes I made?

0 项奖励
回复
711 次查看
BlackNight
NXP Employee
NXP Employee

Yes, you can disable code generation in different ways, and you can do it for a single component too, see Disable my Code Generation | MCU on Eclipse 

I hope this helps,

Erich

710 次查看
Ben
Senior Contributor I

Thanks Erich, it's a pity that I saw your response only today... I disabled this module auto-generation, and started to smile again :-)