PSoC™ 4 Forum Discussions
Hi,
I have modules .For my requirement i am using them to track the objects based on the RSSI values.Below is the pictorial representation of what i have to achieve.How can i proceed.
I have devices A, B advertising and device C scanning them.
How can i send the RSSI values of the device A and B through C when that device is in peripheral mode?
How can i send the rsst values through C in the advertising report without connection?
Do i need to establish connection to get the RSSI values of the device A and B from C , when device C is in peripheral mode?
How can i implement the same if I have 2 devices acting as device C?
Thanks in advance
Kindly help me out to understand on what to do and how to proceed
Thanks
shilpa
Show LessCurrent issue is our chip can only store 4 devices to bond, so we have a FIFO (first in first out) buffer to remove old bonding. Problem is when a device that was bonded and removed comes back to be rebonded will not prompt the PSOC part to generate new bonding as the device still has the key....while the PSOC part threw out it's key. Anyone know any work arounds or any idea's on how to improve this. The current fix is to manually remove the bonding information on the device, then try to reconnect to the PSOC part which will be successful. If you don't remove the bonding, you will make a gatt connection, but since you are not bonded you don't have read/write permissions.
Show LessHi,
I am doing a project to show me on an LCD screen (I2C) the data that the DHT22 sensor collects.
The error I think is at the time of the notification, with the cypress APP when clicking on Notify does not change anything and doesn´t it show me the data.
I attached the programm.
I hope your answers. Thanks greetings.
My company uses a CYBLE-022001-00 Bluetooth 4.1 module in an item of vehicle electronics. We had this designed by a 3rd party.
A test-house is demanding, for the purposes of product approval, that we cause the Bluetooth module to transmit on one particular channel only at the low, high and mid band frequencies in turn.
Can this be done without altering the firmware that normally interfaces with this module? ie from an external radio command?
Show LessHi Everybody
I'm trying to implement a Em_EEPROM 2.0-Module with PSoC Creator 4.2. to store a calibration value novolatile on a PSoC 4 CY8C4247AXI-M485.
After searching for examples and fiddeling around with the found stuff I'm still lost at the beginning.
I'm not an expert in c-code, so I don't know for example where to put the lines...
const uint8 emEeprom[Em_EEPROM_1_PHYSICAL_SIZE]
__ALIGNED(CY_FLASH_SIZEOF_ROW) = {0u};
...that are mentioned in the component datasheet. Put in main.c I get the error "expected ';' after top level declarator"
With the example CE195313 I can't select my device, and other examples I found are for older components.
Any help appreciated
Thomas
Show LessI have a device that has a fixed stack bootloader so to retain OTA compatibility I need to add code in my bootloadable to add a new Report In HID characteristic and modify the report map. Is this possible? Is so could someone point me in the direction of the correct functions or an example?
Show LessHi,
Just for your information.
Today I was writing an article about PSoC and Debugging.
Thanks for the building cleaning,
I had to work at my home instead of my office.
So I borrowed my son's desk to work.
Then I found that the PSoC 4 4100S board I'm testing can not be debugged correctly.
Every few steps "dbg.M0015" was thrown and the debugger was disconnected from the board.
All the hardware, the board, KitProg, and PC were working fine in my office until late last night.
I googled "dbg.M0015" and found many topics about it, and I tried to apply some of them but in vain.
Suddenly I noticed that I was placing the board and KitProg just under my son's Iiyama monitor!
So using USB A-A(female) extension cable, I moved my board and kit to the bookshelf
which is separated from the working desk and no electricity seems scrawling around.
Bingo!
Now the board and KitProg work without problem.
Quite stupid event, but we may need to be aware that something like this happens..
moto
Show LessFor the public mac address used for bluetooth we have used the "silicon generated" numbers generated from the Wafer ID and X-Y die
as explained in Setting Bluetooth Device Address – KBA211407
is the numbers in this situation unique?
if not could we have situations with several devices with the same address?
we use PSOC 4100 BLE
Show LessHello Cypress.
I have questions about power supply for PSoC4S CSX component block.
Please confirm and answer below questions.
Q1)
What is PSoC4S CSX component block’s power supply source?
Where does CSX block get power supply from?
Is it VDDA? Or VDDD?
And is the voltage applied directly from power supply source?
Or is the voltage dropped internally?
Is there internal LDO for CSX block?
Q2)
Will VDDA and VDDD affect CSX SNR?
Below is my understanding.
Is below correct?
================================
VDDA does not affect CSX SNR.
But VDDD(or VDDIO) affects CSX SNR.
Because VDDD(or VDDIO) is equal to Vtx.
And CSX SNR becomes higher also if VDDD(Vtx) becomes higher.
================================
Best Regards.
Yutaka Matsubara
Show LessHi,
Today one of my colleagues encountered an interesting phenomenon.
He was using a CY8CKIT-149.
He connected an output of a PWM to an output pin LED13 (P5[5]) and to data7 of SmartIO.
The SmartIO was configured just like a jumper wire (1->1, 0->0) and its gpio6 was connected to LE8 (P1[6]).
When both PWM and SmartIO were Start()ed, both LEDs were blinking together.
But when PWM_Stop() was called, LED8 was ON but LED13 was OFF.
We were expecting that both LEDs should behave similarly as their logic come from the same line_n of PWM.
Since LED8 was ON, we assumed that the line connected to data7 of SmartIO is LOW,
then LED13 which is connected to the same line should be LOW, too.
And if it is so, LED13 should be ON.
[ QUESTION! ] Could someone teach us why this is happening?
To reproduce the phenomenon, I made following simplified project.
Schematic
Pin Assignment
SmartIO Configuration
LUT 6
PWM Config
main.c
=================
#include "project.h"
/**
* LED8 is connected to SmartIO
* LED13 is conncted to PWM line_n
*/
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
SmartIO_Start() ; // (A) LED8 is ON and LED13 is OFF
PWM_Start() ; // (B) both LED8 and LED13 blink synchronizedly
CyDelay(3000) ; // (C) let LEDs blink for 3 seconds
PWM_Stop() ; // (D) LED8 is ON and LED13 is OFF
SmartIO_Stop() ; // (E) both LED8 and LED13 is OFF
for(;;)
{
// rest is silence
}
}
=================
moto
Show Less