- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In a specific MiniProg3, it has been observed that the EZI2C communication between Bridge Control Panels has a large pause.
See below.
MiniProg3/1707CA000BE0:
Other MiniProg3, MiniProg4 and KitProg often have the following pauses:
What could be the cause?
My PC performance is below.
Best regards,
Yocchi
- Labels:
-
PSoC Creator & Designer Software
- Tags:
- bridge control panel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yocchi-san [@YoIs_1298666],
Are there other interrupts involved in the project? EZI2C works on interrupts, and I believe that other high priority interrupts are causing the EZI2C to be stalled until they are completely addressed.
You might want to prioritize EZI2C over interrupts.
Thanks and regards,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Nikhil-san,
I don't think your point is correct.
The rationale is as follows.
1. Even if the priority of the EZI2C interrupt is given the highest priority, it does not change.
2. If the EZI2C interrupt is Disable or has a low priority, the clock should be stretched when receiving the slave address. Unfortunately the clock is not stretched.
I think it's a Windows 10 task scheduling issue.
Is it possible to raise the priority of task schedules in the Bridge Control Panel?
Best regards,
Ishii
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @YoIs_1298666,
Can you share the project so that we can take a look at it?
Bridge control panel cannot be used for priority setting.
Do you observe I2C communication taking place even when EZI2C interrupt is disabled? This behaviour is not expected. Are the I2C pins being accessed by some other peripherals?
Regards,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Nikhil-san,
I have already uploaded it to CDC as sample code.
You can find the project from CDC code example.
But, I am trying it with custom board of CY8C4147AZQ-S475 now. So, I am using MiniProg3.
https://community.cypress.com/t5/Code-Examples/Analog-sine-wave-with-CY8CKIT-149/td-p/133647
For additional information, when I connect and evaluate other MiniProg3, MiniProg4 and KitProg, I2C communication interruptions are roughly less than or equal to the following.
Then, when I receive with TeraTerm using UART communication with the same MiniProg3, the communication is not interrupted as shown below.
Best regards,
Ishii
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
BCP seems to check the COM port on a regular basis. Isn't this the cause of the long interval for I2C master operation?
Best regards,
Yocchi