CY68C6247BZID44 EZI2C Buffer1出錯?

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

cross mob
lock attach
Attachments are accessible only for community members.
Translation_Bot
Community Manager
Community Manager
Community Manager

buffer1.png

如圖,EZI2C buffer1為什麼突然出現FF-,是什麼原因?

感謝infineon支持

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CY68C6247BZID44-EZI2C-Buffer1%E5%87%BA%E9%94%99/td-p/683731

6 回應
Translation_Bot
Community Manager
Community Manager
Community Manager

您好,您可以根據以下提示訊息去檢查出現了哪種相關問題:

 

Ida_Wang_1-1706233296955.png

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CY68C6247BZID44-EZI2C-Buffer1%E5%87%BA%E9%94%99/m-p/683899

0
Translation_Bot
Community Manager
Community Manager
Community Manager

如何釋放或清空ezi2cbuffer?

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CY68C6247BZID44-EZI2C-Buffer1%E5%87%BA%E9%94%99/m-p/683964

0
Translation_Bot
Community Manager
Community Manager
Community Manager

您好,

1. 首先您需要關注的是“r 08-”, 這裡您需要查看一下在通信過程中,您的板子是否還在正常運行,如果有點燈程序可查看燈是否正常閃爍。

2. 程式中呼叫的「miEZI2C_SetBuffer1()」這個介面入參都是如何定義的,請您確認這裡參數呼叫正確

Ida_Wang_0-1706252108259.png

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CY68C6247BZID44-EZI2C-Buffer1%E5%87%BA%E9%94%99/m-p/684097

0
Translation_Bot
Community Manager
Community Manager
Community Manager

PingFuQi_0-1706254032761.png

有二個EZI2C通訊接口,目前用的是I2C

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CY68C6247BZID44-EZI2C-Buffer1%E5%87%BA%E9%94%99/m-p/684118

0
Translation_Bot
Community Manager
Community Manager
Community Manager

請確認我前面提到的第一點,看返回結果,懷疑是板子在通訊過程中跑異常了

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CY68C6247BZID44-EZI2C-Buffer1%E5%87%BA%E9%94%99/m-p/684154

0
Translation_Bot
Community Manager
Community Manager
Community Manager

ezi2cbuffer不存在釋放或清空的說法,可以透過write operation去設定Base Address。您可以查看PSoC6 PDL中關於EZI2C的Master Write operation 和Master Read operation的詳細介紹:

https://infineon.github.io/psoc6pdl/pdl_api_reference_manual/html/group __group__ scb__ezi2c.html

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-6/CY68C6247BZID44-EZI2C-Buffer1%E5%87%BA%E9%94%99/m-p/684103

0