PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
According to the explanation of CySysClkEcoStart(uint32 timeoutUs), timeoutUs : Timeout in microseconds. Is there any reference guide for the chip of CY8C4247LQI-BL483? Another question is, if this timeoutUs = 2ms, which usage should I choose, CySysClkEcoStart(2) or CySysClkEcoStart(2000)?
Show LessHello.
I am trying to develop an application in which the processor is awaken from deep-sleep mode via an external GPIO interrupt, I am facing some problems with the same.
I believe since nested vector interrupts are enabled, the program control jumps from the Cy_Bless_ISR and the ADXL_ISR. Is there any way in which the system can go to main after the external interrupt ISR has been serviced.
Show LessHi, I want to know the status of PWM outputs when I enter into deepsleep mode? All zero or HiZ or something else? How do they perform when I close the clock of PWM module?
Show LessWe are migrating a Optical Heart Rate Monitor project from PSOC 4 BLE to PSOC 4 and are getting an error apr.M0003:Unable to find solution for the analog routing.
We were working on this project and we changed the pin numbers to suit PSOC 4200M .
Kindly help us with this asap.
Thanks 🙂
Show LessHi:
Right now with my CY8CKIT-049-42xx, I am trying to see how fast can be the transmission of an array of uint8, so I am using a TCPWM in a Timer configuration just to use the its interruption service routine so send an array of 40 elements with the help of UART v3.0 element. Because of the need to send the data to the computer as fast as possible, I have configured the UART to 115200 bps (the max. speed of the PC) and TX buffer size of 256 Bytes. I am using putty to analyze the received data, and it work fine when I use transmission periods equal or longer than 800 milliseconds.
This is weird isn't it?
I have configured the Baud Rate to 115200 bps and further I am using a large TX Buffer. Theoretically I can send 11520 bytes in 1 second (This knowing that I am sending the start bit, the info byte and stop bit).
I have check my ISR, but I don´t find any mistake...
uint8_t arr2[]= {97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,97,98,99,100,101,102,103,104};
CY_ISR(timer_isr)
{
uint32 source;
source = Timer_GetInterruptSourceMasked();
//Sending the data
LED_1_Write(!LED_1_Read()); //the change of the led state is an indicator of the begin of the array transmission
UART_SpiUartPutArray(arr2,sizeof(arr2));
Timer_ClearInterrupt(source);
}
I would appreciate any help or advice in this matter, because I really need a faster transmission.
Greetings.
Martín
P.S. I am attachind the UART and Timer configuration as a PNG.
Show LessHello ,
we have a medical application demanding for AM modulated signal generation with
Carrier freq :- 2500Hz or 4000Hz, Modulating signal of 50Hz with 10% modulation and also we need it to have digitally controlled overall output in range of 0 to 1V in 20 steps .. our application demands BLE connectivity with smallest size as possible. so i cant opt for so much external components...we have selected EZ-BLE module...but it lacks programmable blocks, but it has a mixer component...we need help on Amplitude modulation signal generation with output amplitude control.Thank u.
Show LessHi,
I'm actually using a psoc as a peripheral server. I'm using a white list as a security layer and I need to be compliant with iOS standard :
"3.7 Privacy The accessory should be able to resolve a Resolvable Private Address in all situations. Due to privacy concerns, the Apple product will use a Random Device Address as defined in the Bluetooth 4.0 specification, Volume 3, Part C, Section 10.8."
I know that there are API methods to resolve an address as a central device, but I didn't see one for the peripherals. Did someone know to handle resolvable addresses as a peripheral?
Best regards,
Show LessI've been reading around various sources trying to figure out how to measure a battery voltage on a PSoC 4 BLE running from a CR2032. We've all seen the 101 video which talks about adding a BAT GATT service. This is very useful but the tutorial just simulates voltage fluctuations with an interrupt driven counter rather than detailing best practices for physical battery voltage determination.
I'm fairly new to PSoC BLE and was a little disappointed when I did not find a "pre-rolled" battery voltage level component in Creator. I'm sure this is a common requirement amongst developers.
I thought it would be a good idea to invite comments on the topic, encourage others to pitch in and collectively come up with an approach which gives reasonable accuracy with low power consumption and price.
My ideal CR2032 based approach would have the following primary requirements:
- Run on PSoC 3 BLE
- Have two battery states: OK and LOW (<2.5v or thereabouts)
- Require no external components.
- Have minimal power consumption given a few hours between measurements.
Comments welcome.
Regards
Paul
Show LessHi All,
I'm looking to write to a custom service with a PSoC configured as a Client/Central that is connected to a Peripheral device. The command that I use for a PSoC configured as a Server/Peripheral to write to a Central, CyBle_GattsWriteAttributeValue(), requires a handle to the service and handles are not generated for the Client/Central configuration. I was wondering if someone could point me in the right direction. My ultimate goal is to be able to write to custom services from either the Peripheral or Central side.
Thanks,
Nick
Show Less