Skip to main content
csp_kc
Associate II
December 7, 2018
Question

Generated code will not compile when using multiple I2C Blocks

  • December 7, 2018
  • 0 replies
  • 735 views

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

This topic has been closed for replies.