This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TVP5150 interrupt reset

Other Parts Discussed in Thread: TVP5150AM1, TVP5150

In interrupt reset register B of TVP5150AM1,

1.  there is an Software initialization reset bit, What is it used for?

2.  Can Software initialization reset reset the whole Tvp5150 chip?

3. Which reason can triger Software initialization reset ? 

4. If the RESETB is trigered, then Software initialization reset will occur?

5. Except the PDN and RESETB pins, is there any regeister can cause the cpu of  TVP5150  reset?

Thank you very much!

  • 1.  there is an Software initialization reset bit, What is it used for?

    * This bit causes the internal processor to restart and should be effectively the same as a hardware reset.

    2.  Can Software initialization reset reset the whole Tvp5150 chip?

    * Yes, it should

    3. Which reason can triger Software initialization reset ? 

    * Not sure I understand the question? This is under your control. It could be used to reset all registers back to their defaults quickly

    4. If the RESETB is trigered, then Software initialization reset will occur?

    * Yes

    5. Except the PDN and RESETB pins, is there any regeister can cause the cpu of  TVP5150  reset?

    * No

    BR,

    Steve

  • Thank you very much!

    1.  But I thinke the answer of question 1 and 5 seem contradictory. Can Software initialization reset  bit(bit 7 of 0x1C) reset the whole CPU of TVP5150?                                                                                                                                               

    2.   I have try, the settings are:          0x1C = 0x80;  0x1D = 0x80;                                                                                              but after set, I read and get the value: 0x1C = 0x00;   0x1D = 0x80;    and the TVP5150 is not reset. What may be the reason?

  • OK, I thought you were asking for other HARDWARE conditions which could reset the device. Obviously software rest will reset the processor.

    All I2C registers are actually not really hardware registers and are 'virtual' registers which are handled internally by the custom processor. When you write to register 1Ch nothing is forced in hardware, but the internal processor notices this register write and jumps to its boot address to restart the processor in the same way it would for an external hardware reset.

    What is the actual problem you are trying to solve, since I don't think any of this information so far is important?

    BR,

    Steve

  • Steve Clynes said:

    OK, I thought you were asking for other HARDWARE conditions which could reset the device. Obviously software rest will reset the processor.

    Yes, you are right.
     
    Steve Clynes said:
    What is the actual problem you are trying to solve, since I don't think any of this information so far is important?
    During my program running, I want to change the settings of TVP5150AM1, and make the new settings effect by reset. I want to know whether TVP5150AM1 has a software reset to reset the whole CPU of TVP5150AM1. If yes, How can I do?
    Thank you very much!
  • What settings are you changing? There are very few settings that should need to be changed other than brightness/contrast possibly. If these are all you need to change then why not just change these rather than a complete reset?

    Issuing a software reset should reset  the entire device and reset all the register back to their initial settings.

    BR,

    Steve

  • 1.  I want to switch between Day mode and Night mode, I think I should change the brightness/contrast register. Am I right?

    2.  After I change the brightness controller register, I want to effect the changed setting immediatly, so I think I should reset the TVP5150 first, Am I right? If not, how can I do to enable the changed settings? If yes, is there software reset can be used?

    Thank you very much.

  • No, brightness and contrast have nothing to do with day/night mode.

    Usually the difference between day and night mode is that the source camera switches to monochrome mode for night vision, which is usually illuminated by infra red lighting, hence there is no color information available.

    You first need to decide what exactly you mean by day and night mode.

    Changing brightness and contrast happens immediately. You do not need to reset the TVP.

    The only time you need to reset the TVP is if you want to, well, completely reset it back to the power up defaults.

    BR,

    Steve

  • Thank you very much!

    But any way, I only want to make the new settings of  brightness to be available, if hardware reset pin can not used, can it be realized by software?

  • I am not sure what your question is?

    Brightness is simply changed by changing the brightness register.

    Reset does what its name suggests, and resets everything back to the defaults.

    BR,

    Steve

  • Thank you Steve. I know your mean.

    1. DO you mean: during the tvp5150 is running, I can change the brightness register at any time, then the changed setting will be effectiv at once?

    2. But ,for example,  I change the brightness register, but the brightness of display is not changed. Only after the tvp5150 is reset , then I  change the brightness register, then the brightness of display is changed.

    What may be the reason?

  • Correct, you can change the brightness at any time and it should become effective immediately.

    Reset should actually completely reset all the internal registers and effectively 'undo' any register changes you have made, setting the decoder back to the exact same state as immediately after power up.

    My guess is that your I2C transactions are not compliant with the TVP requirements/datasheet.

    If you need to issue a software reset after trying to set the brightness then what I think is really happening is that you are missing a clock pulse on the I2C clock and the 'reset' command is not really resetting the device, but is providing the 'missing' clock. As I mentioned previously a software reset should completely reset the device so it it is NOT resetting everything, and is in fact making the brightness command suddently become active then in fact neither the brightness command nor the reset command are being detected correctly.

    You have an issue with your I2C I believe.

    BR,

    Steve

  • Steve Clynes said:

    My guess is that your I2C transactions are not compliant with the TVP requirements/datasheet.

     I think is really happening is that you are missing a clock pulse on the I2C clock

    Do you mean:

    after I set the register with I2C, I should wait some time for I2C transaction completed?

     

  • No, I mean your I2C signal integrity is possibly bad, or you are not sending a correct I2C sequence.

    BR,

    Steve