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: 3695
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

User avatar
roland_vs
Posts: 86
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: 3695
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

Post Reply