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

Power Management ICs Forum Discussions

liwen
Level 1
Level 1
10 sign-ins First reply posted 5 sign-ins

What is the data frame format sent to the 35584 and the frame format it returns? The received data doesn't feel right?

0 Likes
4 Replies
AnilKumar
Moderator
Moderator
Moderator
10 likes received 100 sign-ins 50 replies posted

Hello,

Please refer Figure 74  "SPI  -frame in Normal mode" of datasheet to see the right frame format of SDI and SDO of PMIC SPI Interface.

AnilKumar_0-1673860433633.png

Reach out to us if you have any further questions.

Thanks

Anil

I sent the data in this format, but the returned data has always been problematic. Hardware automatic odd check is set, MSB, 16-bit data is sent, and the returned data is not clear

0 Likes

I sent the data in this format, but the returned data has always been problematic. Hardware automatic odd check is set, MSB, 16-bit data is sent, and the returned data is not clear

BD9C97FD-6A55-4e09-888E-FBE88FBB50D2.png

0 Likes
AnilKumar
Moderator
Moderator
Moderator
10 likes received 100 sign-ins 50 replies posted

Hello,

Please try changing the last argument of SPI_SetupEB to 2 instead of 1 since your using 2 bytes of data to avoid SPI errors.

Please refer to the following sample driver code of TLF35584.

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/SPI_TLF_1_KIT_TC397_TFT

Thanks

Anil

0 Likes