Inverting clock signal

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joshnz
    Badcaps Veteran
    • Feb 2011
    • 969
    • New Zealand

    #1

    Inverting clock signal

    The situation is this, the micro controller inbuilt serial interface is setup to to clock with high to low and the time keeping chip is low high.
    Anyway here is my solution provided in the attachment.
    Attached Files
    My pc
    CPU : AMD PHENOM II x4 @ 3.5Ghz
    MB : ASUS M4A89TD PRO USB3
    RAM : Kingston ValueRAM 16gb DDR3
    PSU : Cooler Master 850W Silent Pro
    GPU : ATI Radeon HD 6850
  • Rob Northen
    Senior Member
    • Jan 2010
    • 137
    • Denmark

    #2
    Re: Inverting clock signal

    74HC14 chip ??
    Or mabye I'am totally lost

    Comment

    • Agent24
      I see dead caps
      • Oct 2007
      • 4930
      • New Zealand

      #3
      Re: Inverting clock signal

      I think you could just use a single transistor design but depending on your clock frequency beware something like a common BC547 may not switch fast enough.

      Probably better to use an inverting buffer IC like Rob suggests.
      "Tantalum for the brave, Solid Aluminium for the wise, Wet Electrolytic for the adventurous"
      -David VanHorn

      Comment

      • joshnz
        Badcaps Veteran
        • Feb 2011
        • 969
        • New Zealand

        #4
        Re: Inverting clock signal

        A ic would be nice but would be a waste most have 4+ and I only need 1.
        How ever I will try the bc547 if it is too slow I will find out.
        The max clock the RTC can take is 2MHZ the serial is set to 300bps
        My pc
        CPU : AMD PHENOM II x4 @ 3.5Ghz
        MB : ASUS M4A89TD PRO USB3
        RAM : Kingston ValueRAM 16gb DDR3
        PSU : Cooler Master 850W Silent Pro
        GPU : ATI Radeon HD 6850

        Comment

        • Rob Northen
          Senior Member
          • Jan 2010
          • 137
          • Denmark

          #5
          Re: Inverting clock signal

          Originally posted by joshnz
          A ic would be nice but would be a waste most have 4+ and I only need 1.
          How ever I will try the bc547 if it is too slow I will find out.
          The max clock the RTC can take is 2MHZ the serial is set to 300bps
          It has 6 in/outputs

          Comment

          • Longbow
            Badcaps Veteran
            • Jun 2011
            • 623
            • USA

            #6
            Re: Inverting clock signal

            What is the clock frequency? If you only need to invert the clock, you might find that your uPC already has an inverted clock port already. If not my observations: BC547 is a g.p. transistor. You should be using something designed for switch operation. A 100K resistor in the base is too large, because it starts to be a problem because of stray capacitance on the traces and the transistor. With a 5 volt system, a 100K base resistor will pull about 43 uA from the base. That is far too low to get this transistor saturated. I suggest 10K or below. The collector voltage should be around .2 v. if the transistor is saturated. That's what you want.
            Is it plugged in?

            Comment

            • joshnz
              Badcaps Veteran
              • Feb 2011
              • 969
              • New Zealand

              #7
              Re: Inverting clock signal

              Well So far I have tried software serial it works if I heavily load the Sclk line and with the hardware serial at 300bps I get no usable data.
              I am currently on holiday in Christchurch for Christmas Had my mums mum pass away on the 19 went to her funeral on the 21 (I came to Christchurch with mum after the funeral)
              And on the 23 were hit by two large earthquakes of 5.8 and 6.0.
              mum didn't take both of those to well but we had a good Christmas today
              My pc
              CPU : AMD PHENOM II x4 @ 3.5Ghz
              MB : ASUS M4A89TD PRO USB3
              RAM : Kingston ValueRAM 16gb DDR3
              PSU : Cooler Master 850W Silent Pro
              GPU : ATI Radeon HD 6850

              Comment

              • joshnz
                Badcaps Veteran
                • Feb 2011
                • 969
                • New Zealand

                #8
                Re: Inverting clock signal

                I'm back my next thing i am going to try is a much much lower clock signal.
                My pc
                CPU : AMD PHENOM II x4 @ 3.5Ghz
                MB : ASUS M4A89TD PRO USB3
                RAM : Kingston ValueRAM 16gb DDR3
                PSU : Cooler Master 850W Silent Pro
                GPU : ATI Radeon HD 6850

                Comment

                • joshnz
                  Badcaps Veteran
                  • Feb 2011
                  • 969
                  • New Zealand

                  #9
                  Re: Inverting clock signal

                  Went back to bit banging working now so didn't need to invert the signal the code was backwards fixed that now getting the time off the DS1302+ via The PIC16F727.
                  Have one issue and that is writing to the DS1302+ will look the code over some time and see why.

                  A funny thing happened earlier and that it was displaying 30:53:25 did not know there was a 30 00 in 24 hours I reset it to 24 hour time and set it to the current hour it went from 23 00 to 0 00 now 3:01:24 so later wen i get up i'll see if the time is still valid.
                  My pc
                  CPU : AMD PHENOM II x4 @ 3.5Ghz
                  MB : ASUS M4A89TD PRO USB3
                  RAM : Kingston ValueRAM 16gb DDR3
                  PSU : Cooler Master 850W Silent Pro
                  GPU : ATI Radeon HD 6850

                  Comment

                  Related Topics

                  Collapse

                  • ictc
                    Philips MDP 3380/12 Blu-ray Player – No Power, Reset Signal Always High
                    by ictc
                    I'm troubleshooting a Philips MDP 3380/12 Blu-ray player that shows no signs of life. The display remains off, and no buttons respond.

                    Inside, the power supply is working correctly, and all expected voltages on the mainboard match the service manual specifications. The CPU warms up slightly (checked with a thermal camera), the crystal oscillator is functioning, but the reset signal remains high at all times.

                    The reset circuit appears to consist of two NPN transistors, one driven by 5V VCC and the other by 3.3V STBY, as shown in the attached schematic. Should the reset...
                    02-25-2025, 12:15 PM
                  • AstutePauciloquent
                    Requesting Help For GA-970A-DS3 rev. 1.0, No Post code, no RSMRST# signal
                    by AstutePauciloquent
                    Hi everyone, over the past few months i have taken a deep dive into motherboard diagnostics and I love the challenge. Currently im trying to learn all about the signals that travel around the motherboard, such as frequencies, enable signals High and Low logic states etc. And i have been learning to read and using the Schematics for this board that i requested here on Badcaps forum, from a few months ago, this is such a great place for these.

                    I’ve been working on a GA-970A-DS3 (rev. 1.0) that does not post. This motherboard has been my main learning board. I would like share...
                    11-23-2023, 11:02 PM
                  • MasterCap
                    AVR-2802 no audio, chip questions
                    by MasterCap
                    I do some hobby repairs mainly of my own junk, and I don't know much programming level repair/mods.

                    I got the AVR-2802 over the weekend, sold as working of course, and it worked for 1 night, using EXT. IN 5.1CH jacks, then after power down, the audio never came back. I've reset it, and get nothing on EXT IN or PHONO, despite having everything set right, hooked up right. I can hear lots of relays work tho.

                    I just want it for 5.1CH analog inputs , for PC surround sound. I'm not worried about the video or most of the digital stuff for now.

                    So far I've traced...
                    01-15-2024, 10:52 PM
                  • howardc64
                    Vizio M65Q7-H1 Red Vertical Strips fixed by tape blocking LC1 signal to half of the panel
                    by howardc64
                    Failure Symptom



                    No picture, just red vertical stripes. Google search shows quite common problem for these recent Vizio M series although red vertical stripe pattern may differ. Some call it "Netflix" boot screen haha.

                    Where is the short?

                    Panel has 4x buffer boards. Quickly found the 1/4 panel buffer board with the problem by selectively disconnecting buffer board flex cables.



                    Having recently fixed another Vizio with similar symptoms that was a shorted ESD diode array ( link ) Probed the ESD diode array but...
                    05-27-2025, 02:56 PM
                  • Document Archive
                    AD7276, AD7277, AD7278, AD7274, AD7273​ Datasheet
                    by Document Archive
                    AD7276, AD7277, AD7278, AD7274, AD7273

                    The AD7276, AD7277, AD7278, AD7274, AD7273 are 12-bit/10-bit/8-bit, high speed, low power, successive approximation analog-to-digital converters (ADCs), respectively. The parts operate from a single 2.35V to 3.6V power supply and feature throughput rates of up to 3 MSPS. The parts contain a low noise, wide bandwidth track-and-hold amplifier that can handle input frequencies in excess of 55 MHz.

                    The conversion process and data acquisition are controlled using CS and the serial clock, allowing the devices to interface with microprocessors...
                    10-07-2024, 05:32 AM
                  • Loading...
                  • No more items.
                  Working...