PSoC™ 4 Forum Discussions
Hi,
I was doint a project that requires the BLE to move into active mode when the switch is high( default status). When it goes low the device must go active and do the nevcessary things and again go back to deep sleep mode. I have trued many htings out but it doesnt seem to come out of deep sleep mode . It is always in that mode . I have tried using the SW2 interrupt pin but di dnot work. Can someone throw some light into this issue.? I would be very great ful if you could send a code over .
Show LessPSoC Ble imformation-
With the Psoc Ble it is a very easy Psoc to create. If u study on the Psoc Ble then u will be a master on it!
Step 1- go to Google
Step 2- look up Psoc Ble imformation
Step 3- click on Psoc Ble ( bluetooth smart)- Cypress
Show Less
Hello,
I have run into a problem. I find that after calling CySysPmDeepSleep(), I am unable to _Start a component that I stopped prior to going to sleep. I do not experience this problem is I _Sleep() and than _Wakeup() the component, or if I CySysPmSleep() instead of using DeepSleep.
I have attached a project that demonstrates this issue. It can be tested directly against the PRoC or PSoC on the CY8CKIT-042-BLE test kit, or with some minor changes, on the regular PSoC 4. This problem does not exist on the regular PSoC 4.
In a nut shell, here is the problem:
/* Prepare for sleep */
PWM_Sleep(); // Sleeping the PWM works
//PWM_Stop(); // Stopping the PWM causes it to not be restartable after Deep Sleep
/* Go into deep sleep */
//CySysPmSleep(); // Both Stop/Start and Sleep/Wakeup work after a standard sleep
CySysPmDeepSleep(); // Only Sleep/Wakeup works after a deep sleep
/* Wake up */
PWM_Wakeup(); // Waking up the PWM after sleep works
//PWM_Start(); // Starting the PWM after sleep does not work after Deep Sleep
Any thoughts would be appreciated. If there is a piece of documentation describing this behavior I am missing, I would appreciate that being pointed out to me as well. I've been unable to locate anything.
Thank you.
- Chris
Show LessI 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 Less