PSoC™ 4 Forum Discussions
Ok. I will follow what you have suggested and then will get back to you.
Thank you.
Hello,
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 LessHello,
I am using deep sleep mode to reduce current consumption & wakeup it periodically. But I am facing a problem in increasing watchdog interrupt interval as it is 2 sec with its default configurations. By reading PSoC Low-frequency clock source guide I came to know that we can cascade two watchdog timers to get more watchdog interrupt interval to the desired range.
But I am not getting an example how to implement this WDT cascade.
Please guide me how to implement it?
Show LessI'm having a slow attempt at translating Adafruit's VL6180X Arduino library to use the component on the PRoC (222014). I think I'm close, just not sure where I'm messing up. In code, I'm trying to have it start reading on a button click, then continuously read and printf the distance of the object, until the button is pressed again. If anyone has this module and/or any experience with it, I'd appreciate any help. I've attached a bundle of my current progress along with the Arduino library header and cpp I reference.
Show LessHello,
I am trying to work with Smart cards with cypress mcu(cyble022001). Anybody please guide me??.
I have read the iso7816 protocol and try to implement in procble. Cypress mcu have smartcard config. But i need one example code.
Please help
Thanks
Dharmesh
Show LessI've attached my project for perhaps a bit more ease of communication here. The application of the PROC CYBLE222014-01 chip I am using it for measuring audio samples from a microphone on the chip.
If you take a look, you will see that I am using 2 blocks: an I2S Master, and two DMA blocks. All pins are connected to the appropriate hardware terminals in the .cydwr file.
Now, my trouble lies in processing the data read from the DMAs. I have only one channel mono left configuration and I wish to store the incoming data in two buffers,i2sBuffer and i2sBufferCopy. For each sample i2sBuffer receives the data directly from I2S and transfers in into the second buffer i2SBufferCopy, where all samples (in total 1000) are collected. However, when I debug (I am using the MiniProg3), and view the buffers in my 'Watch' window, the data that comes through is not as expected; the input to my tuner is a function generator producing a sine wave of 1250 Hz, and the data coming through in the end does not seemingly refer to those a sine wave. Is there something missing in my code or should I also configure other parameters? The following specs are probably relevant:
Data bits: 32.
Word select period: 64
Source Clock 6.144MHz
Audio sampling frequency: 48 kHz ( = 6.144MHz / 64 / 2)
Bit Resolution: static
Number of Channels: mono left interleaved
DMA Request: enabled
Another problem is the order, on which the bytes are copied from the first to the second. As example the first DMA transfers the following sample: 0xFAF7C000 and saves it in i2sBuffer.
Then the copied sample appears in i2sBufferCopy in inverted order: 0x00C0F7FA. Is there a possibility to enable swapping between DMAs? The I2S has "Byte Swap" functionality, but it is disabled in case of considering 32-bit samples.
I am hoping that someone can help me identify what mistakes I am making in my configuration functions;
Thank you in advance for the invested time. Hope to hear from you soon!
Nuno Alves
Show LessI am now using CY8CMBR3116 , 12 raw counts is needed.
Get it from DEBUG_RAW_COUNT0 one by one is too slow ,about 500ms delay
and DIFFERENCE_COUNT_SENSORx is only one byte, not enough.
Any suggest or any improve,raw counts is really useful for developer
Thanks!
Show Less- « Previous
- Next »