- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
=========
<main.c>
Line 285:
/* 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;
}
else
{
handle_error(); ★★ Called this code if mtb-hal-cat1 version 2.0.1.
}
==========
Can I have your any advice to fix this issue?
Thanks,
Tayo
Solved! Go to Solution.
- Labels:
-
ModusToolbox PSoC 6 SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @tayo,
Please refer to the following community thread: https://community.infineon.com/t5/PSoC-6-SDK/I2C-Master-using-mtb-hal-cat1-version-2-0-1/td-p/331563
Thanks and regards,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @tayo,
Please refer to the following community thread: https://community.infineon.com/t5/PSoC-6-SDK/I2C-Master-using-mtb-hal-cat1-version-2-0-1/td-p/331563
Thanks and regards,
Nikhil