How can we implement a impedance analyzer using arm m4f micro-controller? - arm

I need to measure the impedance of a composite material (in Giga ohms). How can I implement a device using ARM M4F micro-controller which can measure the impedance by giving a frequency sweep of 1Hz to 10MHz to the material and measure the impedance at each point of frequency?

Related

How to microbenchmark an algorithm on an ARM laptop?

On a servers or a desktops it's reasonable to just disable frequency scaling and then one can run microbenchmarks.
But how do you meaningfully run microbenchmarks on a arm? (Given different cores and energy efficiency)
Specific context:
Processor: M2
Microbenchmakrs for basic algorithms (think sort, strlen - a long those lines).
I am interested in measuring both energy efficient and high-performance cores.
UPD: to avoid confusion: I'm pretty sure the library (GoogleBenchmark) can measure the time correctly. I just want to run the binary correctly

How to implement CMSIS DSP Library in Cortex M3 (STM32F103)

I'm trying to follow these steps in order to use the FFT for my project, but every tutorial I follow keeps giving me the same error region 'FLASH' overflowed by 49836 bytes.
I understand that the microcontroller I'm using doesn't have enough space in it's memory to hold all the library (since it's full of tables to speed up the math) but it doesn't make sense that ST won't provide a native way of doing signal processing for Cortex M3 microcontrollers.
I would like an efficient way of doing FFTs with this microcontroller. Even Arduinos can do this with their own limitations.
Microcontroller specs:
STM32F103C8 (the board is a BluePill), 64KB Flash, 20KB RAM.
You can go to the CMSIS github repo and generate the library without the tables that go unused. That might help. Otherwise try a different library preferably one that doesn't precalculate the bit twiddle tables before hand at the cost of performance.

Is there a way to get power consumption in ARM CPUs?

Intel CPUs from SandyBridge and newer have MSRs that allow to get an accurate energy consumption (Measured in micro joules). These are visible to the kernel (RAPL - Running average power limit). Is there an equivalent option for ARM CPUs?

Clock and Bus how they have been connected

I am learning about these hardware clocks and Bus communication.
As per my understanding, if two processors(say ARM and DSP) are to be communicated/data transfer through bus, they need a clock for synchronous access.
In such case, will there be a single clock for both master and slave, or there can be an individual clock for each master and slave, both running at the same Hz?
I am specific to AMBA AHB/AXI. Can somebody help me in understanding this correctly or get some more resources possibly?
This is the wrong forum for this.
First off in general you do not need clocks depending on the interface, ethernet for example, uarts, etc, etc. The clock can be extracted from the data and/or agree on the same clock and deal with the drift between oscillators (uart).
For amba/axi that is all within the same silicon, the chip vendor if they choose to have an arm and a dsp are building it on the same die and are managing the clocks. that bus does have clocks, absolutely. The problem is solved by basic design, if you have to interface between two busses on the same chip you ... interface between two busses on the same chip.
If you are crossing chips then you are not using amba/axi...

Intel atom or ARM for heavy Signal processing workload

I would like to know which is a better (in performance) option :
To get a Intel Dual core atom based board
To get a Arm cortex A9 based board (pandaboard etc)
I would like to run some light version of linux and do some very cpu intensive
computations like Image/Video processing (maybe 3D later) and also process audio
on them. Of-course all floating point mathematics.
Definitely #2, Pandaboard is an OMAP4 platform.
OMAP4 contains not only the ARM Cortex A9 (which is not likely to compete on it's own with dual core Atom), but, and this is crucial, a full C674x DSP core, both floating and fixed point mathematics.
The embedded DSP core in OMAP4 is fully capable of handling 1080p H.264 decode, with some resources to spare. I'm yet to see an Atom platform capable of that.
(shameless plug - my company is using OMAP3 and evaluating OMAP4 for some of our niche markets, and we might be interested in assisting in yours as well)

Resources