EmbeddedRelated.com

James Larson (@doctek)

Embedded systems, SMT design, and 3D printing make my world rock!

Re: How to get a signal from 74595

Reply posted 5 years ago (01/12/2020)
Right again! The construction completely confused me as I missed the "i". The original code works, but I would certainly not have written it that way.Sorry for the...

Re: How to get a signal from 74595

Reply posted 5 years ago (01/11/2020)
Quite correct! So data never changes. Putting the statement data = data >> 1;after the else if clause will make it work.

Re: How to get a signal from 74595

Reply posted 5 years ago (01/11/2020)
kingca -All that has been said about the control of the HW is correct, but you should also have a look at your SW as well. The way your if - else if test is written...

Re: Pololu AVR programmer on Arduino ATMega328P

Reply posted 5 years ago (11/14/2019)
When I google for "Arduino Mini USB Nano", the boards shown have a usb on one end and a 6 pin programming header on the other. If that's the case, I don't understand...
How are you reading the analog output? I don't see where that is done in your code. If it is the case that you are looking with your scope, but not seeing analog...
How are you verifying the timing of the clock pulses? Using a scope would be the best. You need to be sure that your timing is correct. Also check the voltage levels...

Re: A million UARTs....

Reply posted 7 years ago (06/03/2017)
A key question is whether the sensors that are connected will transmit whenever they want (in which case you must handle multiple channels of asynchronous input)...

Re: RISC Processor Architecture

Reply posted 8 years ago (02/07/2017)
If your goal is to understand the architecture, I suggest "Computer Architecture - A Quantitative Approach" by Hennessey and Patterson. Explains the details in a...

Re: ARM CMSIS FFT - does it produce correct results?

Reply posted 8 years ago (01/14/2017)
Others have pointed at this, but let me make a clear statement and quote from the mbed documentation for the function: The input data is complex and contains 2*fftLen interleaved values as shown below. {real[0], imag[0], real[1], imag[1],..} The FFT result will be contained in the same array and the frequency domain values will have the same interleaving. If...

Re: Beaglebone Black SPI Interfacing

Reply posted 8 years ago (01/06/2017)
The suggestion of a scope is a good one! A logic analyzer could work also - a really cheap one should do it here since the frequencies you're dealing with are pretty...

Re: Reading Response Bytes using SPI

Reply posted 8 years ago (08/05/2016)
OK, here are a couple of thoughts to find the problem. SPI is generally pretty simple, but there can be stumbling blocks.First, are you sure the part is getting...

Re: Reading Response Bytes using SPI

Reply posted 8 years ago (08/05/2016)
Just looking at the flow chart you show (wait for ff, then read response) and considering that you get ff back from the part makes me think things may be working....

Use this form to contact doctek

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address