PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi community,
I am trying to get a connection between my PSoC 5LP and an external device (AD5933) to measure the impedance via the AD5933. At the beginning I am trying to measure the temperature via the AD5933 for testing purposes.
At the moment I think i managed the get some communication, but I am not sure if my received data are the data I wanted to get from my AD5933. I adressed the device and adressed the internal register to please measure the temperature. Then the UART should show me the received data. But now I just geting "27" as output data. Might it be a problem of the size of the data? I think with my code I am just able to transport 8 bits but the AD5933 datasheet says the temperature data are 14 bits.
Maybe my code is wrong, it is my first time to handle with I2C communication.
I hope some of you have some useful tips for me. Thank you in advance.
Show LessHi.
I have a problem with reading from a UART. I have attached a code file.
When I try to receive data using GetChar() function,. I can't read more than 3 bytes.
I am running a for loop to get all the bytes in a buffer. Anybody who have a solution?
Show LessHello,
I am looking to sample 16 inputs using the ADC and my PSoC5. I am looking for the most efficient and the fastest way to do this.
My current attempt is not working well - I tried to use an ADC_SAR_Seq block with 16 inputs. I am getting some values that are vaguely relevant but the performance is really really bad.
What I actually need is to sample different channels at different points in my main loop. Some need a Moving Average filter, some are fine as single sample. So I think I will need to implement a component based solution, i.e. a separate MUX and ADC.
Signal wise:
0-5v input
<10Hz sampling frequency required.
Performance improvements:
Decoupling RC on each pin - high frequency noise removal.
As I know from Step1 to Step2 what the next channel that needs sampling is, I can preset the MUX and allow it to settle.
I can introduce a generic LPF between the MUX and ADC ( not sure how well this would work) using the highest frequency acceptable for my signals.
Do I need a PGA after the MUX, before the filter? Could probably use a unity gain amp there.
Thank you very much!
Andrei
Do you have any suggestions how to best implement this?
Show LessI am using a FREESOC2 from sparcfun to create a lab support tool. It allows access to much/all of the functionality of the PSOC5LP.
I was programing it and learning more and all was going well. Then It failed to acquire target. I downloaded and installed the latest version of Creator, opened Programmer and updated the firmware on the target successfully. However, Creator still fails to see it. The debugger shows up on the com port in the device manager so it's there. However, Creator can not "acquire it". I also grabbed a spare FRESOC2 and tried to acquire it unsucessfully. Lastly, this morning I also had to reregister my Keil license which I did. Any help resolving this would be greatly appreciated. The PSOC solves so many lab integration problems for me...
Thanks,
Mike
Show LessHi,
I am playing with the SPIS example, created by Creator 3.3 for PSoC 5.
It compile without problems at 24 MHz MASTER / BUS CLK
If PLL is changed from 24 to 66 MHz ( to increase CPU speed ) STA M0019 warnings are reported.
It looks like SPIS to DMA interrupt connection timing problem.
Is there a way around this, and still have full CPU speed ?
SPIM Example doesn't seem to have this problem ?
Thanks
Geert
Show LessHello Everybody,
I am dealing with very very small signals ( something near the mV or uV scale) and I need amplify it using an PGA. The problem is that the maximum gain available is 50 and it still not enough. I already tried to connect one PGA output in the input of another, but the results were totally unexpected and something random ( at least for me) even when both gain were just 1. Someone has some hint what is happening or what can be done?
Show LessHi Every one
I have already updated from PSoC Creator 3.1 SP3 To PSoc Creator 3.0.
I am having trouble to build projects created with the previous version of Creator.
May be I am not understanding the following message every time I am opening any project.
The following new system-level components have been found: LIN_Dynamic. The Design-Wide Resources file, 'Project.cydwr', stores the selected version of these components. The newly found component versions need to be saved so they don't auto-update to the latest version in the future if/when newer versions of the components become available.
What does mean LIN_Dynamic ?
Thank you very much
Show LessHello All,
I'm working on a design that uses a PSOC5LP and I haven't been able to find information that says if it's required to hook up the boost converter. I don't need the feature in my design and would like to know what has to be done to disable the converter.
Any help is appreciated,
R04
Show LessHi,
Does anyone know of a source for small quantities e.g., 10 or 20 pieces for the Samtec FTSH-105-01-L-DV-K 2x5 shrouded on board connector 10 pin debug connector?
~ Martin
Show LessI'm trying to make a usb bootloadable project for my psoc5.
I can program with the miniprog just fine.
I built the bootloader project, added it to my bootloadable project.
When I actually attempt to load, via the USB, new code (using the bootloader host in psocCreator/tools) I get this:
03:05:30 PM - Selected device: USB Human Interface Device (04B4_B71D)
03:05:33 PM - Programming Started
03:05:33 PM - The attached device is not compatible with the one specified. The Silicon ID/Silicon Revision reported by the device do not match the value expected based on the contents of the *.cyacd file.
Programming completed in 32ms.
Any idea? I don't know how the siliconID/Revision are arrived at in the bootloader code and how they could be different in my bootloadable binary download file (the cyacd file).