UJA1169 in Normal Mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

UJA1169 in Normal Mode

1,024 Views
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 Kudos
Reply
3 Replies

1,003 Views
guoweisun
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

175 Views
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 Kudos
Reply

170 Views
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 Kudos
Reply