Quantcast
Channel: Cypress Semiconductor - Cortex-M3 PSoC 5 Design Challenge
Viewing all 52 articles
Browse latest View live

Riot-OS on PSoC5


Getting CE95358 to work with Linux- SAR sampling with SPI and USBUART communication with PSoC 5LP

$
0
0

New to PSOC.  Hope this is right forum.

I got project CE95358 to work with Win 10.

 

I need it to work with Linux as the serial host.  Linux did not recognize the psoc 5lp device.  Is there a device driver that has to be installed on the Linux machine?

oled interface

LVDT on PScC 5LP

$
0
0

Hi,

I plan to build an LVDT Signal conditioner lik This in Datasheet of AD630 page 17 , but with source of 13 kHz

 

( Using Wave-Dac-Sinus from PSoC + extern THS4531A) but I don´t use Hw-Phase Shifter ) Is it possible to obtain from Wave-Dac

rectangle (log. signal) with phase shift 90 degree?

How can I to use with input -Mi- of SigmaDelta ADC v3.2 ?

I should obtain a synchro-demodulated signal ..

regards

zbyno

Capacitive smart surface questions

$
0
0

Hi,

I am building a device that allows objects to be recognized on a smart surface. We decided to stick with capacitive sensing.
See this for an example: https://www.tiggly.com/
The final design will be a modified version of the Magic Trackpad. https://www.ifixit.com/Teardown/Magic+Trackpad+Teardown/3395
It consists of a few blocks:
Sensor for Touch (10", 10 points) -> Controller -> Raspberrypi(outputs processed data - OBJ_ID at (X,Y) )+BT -> Tablet-> Application

 

I have a few questions:

-Is it realistic finish integrating the Controller and Digitizer into a working prototype in 1-2 months? I am a bachelor electronic engineering student
There is an option of buying a development kit with a screen or ready products but this is not really designing. Even with this option there is a lot of work to be done still, so i am worried about the timeline.
devkit: http://nl.farnell.com/microchip/dv102013/dev-brd-mtch6303-capacitive-mul...
example of controller: http://www.farnell.com/datasheets/1948343.pdf
example of Digitizer: http://www.ebay.de/itm/DIGITIZER-iPad-2-SCHWARZ-Touchscreen-Front-Glas-T...

-Do you know of Capacitive Touch controllers that are able to process Z-axis data/proximity/hover as well, and output a diameter of the touch or distance from the surface? I need this in order to differentiate between merely taking your hand off the object, and taking the object off the surface. Other ways of sensing this difference are welcome.

I am waiting for the Cypress datasheets. I was considering this one: http://www.cypress.com/documentation/development-kitsboards/cy3295-mtk-t...

- I am having difficulties with finding capacitive digitizer manufacturers that have them readily available at a good price:
http://nl.rs-online.com/web/p/touch-screen-sensors/7496849/ vs http://www.ebay.de/itm/DIGITIZER-iPad-2-SCHWARZ-Touchscreen-Front-Glas-T...
Where should i seek these screens? I found 3M, AMT, DMC but they are a lot more expensive than digitizers.

Psoc 5LP audio samples receive

$
0
0

I `m studying Computer Science at University of Granada, Spain.

I have an Android app that extract 16-bit audio samples from a mp3 file. I need to receive those samples at 44.1 kHz with HC-06 bluetooth module connected to my psoc 5LP.

I need some guidelines to program my psoc. My initial idea is to transmit samples from UART module to a buffer and a DMA module to read samples from the buffer at 44.1 kHz,  to send it to a DAC module connected to an analogic output. 
 

 

register address definition error in the headfile of s6e2cc.h

$
0
0

1、I found an error in the headfile of  s6e2cc.h. It is that the definition of register address is error. let we see the error in the s6e2cc.h:(showed in the picture 地址错误.png)

 

In the headfile ,the address of the Register FASZR is 0x42000000, but according to the peripheral manual of s6e2cc series,the correct address of Register FASZR is 0x40000000.(showed in the picture 正确地址.png)

 

why is this so ?

 

 

Dual bootloader application

$
0
0

Hi all,
I have attached a test code for Dual bootloader application.
SCM master and SCM slave are the two bootloadable application.
SCM master when executed will toggle single GPIO line (blink a single LED).
SCM slave when executed will toggle two GPIO line (blink a two LEDs).

If the GPIO line is read high, then the Bootloader should start the SCM master application immediately.
If the GPIO line is read low, then the Bootloader should start the SCM slave application after the wait timeout.

When I program the SCM master application (through PSoC creator), irrespective of the GPIO line status, the bootloader starts SCM master application. If the GPIO line is read high, then the Bootloader starts the SCM master application immediately.If the GPIO line is read low, then the Bootloader starts the SCM master application after the wait timeout.

Similarly when I program the SCM slave application (through PSoC creator), irrespective of the GPIO line status, the bootloader starts SCM slave application. If the GPIO line is read high, then the Bootloader starts the SCM slave application immediately. If the GPIO line is read low, then the Bootloader starts the SCM slave application after the wait timeout.

Why is the behavior not as per the expectation?
Which hex file should I program to make sure that the flash has bootloader, SCM master and SCM slave images.

 


PSoC® 5LP ADC total conversion rate

SD card affecting RTC

$
0
0

I am having a weird issue with a board I designed using the 68-QFN packaged PSoC 5. Whenever I insert the mico SD card into my board, the RTC seems to stop working as in it fails to count or increment. This does not happen using the dev kit however so I am a little confused. For the layout of the PSoC chip, I followed the recommenced layout in the datasheet and am powering it though a 5V regulator. The RTC is using the internal XTAL 32 kHz clock. The micro SD card connector is routed directly to assigned PSoC 5 pins since, I believe, its logic level is 3.3V. Using a logic analyzer, I can see that whenever the SD card was removed, the RTC would count correctly and when the SD card was inserted the RTC would just remain at the time I set it to on startup. Any ideas? (The SD card does read and write correctly by the way)

Thanks

Interfacing a glucometer with Psoc.

$
0
0

Hi.

I'm working on a project and it's my first time using the psoc but i am getting familiar with it and I like it. I want to read some data stored in a glucometer through the serial port. I have two questions.

1- I want to use the pins 1[2] and 1[4] to connect to the RX and TX of the glucometer and once I have the data in the psoc, i want to use the usb-to-uart bridge to send the data to the computer and be able to see if i am getting the data correctly. So total i will be using two UART in the psoc. I would like to know if i can do this or I am only allowed to use one UART and the pins 12[6] and 12[7] to connect to the glucometer?.

2- So far, I am not using any external voltage supply and I want to power the blucometer module using the voltage coming from the kitprog (VTARG) using the pins VDD and GND in the psoc. I will use and external supply when everything is working but right now I don't have any available. I want to make sure that i am connecting everythig well before try it and avoid any problem.

PC<--->PSOC<---->Glucometer  

Ps. I am using the Psoc 5LP and english is not my first language, so if there is anything that is not clear please let me know and i will try to explain it better.

Thanks in advance.

Multiplexer/Demultiplexer

Hardware mux timing

$
0
0

I am trying to design a circuit that oscillates at ~48 kHz using hardware muxes and clocks.  A picture is attached.  PSoC lets me build this design using 2 clocks that are synched on the two muxes.  (Master CLK is 48 MHz).  It keeps giving me a Warning 1350:Asychronous paths exist from clock2(routed) to Clock1. 

 

Does anyone know why this is happening and how to resolve it?

Thanks!

jk

Attachments: 

Trouble waking from Sleep with SleepTimer with PSoC5LP

$
0
0

Hi all,

I'm having problems waking from Sleep using the SleepTimer with the PSoC5LP. I am trying to implement an auto-wake feature and would like to use the SleepTimer to wake the device when it has been asleep for 4096ms (max SleepTimer counter).

I implemented the SleepTimer_Interrupt_Sleep demo project on my development board and observed the LED indicating the toggling of the LED at the appropriate period based on the SleepTimer duration. Great. The I proved the component works...

The problem that I encountered is that the counter does not appear to be reset when SleepTimer_Stop() and SleepTimer_Start() are called. In the demo project the SleepTimer component is started prior to the main loop and never disabled. In my application, I want to enable the SleepTimer() component only when I am about to sleep. I don't want the ISR continuously executing while I the application is running. I just want to wake ~4s after going to sleep.

SleepTimer_Start();
CyPmSaveClocks();
CyPmSleep(PM_SLEEP_TIME_NONE, PM_SLEEP_SRC_CTW);
CyPmRestoreClocks();
SleepTimer_Stop();

(My SleepTimer ISR is identical to that of the demo in that it only calls SleepTimer_GetStatus() according to the driver requirements.)

The behavior I observe is when I put the device to sleep the wake period is erratic. It can be anywhere between immediately waking and the ~4s maximum period. 

As a test, I moved the SleepTimer_Start() to the initialization section of my application so that it runs constantly as the demo project illustrates. I did this to prove that the SleepTimer ISR is, in fact, being called every 4096ms in my application. I then induced sleep at various times between ISRs and correctly saw the device waking at each ISR execution.

The problem appears to be when I use the SleepTimer_Start() function it is not starting the timer from 0, it is continuing the counter from where SleepTimer_Stop() was called. I have tried issuing SleepTimer_Init(), SleepTimer_SetInterval(SleepTimer__CTW_4096_MS), etc to re-initialize the SleepTimer component, but have not had any success.

How do I start the counter from 0 every time I call SleepTimer_Start()?

Thanks,
Nate

Unable to port FREE RTOS in CY8CKIT-059 I need urgent Help


ADC not reading properly

$
0
0

I am using an ADC in a design and I am getting readings that are lower than I'd expect.  I set up a test pin (Pin 1), and it's reading properly on my multimeter.  There are no external components connected to the psoc board at the moment.  The test pin is reading 1020 mV which is consistent with the design to that pin (VRef through buffer to pin).  But the PSOC is giving me 972 mV.    And it doesn't seem to matter if I use the SAR or DelSig.  

 

I've used the DelSig before, and it read flawlessly.  The only major difference with that design and this is that I am using hardware muxes.  Could they be leaking current to ground?

 

Thanks!

 

jk

!!!! Help in PSocCY8KIT-059- USBUART!!!!

$
0
0

Hi,

 

I need help in creating USBUART ISR.When data is coming through ISR in USBUART i want to give semaphore to some function that can perform some action.

 

 

EMIF in PSoC5

$
0
0

Hi,

We are currently in the process of verifying the components to be used in one of our projects and due to our experience with Cypress assistance and PSoC4 and PSoC5, we had decided to look into the option of using PSoC 5 for our new project.

The basic requirements for the project includes SPI, UART, I2C and CAN. the project also requires that the PSoC be connected to an external flash memory. The one we have taken into consideration is the Micron MT29F4G08ABADAWP-IT wherein the Data lines and the Address lines 8 bits in width and have the same pins. We had checked with PSoC Creator and saw the External Memory Interface component. We will be using the Asynchronous EMIF. However, the component has one line for the Address and one line for the Data.

Our choice for the external memory is not yet final and it can still be changed. What is the recommended external memory for PSoC5?

Thanks in Advance
K

Embedded Linux in PSoC

unkown NET

$
0
0

Hi,

  How can I locate a NET label when there is a hint in notice list quickly?I can not locate the error place by double clicking the error item.

  I checked the SCH file carefully,but I could not find the NET described by the notice list.

Viewing all 52 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>