TLF 35584 Configuration

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

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

cross mob
Ijaz
Level 1
Level 1
5 sign-ins First question asked Welcome!

Hi,

In SPI_TLF_1_KIT_TC397_TFT example, The code flow is Device is configured to enter Init to Normal state as explained in 11.3.2,  but i have noticed that device is entering Normal state before calling the function setStateTransitionTLF35584(&g_tlfDevice, DeviceStateTransition_normal); 

Q) Is this possible for TLF35584 to enter Normal state without SPI-Go to Normal command?

PFA for the code and debugger snippets

Ijaz_1-1670249211427.png

 

Ijaz_2-1670248886056.png

 

 Ijaz_1-1670248205220.png

Ijaz_0-1670249157839.png

 

0 Likes
1 Solution
AnilKumar
Moderator
Moderator
Moderator
First question asked 50 solutions authored 10 likes received

Hello,

Q) Is this possible for TLF35584 to enter Normal state without SPI-Go to Normal command?c

Solution) As mentioned in the datasheet, there is no exception other than the SPI command "Go to Normal" to send TLF from INIT state to Normal state.

We tested with the same example code SPI_TLF_1_KIT_TC397_TFT with KIT_A2G_TC397_5V_TFT Eval board and found no deviation from the statement above, i.e. getCurrentStateTLF35584 returned a value of 1 (DEVSTAT) when called before setStateTransitionTLF35584 function and a value of 2 after setStateTransitionTLF35584 function indicating an INIT to Normal state transition.

Please check if decoding of DEVSTAT register is correct.

Thanks

Anil

View solution in original post

0 Likes
1 Reply
AnilKumar
Moderator
Moderator
Moderator
First question asked 50 solutions authored 10 likes received

Hello,

Q) Is this possible for TLF35584 to enter Normal state without SPI-Go to Normal command?c

Solution) As mentioned in the datasheet, there is no exception other than the SPI command "Go to Normal" to send TLF from INIT state to Normal state.

We tested with the same example code SPI_TLF_1_KIT_TC397_TFT with KIT_A2G_TC397_5V_TFT Eval board and found no deviation from the statement above, i.e. getCurrentStateTLF35584 returned a value of 1 (DEVSTAT) when called before setStateTransitionTLF35584 function and a value of 2 after setStateTransitionTLF35584 function indicating an INIT to Normal state transition.

Please check if decoding of DEVSTAT register is correct.

Thanks

Anil

0 Likes