UJA1169 in Normal Mode

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

UJA1169 in Normal Mode

1,025 次查看
RaresTudor
Contributor I

Hello, I am trying to configure the UJA1169TK/F/3 to work in Normal Mode but I am stuck at  switching the SBC from Standby mode to Normal Mode, I try to do this by writting the value 0x07 in the Mode Control register at the address 0x01. Even if I do this, when I read back the register it shows me that I am still in Stand By mode ,and the CAN communication is not working.

I want to mention that the SPI communication works fine, I have created a function to read the ID of the SBC and it returns the correct value. I have also wrote in the non volatile memory and disabled the Forced Normal mode.

Do you guys have any idea why I can switch to Normal Mode?

Thank you

 

0 项奖励
回复
3 回复数

1,004 次查看
guoweisun
NXP TechSupport
NXP TechSupport

After you write the register content ,do you read it again to verify?

0 项奖励
回复

176 次查看
yannichang960308
Contributor I

Set  state to  nornal mode ..but fail....still at standby mode

 

if(status == STATUS_SUCCESS)
{
status = SBC_SetMode(config->mode);
}
/* Device was initialized successfully. */

 

yannichang960308_0-1728630750814.png

 

0 项奖励
回复

171 次查看
yannichang960308
Contributor I

 I am trying to configure the UJA1169TK/F/3 to work in Normal Mode but I am stuck at  switching the SBC from Standby mode to Normal Mode, I try to do this by writting the value 0x07 in the Mode Control register at the address 0x01. Even if I do this, when I read back the register it shows me that I am still in Stand By mode ,and the CAN communication is not working.

I want to mention that the SPI communication works fine, I have created a function to read the ID of the SBC and it returns the correct value. I have also wrote in the non volatile memory and disabled the Forced Normal mode.

Do you guys have any idea why I can switch to Normal Mode?

Thank you

0 项奖励
回复