Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 5, 3 & 1

LeYu_281131
Level 3
Level 3

My project uses I2C component but changed "BufSize" from 8bytes to 16bytes.

when I use I2C, It works well for few secones to few minutes.

but after that PSoC called "CyHalt" continuously.

How I debug PSoC to solve my problem?

if you have any advice, please teach me.

capture6.PNG

0 Likes
3 Replies
BragadeeshV
Moderator
Moderator First question asked 1000 replies posted 750 replies posted
Moderator

Hi user_45452503​,

Please share your project file so that we can debug the firmware and identify the issue. From your side you can use the call stack to see from where the CyHalt was called.

Regards,

Bragadeesh

Regards,
Bragadeesh
0 Likes
LeYu_281131
Level 3
Level 3

Thank you for the replay.

the Call Stack that you mentioned, is the call stack that can see in my attached picture?

If Not same, please give me a information to see call stack.

Thank you

0 Likes
BragadeeshV
Moderator
Moderator First question asked 1000 replies posted 750 replies posted
Moderator

Hi user_45452503​,

I meant the call stack you have in your attached image.

Can I set a buffer more than 256 byte for I2C in Slave Mode?  Can you please let me know if this is related to this thread? Did you write your own .c .h files or did you modify the component?

Regards,

Bragadeesh

Regards,
Bragadeesh
0 Likes