Tool/software:
Hello,
Hello TI Community,
I am working with an RH850 microcontroller (part number R7F701684) and trying to interface it with the TPS92682EVM-069 LED driver evaluation board via SPI. My goal is to read the default register values from the TPS92682 using the SPI interface.
Setup:
-
MCU: RH850 (R7F701684)
-
Peripheral: TPS92682EVM-069
-
Interface: SPI (configured according to MCU datasheet and example code)
-
SPI Mode: Configured with CPOL=0, CPHA=0(as per TPS92682 datasheet recommendation for read/write transactions)
-
SPI Clock: ~1 MHz
-
EN pin on TPS92682: HIGH (>2.5 V)
-
Tested the SPI driver in loopback mode on RH850: works correctly
Problem:
When I attempt to read any register from the TPS92682, I consistently receive garbage values (e.g., 0x0F04
, 0xFFFF
) instead of the expected default values. This happens even for registers that are supposed to have known default states.
Request:
Can someone please guide me on the correct approach to reliably read default register values from the TPS92682 using RH850? Any insights on SPI frame assembly, timing requirements, or known quirks with this evaluation board would be extremely helpful.
Thank you in advance!