Skip to main content
6 votes
Accepted

Am I over-complicating this data acquisition design?

You can't time-domain multiplex a filter like that. The "state" of the filter (the voltage and/or current in the reactive components) is unique to each channel and would have to be multiplexed as well....
Dave Tweed's user avatar
  • 178k
5 votes
Accepted

I2C seems to work but all register reads return 0s

The I2C waveforms on the scope shot look like valid I2C, so that rules out common errors like forgetting to include SCL/SDA pullup resistors, or having too much bus capacitance, etc. At the bit/...
MarkU's user avatar
  • 15.1k
4 votes

Am I over-complicating this data acquisition design?

Having worked at a telemetry house, right out of college, I provide this design. System must accurately read out 16 sensors, to 10 bit accuracy, 200 times a second. Assuming a single ADC, the start-...
analogsystemsrf's user avatar
3 votes

Using Arduino as an I2C PSOC Embedded Bootloader Host (ISP)

Looking at the complexity involved, I would not continue with your plan as it is now i.e. to go from "nothing" straight to "Arduino as PSOC I2C Bootloader Host". That's because, as you are finding, ...
SamGibson's user avatar
  • 18.3k
3 votes
Accepted

Cypress MCU strucks in Hard Fault Handler

Piece of your code would definitely help. You need a hard fault handler that will explain you what happened. Follow this guide. Most of the time hard faults are caused by: Accessing a wrong address ...
filo's user avatar
  • 9,096
3 votes
Accepted

Servo controller

I couldn't be more happy. We have solved the problem and now the servo works as it should. An expert helped me who have worked with servo systems. He also highlighted that the Electric Gear Ratio (EGR)...
Levente's user avatar
  • 455
3 votes

Why doesn't PSOC 5LP print this number?

It looks like test is defaulting to an integer datatype, unless you have declared it otherwise in one of your header files. Your real literal, 0.1, is being ...
Elliot Alderson's user avatar
2 votes

Are RS232 to RS422 converters reversible?

Yes, they are reversible. 1). 232Rx <= 422Tx. 2). 232Tx => 422Rx. This is what, generally, the converter pinouts say. The first line converts 422 to 232 and vice versa for the second.
samjay's user avatar
  • 66
2 votes

What's an idiomatic way to detect posedges inside a FSM in Verilog?

(what happens if syncsignal goes high when I'm not in STATE_WAIT?) That is a more matter of specification. What are you building? What do you want to happen when? What you have build is a that the ...
Oldfart's user avatar
  • 14.6k
2 votes

How to upload image to flash of PSoC with openocd?

Look inside /usr/share/openocd. Words in italics refer to the subfolders of that: OpenOCD has so-called board scripts (TCL, of all languages!), which describe how to interface with some hardware. In ...
Marcus Müller's user avatar
1 vote
Accepted

Using DS2482-100 to communicate with DS28E05

As guessed (see hypothesis) the two chips doesn't start in the same speed mode. The old start in low mode (and can be set to high speed) The new one only work in high-speed mode. Solution: I have to ...
Mathieu's user avatar
  • 131
1 vote

Power monitoring difficulties using ACS71020 30A SPI and PSoC 5LP

This fixed my issues with random readings. I've done some testing and i've found out that as stated in the cover of the datasheet the power supply of your ASEK71020KMAB-090B3-I2C and your Micro-...
Diogo Ferreira's user avatar
1 vote

What's an idiomatic way to detect posedges inside a FSM in Verilog?

Normally, you wouldn't do that kind of edge detection directly inside the state machine. Instead, you'd have a separate process for that: ...
Dave Tweed's user avatar
  • 178k
1 vote
Accepted

strange array values (C, psoc, usbuart)

the problem was that my character array holding the data to send over UART was not large enough to hold the information i was trying to send. this line in the code-- ...
Ashley Reid's user avatar
1 vote

How does this resistive pull up and resisitive pull down circuit work?

The purpose of the buffer is to reflect the value of the Pin at all times. For this circuit, all you have to ask yourself is 'what is the ...
slightlynybbled's user avatar
1 vote

PSOC 5 interfacing with PIR sensor

Instead of reading from the PSOC, I'd read from a simple digital port and put a switch on it. Then you can debug your code before finally introducing the PSOC register reads.
Jack Creasey's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible