cancel
Showing results for 
Search instead for 
Did you mean: 

Generated code will not compile when using multiple I2C Blocks

csp_kc
Associate II

When I use one I2C block the generated code will compile without errors. When I use 2 I2C blocks on different peripheral channels. My generated code will not compile error free. I am wondering if others run into similar issues, when using multiple I2C blocks in a simulink project.

0690X000006Clq7QAC.png

These are the errors I get.

0690X000006ClqCQAS.png

Blocks are called here

0690X000006ClqHQAS.png

Inside one of the function calls

0690X000006ClqMQAS.png

Inside the Write Complete function call

0 REPLIES 0