PSoC™ 4 Forum Discussions
text.format{('custom.tabs.no.results')}
Hello,
I am succesfully using a button on P0.7 to generate a wake-up interrupt from stop mode. I have done this the same way as in AN86233.
Is there a way to add a functionality to generate a software reset of the PSoC when in active mode? I would like to reset the PSoC when in active mode and wake up the PSoC when in stop mode.
I tried to add the following line of code into the ISR, but nothing happens.
CY_ISR(WakeUp_Isr)
{
// clears the interrupt on change flag
Pin_SW1_ClearInterrupt();
// TODO - reset doesn't happen
CySoftwareReset();
}
Thank you,
David
Show LessHi all,
While researching for 5V arm cortex microcontrollers, I found cypress microcontrollers.
The part I have selected is:
CY8C4125AXI-S433
The circuit I am trying to design needs:
5V 300kHz PWM. 20-80% duty cycle.
For analog input, I am planning to use 5V VDDA and 4.096V external reference, to get better immunity to noise.
I just wanted to verify if this is possible with the part mentioned above. Looking at the datasheet it looks like this is possible.
Any suggestions or recommendation?
Also, can this part be programmed using JLink programmer in Keil Uvision?
Thanks.
Show LessHello,
I am evaluating the CY5676A PRoC BLE 256KB Module in HCI mode. I am trying to send from the same device two control procedures at the same time; connection update and encryption; the device process the connection update command and send the request LL_CONNECTION_UPDATE_IND when the instant is reached the LL_ENC_REQ is also send in the air.
I expect that the start encryption command is not allowed while the connection update is still no complete then the status of HCI_LE_START_ENCRYPTION should be not success?
Can anyone clarify this doubts?
Best Regards,
Message was edited by: Amina Tahiri
Show LessHi,
I wanted to send the data packets from ble to mobile.it's working fine , and the packet size is 20bytes .
Now i want to send more number of bytes per each packet.
can you please tell me maximum number of bytes sending /packet supported by psoc 4 ble.
Thanks in advance.
Show LessHello,
i had used cy4245 and Em_eeprom component in 4.1. it was working well. after updating to 4.2 Em_EEprom component updated to 2.0.
i updated the functions according to 4.2 api
in 4.1
Em_EEPROM_Write(bytearray,(eeptr+2),2u);
in 4.2
Em_EEPROM_Write((EEaddress+2),bytearray,(2u));
later on its not working.
while debugging i see that the library returns failure in many conditions..
for example in cy_em_eeprom.c line 186 & 430
if((0u != size) && ((addr + size) <= (context->eepromSize)) && (NULL != eepromData))
1.How does address+ size will be less than eeprom size, in my case eeprom size is 64, & addr is 0x00007C00 ,size is 1,
looks like EM_EEPROM 2.0 has lots of bugs..or may be i am doing some mistake. Can some one help me how to make it work and provide a sample code for EM_eeprom for psoc4. Thank u
with regards
Dr.N.Chandra sekhar,M.tech,phd
Show LessHi,
I'm having an issue with TCPWM QuadDec. To my knowledge the counter value should be retained during DeepSleep. However, it does not survive DeepSleep. The settings of the QuadDec was saved and restored. But the counter value (qdec_count below) resets, i.e. returns to the initial value 0x8000 after the DeepSleep.
QuadDec_WriteCounter(12345)
QuadDec.Sleep()
CySysPmDeepSleep();
QuadDec.Wakeup()
qdec_count = QuadDec_ReadCounter() // always 32768
You can reproduce it with the project included.
Thanks,
Show LessHi,
i am currently working on the project to send the data to mobile and its working fine .i want to send the data every 5 minutes, but the
problem is when i scan my mobile the ble device not showing after 5 minutes.so,i want to advertise my ble after sending of my data pavket to mobile
is there any APIs to start the advertisement of ble when i required.
please help me to rslove the issue
Thanks in adavnce
Show LessHi,
I am using CYBLE-014008-EVAL for my development.
I have created a custom BLE service (Fields: 9x4 bytes == 36 bytes, Properties: Notify).
After linked with CySmart 1.2 and 'Enable All Notifications', I cannot get the notified data.
However, if I set the size of the 'Fields' data from 36 bytes to 12 bytes, I can get the notified data.
Is there any limitation on the data size of the notification?
Thanks!
Terry
Show LessThe faster I go, the behinder I get...or is it the more I learn, the less I know??
I seem to have learned that iOS changes BLE addresses and they are called "resolvable addresses". I think this means that if I am using a PSoC4 BLE as a peripheral to an iOS central which are bonded together, when iOS decides to change the addresses something in the PSoC4 BLE has to resolve them in order to reconnect.
Questions:
1. Is this description correct?
2. I think that this resolution is supposed to be handled by the Link Layer in BLE 4.2.
3. Also, I think for this to happen the box "Enable Link Layer Privacy" in the General selection of GAP Settings in the BLE component needs to be checked.
4. The Enable Link Layer Privacy is greyed out. Any idea why?
5. If I want to only connect to devices in my whitelist does the interaction with the whitelist have to be done in my code or is that supposed to be handled by the Link Layer?
Thanks,
Dennis
Show Less