PSoC™ 4 Forum Discussions
We are currently developing the BLE that needs to have 2 modes: 1 is the test mode that do not need authentication and encryption, with only limited access of some services and characteristics. Another one is normal mode, which require authentication and encryption, with full access to all services and characteristics.
As the ROM size and RAM size are approaching limit, I cannot export the GATT database to modify the permission to achieve the requirement.
However, I would like to know if the characteristics permission is set to "No Encryption required" and "No Authentication Required", will the data still be encrypted if the peripheral still paired/ bonded with the central?
All advise greatly appreciated.
Thanks
Show LessHi,
I want to ask about the Max junction temperature for CY8C4247AZA-M485 and CY8C4247AZQ-M485.
In the datasheet available on cypress website, it only states the Max junction temperature for CY8C4247AZI-M485 of 100C but is this the same for the other two PSOCs mentioned above ?
Thank you,
Show LessHi Friends,
I'm developing firmware for Access Control with PSoC 4, CY8CKIT-042 (Pioneer 4200) kit.
For my application, I need to save some data (like User Identity Code) on Non-volatile memory.
Should I go with Emulated EEPROM? How many maximum bytes I can save on Emulated EEPROM of CY8CKIT-042 (Pioneer 4200) kit?
Is there a fixed defined/dedicated area for Emulated EEPROM in Flash Memory?
Is it possible to save on Flash memory using Flash API?
I tried with it, but if I call FlashRead before FlashWrite, then I get garbage value, however, If I call FlashRead after FlsahWrite, then it works.
But in my application, if someone's data saved on memory (as a part of application of Access Control), then I just need to recall that data by using FlashRead function call.
In Access Control application, I've to get all pre-flashed/pre-saved data in RAM, then if user asks for identity, I just need to compare that data with the data that retrieved from Flash, so in this way, I just need to call FlashRead function only, but it doesn't work without FlashWrite.
The above things work with Emulated EEPROM, but I have fear about limited size of Emulated EEPROM.
Thanks,
Chinmay
Show LessI have a master I2C that is trying to write a buffer to a slave. After calling the write function, I am checking the master status and receiving the following error - SCB_I2C_MSTAT_ERR_SHORT_XFER.
What could this mean?
Show LessHi all,
using a Psco4, CY8C4245AXI-483 part
i have a custom board running on 5V
I can program the board with Psoc programmer and a miniprog3 fine, board runs, no hardware issues.
In creator 4.2 i cannot get the miniprog3 to connect to this board to debug it.
I set the port parameters to external supply so it DOES NOT power the board. SWD interface
I read thru every post and app note I can find, but this is not addressed as far as I can see.
running on Win 10..really crap here.
all actions to query the miniprog seem really slow for some reason.
So, what's the magic here? Spent way too much time on this to get this product shipped..
Thanks
Ken
Show LessI have a 2 phase sensor less BLDC motor which i intend to control. I was surfing through the web, saw this cool kit used to control BLDC motors. The motor which comes along with the kit is a conventional 3 phase BLDC motor but i want to control a 2 phase BLDC instead. Can this kit be used in my intended application?
Show Lessfor EMC test I need to put the BLE radio of the BYBLE-022001 in a particular test mode, i.e. contiguous transmit on a low/mid/high frequency channel at low/mid/high power and in contiguous receive mode. My PCB allows access to the serial interface via FTDI USB-UART. Is there any example program which allows me to switch between such modes, e.g. HCI or AT commands etc.
Show LessI want a callback function that is called once the I2C master is done sending all the bytes. I came across 2 options that I maybe able to use -
I2C_1_I2C_ISR_ExitCallback() or I2C_1_SetMasterInterruptMode(I2C_1_INTR_MASTER_I2C_STOP) or I2C_1_I2C_MSTAT_RD_CMPLT;
What is the difference between the two? And which one should I be using?
Also, I need to set some flags indicating slave's status. For this I also came across I2C_1_I2C_SSTAT_RD_CMPLT (& other flag bits), I2C_1_I2C_SlaveCompleteCallback and I2C_1_SetSlaveInterruptMode. What is the differnce between all these methods?
Show LessHello,
I've downloaded the schematic of CYBLE-416045-EVAL.
I can see that almost all signals between PSoC5LP and PSoC6 are straight connected.
However PSoC 6 Supply Voltage is 3.3 V max while PSoC5 LP VDDIO is 5 V derived from USB Bus.
From PSoC 6 Datasheet I can see that Max Input Voltage for any GPIO (Including OVT Inpius) is 3.6 V.
So: is it correct to feed PSoC 6 Input Pins straight with 5 Volts Outputs of PSoC 5 LP?
Thanks,
Alfonso
Show LessHello,
We know that there is the explanation about Watch Dog Timer in "Watchdog Timer in the PSoC® 4000 Family – KBA91373".
Of course, in case of PSoC4000S, there is a difference in the number of WDT IRQ between PSoC4000 and PSoC4000S.
So, we changed like below.
/* Set the WDT interrupt vector to the WDT ISR*/
CyIntSetVector(6, WDT_ISR);
/* Enable WDT ISR in CPU vectors - which is caused by WDT match */
CyIntEnable(6);
What sort of runaway causes a reset on PSoC4000S?
For example, In the "/* Application Code */" of KBA91373 explanation the for loop described below may also be considered as a so-called runaway
because it is the same as the looped state after runaway.
for(;;)
{
}
But, the WDT reset never happens.
Why?
Best regards,
Yocchi
Show Less