Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Why isn't high side digital output stable?

Status
Not open for further replies.

jani12

Advanced Member level 4
Full Member level 1
Joined
Oct 30, 2014
Messages
104
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,494
Our Advanced Drive Assist Systems(ADAS) project is based on Renesas RH850/U2A16 microcontroller. We are using Infineon Technologies TLE75620-EST, SPI Driver for Enhanced Relay Control IC for driving loads. Datasheet is attached. We don't have any loads connected to SPIDER output pins. We're not commanding digital output logic low or logic high. On power up, SPIDER digital outputs pins are not stable. They are toggling between logic high and logic low. Attached is SPIDER OUT0_HS pin unstable waveform measured with oscilloscope.

When we stop code execution, output pin is stable. Please see attached SPIDER OUT0_HS pin stable waveform.

Microcontroller communicates with SPIDER chip over spi interface. Instead of stopping code execution, if we dynamically disable spi communications, would the digital output become stable?

Why is the digital output toggling? Microcontroller is using spi interface for control and diagnosis. Are we sending something over SPI that's commanding the digital output to toggle?
 

Attachments

  • Infineon-TLE75620-EST-DS-v01_00-EN.pdf
    2.7 MB · Views: 39
  • OUT_HS_Digital_Output_pin.png
    OUT_HS_Digital_Output_pin.png
    260.2 KB · Views: 100

Carry for cents bazar

Member level 5
Member level 5
Joined
Aug 2, 2020
Messages
81
Helped
10
Reputation
20
Reaction score
16
Trophy points
18
Location
CZ
Activity points
417
Hi jani12,

There can be various reasons. The circuit will help us. Can you please check which module is enabled by default for your MCU at power up. I am guessing your PWM is enabled and used.

From the datasheet:
Two internal PWM Generators for μC offload

page 3:
A serial peripheral interface (SPI) is utilized for control and diagnosis of the loads as well as of the device. Fordirect control and PWM there are two input pins available connected to two outputs by default. Additional ordifferent outputs can be controlled by the same input pins (programmable via SPI).

This should be a software problem of not setting the internal PWM module correctly at the initialization or in the code. Your code seems to activate the module and produce a square wave impulse at the output of the pin.
 
  • Like
Reactions: jani12

    jani12

    Points: 2
    Helpful Answer Positive Rating

jani12

Advanced Member level 4
Full Member level 1
Joined
Oct 30, 2014
Messages
104
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,494
>> A serial peripheral interface (SPI) is utilized for control and diagnosis
Correct! low-level software is writing current to Spider Diag open load register every other 100ms to perform Open Load diagnostics in the Off State. That's why every other cycle, digital output is logic High.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top