- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think PZR needs to be set 1(open drain) when I uses I2C.
But, I2C poling example in PDL 2.0.2 seems not to set PZR.
How is PZR set correctly?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Inoue-san,
I don't think customer needs to set the PZR manually, as it should be initialized while starting the I2C HW block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please let me know what the PZR you mentioned refers to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PZR is Port Pseudo Open Drain Setting Register.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let me know if you have encountered any application issue over I2C?
As the description of PZR register shows, this function is implemented only some specific pins. Can you confirm if the pins occupied by I2C is capable PZR setting? I guess the relevant IO mode settings by default in the initialization of I2C. The users may need not much care to this point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, fwan-san,
>Let me know if you have encountered any application issue over I2C?
I2C communication of the customer's application is failed.
>Can you confirm if the pins occupied by I2C is capable PZR setting?
The customer uses P51 pin and P52 pin.
Best Regards,
Inoue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let me know if the customer's application runs finely once the PZR of I2C pins is set?
If yes, I believe it's a bug of PDL. We will check and try to fix it in next release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI fwan-san,
I'm sorry, the communication error was due to another factor.
That solved.
But, the customer wants to know about PZR setting.
I and he think PZR setting is nessesory.
Because, I2C communication specification needs open-drain,
and PZR is for open-drain control setting in pseudo mode.
Is it correct?
If yes, please tell me whether it needs to be set by user or it is set automatically.
Best Regards,
Inoue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Inoue-san,
I don't think customer needs to set the PZR manually, as it should be initialized while starting the I2C HW block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, WangS_81-san,
Thank you for your help.
I understood your answer, and I told it to the customer.
Best Regards,
Inoue