Hello Infineon support team.
I'm evaluating I2C master using following environment.
- EVB: CY8CKIT-062S2-43012
- Tool: Modus ToolBox version 2.4.0
- Template App: I2C Master
By default, mtb-hal-cat1 version is 1.6.0. I can see an expected I2C behavior.
However, if mtb-hal-cat1 version is 2.0.1, I2C does not work fine. The "handle_error()" code is called because all buffer are "0" value.
/* Check packet structure and status */
if ((PACKET_SOP == buffer[PACKET_SOP_POS]) &&
(PACKET_EOP == buffer[PACKET_EOP_POS]) &&
(STS_CMD_DONE == buffer[PACKET_CMD_POS]))
/* Next command to be written. */
cmd = (cmd == CYBSP_LED_STATE_ON) ?
CYBSP_LED_STATE_OFF : CYBSP_LED_STATE_ON;
handle_error(); ★★ Called this code if mtb-hal-cat1 version 2.0.1.
Can I have your any advice to fix this issue?
Solved! Go to Solution.
ModusToolbox PSoC 6 SDK