machine.I2C and the stop condition

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: machine.I2C and the stop condition

Post by pythoncoder » Thu Nov 09, 2017 9:17 am

Curiosity piqued I researched this a little yesterday. My confusion arose because of the DFT in the block diagram - in fact it processes only one frequency bin and is a means of measuring the complex magnitude of a sinusoidal signal. Not the most obvious way of doing this but the claim is that it confers a high degree of noise immunity.

If anyone else is interested in this there are some application notes that reveal all: http://www.analog.com/media/en/technica ... AN_843.pdf, http://www.analog.com/media/en/technica ... AN-847.pdf.
Peter Hinch
Index to my micropython libraries.

User avatar
roland_vs
Posts: 89
Joined: Tue Dec 08, 2015 8:28 pm
Location: Netherlands
Contact:

Re: machine.I2C and the stop condition

Post by roland_vs » Sat Nov 11, 2017 3:33 pm

@pythoncoder

There are nice application for the chip (see analog devices website):
See CN039 application of Analog Devices to create an EC meter and temperature (really smart).
Another nice application is to measure the characteristics of a loudspeaker.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: machine.I2C and the stop condition

Post by pythoncoder » Mon Nov 13, 2017 9:07 am

It is indeed an interesting chip. I studied the loudspeaker application note the other day. I was puzzled by the method of producing a variable clock frequency which looked like something I might have designed. In 1974. I wonder why they don't include a programmable binary divider on-chip?

Failing that there must be easier ways to do it in 2017 compared with a string of d-types and a digital mux.
Peter Hinch
Index to my micropython libraries.

Khangee
Posts: 1
Joined: Wed Apr 07, 2021 7:44 pm

Re: machine.I2C and the stop condition

Post by Khangee » Wed Apr 07, 2021 7:49 pm

NielsClausen wrote:
Tue Nov 07, 2017 3:23 pm
Ahh! Great explanation – will keep that in mind when reading the docs :-)

Thanks again. I have now built my very rudimentary AD5933 driver. When it has been expanded and tested, I will share it .
I am struggling writing micro python driver for AD5933. Can you share your code

Post Reply