GD3162 BIST

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GD3162 BIST

356 次查看
Akshat_VE02376
Contributor III

Hi NXP,
When I'm trying to perform BIST, in my project...GD is writing 3FF to all the register data bits. Why is this hapenning? Do I need to manually induce some delays before disabling BIST?
I've attached the code snippet please review and let me know.

0 项奖励
回复
1 回复

338 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Akshat,

Please refer to figures 41 and 42 of the GD3162 datasheet. After setting BIST=1, INTA & INTB pin will go low and BIST will be run. It can take up to 15ms for BIST to complete. When BIST is complete, INTA and INTB will go back high. The code needs to wait for this indication to read SPI. SPI read during BIST is not allowed. After BIST has completed, the code should write BIST bit to 0 and check either the state of INTA/INTB or the BIST_ERR flag to know if it was successful.

xavier_b_0-1741855639220.png

xavier_b_1-1741855648616.png

BRs, Tomas

0 项奖励
回复