PSoC™ 4 Forum Discussions
I have a low power application that is drawing too much current when connected to another IC and placed into Deep Sleep.
If I measure current of each IC independently, the micro is drawing 19uA and the other IC 8uA when in deep sleep.
If I have both powered together (even though the interface pins are not active), the current jumps by additional 50uA.
When I issue CySysPmFreezeIo() before deep cleep, the current drops right down below 19uA with both ICs connected. But, the circuit does not operate correctly and if I attempt to debug then I loose coms with MiniProg 3 when freezing the IO.
It appears when the the IO is frozen, it now longer gets woken from Deep Sleep (I am using an IO pin to wake from sleep).
I copied the IO freeze example from the PSCOC4200 GPIO document.
Do I need to add a delay or something after Unfreeze before using the pins?
Also, I have set the IO pins to High Impedance Digital for inputs and Pull Down Resistive for outputs, I assume this is the lowest current option ?
BTW: I am not worried about powered up current as it only operates for less than 100ms and back to sleep, it is the deep sleep current I want to reduce.
Thanks
Show LessHallo,
Where I can find example with schematics? In particular I'm looking for the link to an host microcontroller with UART communication. Moreover, I'm looking for a document describing the correct layout of the HOST Board.
Thanks in advance
Show LessSo I have a simple program, as soon as a GPIO goes high it fires an interrupt which reloads a counter, when the GPIO goes low again it firest another interrupt which reads the counter.
I have checked using a logic analyser that the interrupts are firing correctly but for some reason the counter value never changes, I am feeding it an 11ms signal and a 1MHZ clock so I am expecting the counter to read 65535-11000 = 54535 but it is reading zero. Help
Bundle is attached
Show LessStarting as a new thread from a previous question/discussion on Gyro/Accelerometer. My son & I are building a quadcopter as a Summer project (hopfeully, 2015!). Using the file from Bob Marlowe (below). Before we get too deep was wondering if the project file below worked "as is" or needed revision. In looking at the code, there is a call to "Mixer(); " which is empty in this version - Bob if you're available any comments on this would be very helpful as it's probably over my head to write the mixing code between the IMU data and transmitter inputs/controls.
Also, my understanding is that the SUM PPM signal wire from the receiver and the signal wires from each of fhe 4 ESCs plug into the PSoC4?
Thanks
D.K.
Show LessHi,
I do some tests with PSOC4 opamp, the result is not really good:
I configure a opamp as a follower and put a signal like sinus from 0 to 100mV and i get the output signal ohne if the input signal > 49mV. I tried all configurations and the results are the same.
I checked the PSoC4 PSoC 4200 Family Datasheet_001-87197_0B.pdf and this is in the spec:
SID288 VOS_TR Offset voltage, trimmed 1 ±0.5 1 mV High mode
SID288A VOS_TR Offset voltage, trimmed – ±1 – mV Medium mode
SID288B VOS_TR Offset voltage, trimmed – ±2 – mV Low mode
So, I'd like to know what is the real offset of this chip, has someone experence with this issues?
Thanks a lot for any infos!
Show LessCan anyone tell me where the center of mass is for this module? We could determine it by trial and error when the first proto hits the surface mount line, but knowing ahead of time is so much cooler.
tc
Show LessI write for PSoC BLE demo project.
Launches android smartphone CySmart.
I getting data from the PSoC on a smartphone.
Everything works.
I compile Qt demo program "Bluetooth Low Energy scanner example".
Writing on her phone.
This program NOT sees PSoC.
Show LessHRM_DataLogger with CySmart1.0 Dongle:
The HRM_DataLogger connected to the CySmart1.0 dongle functions as described in the accompanied DataLogger.pdf file. However, to actually see the changing heart rate on the Tera Term the tab 'Enable All Notifications' must be clicked (this tab becomes visible when 'Discover All Attributes' is clicked) . Below is a sample of output from the Tera Term:
EVT_TIMEOUT: 1
CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP, state: 3
CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP, state: 3
EVT_GATT_CONNECT_IND: attId 0, bdHandle 4
EVT_GAP_DEVICE_CONNECTED: 4
EVT_GATTS_XCNHG_MTU_REQ
Heart Rate Measurement Notification is Enabled
Heart Rate Notification is sent successfully, Heart Rate = 72
Data logged successfully
Data read back: 0x41 0x03 0x00 0x00
Heart Rate Notification is sent successfully, Heart Rate = 84
Data logged successfully
et.
HRM_DataLogger with CySmart Android App:
The HRM_DataLogger application connects OK with my Android Asus tablet but only displays a pulsing heart icon but no numerical data. I get the same results using a Galaxy phone.
Below is a sample of output from the Tera Term:
BLE Heart Rate Sensor Example Project
Stack Version: 1.0.0.181
EVT_STACK_ON
Start Advertisement with addr: 00a0500b1208
CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP, state: 3
EVT_GATT_CONNECT_IND: attId 0, bdHandle 4
EVT_GAP_DEVICE_CONNECTED: 4
Heart Rate Measurement Notification is Disabled
Heart Rate Measurement Notification is Disabled
Heart Rate Measurement Notification is Disabled
Heart Rate Measurement Notification is Disabled
Heart Rate Measurement Notification is Disabled
Heart Rate Measurement Notification is Disabled
etc
It appears that the Android CySmart app fails to enabled the Heart Rate Measurement Notification and hence no data is transmitted by the BLE to the Client.
Interesting the HRM_DataLogger used with the iPhone CySmart iOS app displays all numeric data that changes according to the simulation.
Is this the result of a problem with the Android CySmart App?
Show Less
Hello,
I've spent some hours on my CY8CKIT-042 BLE and I'm now checking the power consumption of my project. I applied the AN92584 application note to my code but my measurement on J15 gives a few mA when connected.
I tried the "BLE connection example" that is attached to the application note, but I still have 1690uA consumption when connected, so in deep spleep mode. Looking at the power calculator I should have less than 20micro Amp consumption, and I measure 100 x more??
I tried on the Proc BLE also, but have exactly the same 1.7mA consumption.
To be sure I made the measurements without the pioneer baseboard by directly applying power between VDDD and GND on J2 connector, but I did not make any difference.
Do anyone have an idea about what to do to find the problem.
Thanks
Show LessHello,
In PSoC4 we have to use emulated EEPROM component to use flash portion as EEPROM area. One limitation of the Em_EEPROM component of PSoC4 is, it automatically places EEPROM space in flash. This location may changes with different build cycle. This may create an tricky issue during security protection of flash (usually employed for IP protection of your firmware).
As you have to get the address of flash area allocated after a new build and change Flash Security file flags appropriately to allow Em_EEPROM to work within otherwise protected flash area. This is a tedious task and not intuitive as PSoC1 EEPOM component.