ICSSW retweeted
Stalingrad, 11. Januar 1943
Liebe Mutter!
Jetzt erst weiß ich, was Hunger ist u. wie weh er tut. Schon wochenlang muß ich mit 1½ Schnitten Brot u. einem halbvollen Kochgeschirr Wasser-Suppe auskommen. Ich bin so schlapp und müde, Du glaubst es nicht. (…)
Meine liebe Mutter, wird es noch einmal Tage geben, wo ich bei Dir sein kann? Wo Deine Hände mich hegen u. pflegen? Ich kann es kaum noch begreifen, daß es nochmal so schön werden kann. Alles war ein Traum.
Im festen Glauben an eine baldige Änderung grüßt und küßt Dich
Dein Sohn Hans
#NieWiederKrieg
ICSSW retweeted
A great day to celebrate the @IARU centenary in Paris. Welcoming messages from the @ITUSecGen CEPT and @OEA_CITEL. The @ITUSecGen presented IARU with an original copy of the 1927 Radio Regulations that first defined the amateur service and allocated 80,40,20,10 and 5 meters
ICSSW retweeted
#hamr #hamradio #IARU is inviting you all to visit the IARU Innovation Zone during the coming HAM RADIO fair, booth A1-374.
More info on: iaru-r1.org/events/iaru-at-h…
ICSSW retweeted
4U1ITU calling OG2Y...
What a great way to celebrate #WorldAmateurRadioDay -exchanging w/ @IARU_R1 youth coordinator OH1ESI!
Fellow amateurs, thank you for your service. Am excited for younger generations in the #HamRadio community to carry forward our mission.
73/88 from KD2JTX!
World Amateur Radio Day 2024
ICSSW retweeted
World Amateur Radio Day: IARU celebrates a century of connections itu.int/hub/2024/04/world-am…
Happy WARD! Yes @itu used an AI photo but the content of the post is very relevant! @IARU
ICSSW retweeted
Ethernet interface board for the Remote Radio Unit (RRU). It connects to an Eth-fiber converter and allows for baseband transfer using "CPRI-lite" protocol based on ZeroMQ. Standby for more news concerning our open source M17 RAN hardware (and more!).
^SP5WWP
ICSSW retweeted
Also remembering the messages you sent that day, before I made my long journey to Jupiter.
ICSSW retweeted
Roll Your Own SDR:
If you have software-defined radio hardware and you are only using someone elses’ software, you are missing out on half of the fun. [Tech Minds] shows you how easy it can be to roll your own software using GNU Radio Companion in a re… ift.tt/HRUD45q
ICSSW retweeted
Here is the link to the @IARU news release summarizing the WRC iaru.org/wrc-23-outcome/ – at Calgary, Alberta
ICSSW retweeted
📌Provisional Final Acts of the @ITU World Radiocommunication Conference (WRC-23) are now available.
itu.int/wrc-23/documents/
#ITUWRC
ICSSW retweeted
Hard to believe but the analysis of the X2.8 solar flare has been done that was quick. The solar flare did have an associated CME, that is Earth directed arrival on the 17th. #CME #SpaceWeather
ICSSW retweeted
Earlier today, the Sun popped off the largest #SolarFlare since September 2017. It’s certainly been a while since we’ve seen saturation like this in the SDO/AIA data. Unfortunately, this instrument wasn’t designed for large flares like this! #spaceweather
ICSSW retweeted
Replying to @ITU
ICSSW retweeted
The I2C Protocol According to the DS1307 Datasheet
Buckle Up – You’re going on a crash course in I2C Data Communication according to the DS1307 Datasheet.
Some things to go over before starting.
I2C uses two connections for communication. It has a Data pin, called SDA, and Clock Pin, called SCL.
The controller is the I2C device that generates the clock signal. I2C devices on the bus do not generate their own clock signal. An I2C device can not initiate I2C communication with the controller on it’s own.
On page 6, you can read that the I2C Pins are Open Drain, meaning that they need a pull-up resistor. The device manipulates the signal by pulling it low, but in a resting state it is logic high, because it is pulled up.
Going back even further to Page 3, where we find the AC Electrical Characteristics, it describes the clock signal and shows a complete cycle adding up to 10uS.
Page 10 starts by introducing the control signals. There are four main control signals that are used by manipulating the data line, during a high clock pulse.
I2C has four control signals It has:
- a not busy signal
- start signal
- stop signal
- and acknowledge signal.
The signal and data being transmitted is dictated by what position the data logic is in, but only while the clock pin is high. When the clock pin is not high, it doesn’t matter what the data pin is doing, until the controller sends the START signal.
Before communication starts, both the clock and data lines should be pulled high, because the I2C lines have a pull up resistor on them.
To start communications, the controller will change the data pin from high to low, while the clock signal is high. Again, within the period of time while the clock is high, which on page 3 we see that the high period is 4 uS, the data pin will change from a high state to a low state, which on page 3 again we see that the fall time for the data line is 0.3 uS.
This signals to every device on the I2C bus that we are about to start some I2C communication. Following this signal, the controller will send a 7-bit address that matches an I2C device on the bus. The eighth bit in the byte is a Read or Write command. This bit is high for reading data and it is low to tell the device that the controller is going to send data to write to its registers.
Following every byte sent, the I2C device will send an acknowledge bit. The acknowledge bit is when the receiving device pulls the data pin low on the clock pulse following each byte.
This is how every I2C communication starts.
Following this, the controller or device will send bytes to each other and they would send ack signals to each other.
When communication is over, the controller will send a STOP signal. When the controller wants to send a STOP signal, it will let the data pin go from low to high during the clocks high period. On page 3 we see that the rise time is 1 uS.
That covers all of the control signals. There is also something called ‘Repeated Start’, but that’s used to write and we’ll go over that later. Everything else on the I2C bus is addresses with R/W bits or byes of data, parsed by acknowledge bits sent from the receiving device.
Continuing down page 10, The datasheet tells us that the I2C bus can operate at a standard mode of 100 khz or fast mode of 400 khz, but the DS1307 only operates at 100kHz, which is a cycle length of 10 uS, which we can confirm on Page 3.
Flipping to page 11, we’re presented with Figure 3. It shows a good example of what the data and clock lines look like. You should check it out.
Okay, before we start page 12, let’s do a quick review:
- Clock Pulses are generated by the controller, not the device.
- Start and Stop signals are generated by the controller.
- The Ack bit it always sent from the receiver and sent after every byte of information.
- Data is always sent with the Most Significant Bit First.
- When reading from a device, the device will read from where the pointer is or from the beginning.
Page 12 and 13 show the three communication protocols within the I2C standard. There is:
- Data Write – Where the controller write data to the device.
- Data Read – Where the device sends data to the controller starting from where the register pointer is.
- Write Pointer Data Read – Where the controller points to an address and then reads from there.
Let’s go over them.
Data write goes like this:
- The controller sent the start signal, a 7-bit address, followed by a 0, which tells every device on the I2C bus what address you want to start communication with and that you want to write to it.
- The device sends an acknowledge bit, which is pulling the data line low on the following clock pulse.
- This is followed by the register address you want to start writing to
- This is again followed by an acknowledge bit from the device.
- Then the controller sends bytes of data followed by an acknowledge bit. It keeps writing bytes until it’s finished.
- When it’s finished, the controller send a stop signal.
- Both lines return to a NOT BUSY condition with both lines pulled high.
Something to remember from Page 7, if you’re writing and you write past address 3Fh, it will wrap around to register 00h and it will overwrite your clock data.
Data read goes like this:
- The controller send the start signal, followed by the device’s 7-bit address and a 1 bit.
- The device sends an acknowledges bit
- Then the device sends the first byte of data.
- The controller then sends the acknowledge bit following each byte the device sends.
- When the controller is finished reading, the controller send a high bit instead of a low bit on the following clock pulse and then sends the stop signal.
Something about Data read to remember is that it will start reading where ever the register pointer is when the read command is sent. Also, the device will continue to send you data until you tell it to stop by sending the stop signal.
To tell the device what register you want to start reading from, you need to do whats called a ‘Write Pointer Data Read’. To do this we tell the device we want to write to it, then what address we want to start writing to, and then we send another start signal, followed by the address and the read bit, then start reading.
It goes like this:
- The controller sends the start signal, followed by the 7-bit device address and a low write bit.
- The device sends the acknowledge signal.
- The controller sends the register address that it wants to write to
- The device sends and acknowledge and the register pointer has moved.
- Now the controller sends another start signal, followed by the same 7-bit address from before, but now with a high read bit.
- The device sends and acknowledge bit, then reads out the first byte
- And then the controller sends acknowledge signals until it’s finished.
- When the controller is finished, it will send a high not acknowledge bit followed by the STOP signal.
You will almost always read data in your firmware in this way because it moves the register pointer where you want it to be when you start.
That covers the I2C Protocol, according to the DS1307 Datasheet. This datasheet can be found from analog.com/media/en/technica…
If you liked this, you’d probably like my podcast. Here is a link to the DS1307 episode. Available on Spotify, Apple Podcasts, Amazon Music, Audible and more. spotifyanchor-web.app.link/e…
Thank you for your time and have a great day.








































