PSoC™ 6 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
In the below code I have tried to trigger an interrupt when the GPIO pin goes to low. I have understood that all the interrupt sources that are available can be found in the type def IRQn_Type.
1. But where do I get the Interrupt Priority ( IntrPriority ). What should be the value of it?
2. I am assuming that this is the flow for programming a interrupt. Please correct me if I am wrong.
- Initialize interrupt using Cy_SysInt_Int()
- Enable the interrupt using NVIC_EnableIRQ()
- Define the Interrupt Sub Routine.
3. Is there any documentation describing how to program and handle different types of interrupts? Example: When a FIFO is full, When ADC has captures a data, etc. It can be generic as well.
4. When I am debugging using the PSOC Creator. If I try to add watch for a variable. The value is not being displayed. It is being displayed as optimized value. Where should I modify the optimization settings to see the value of the variable added to the watch..
Show Less
I have few questions on the below screenshot. Screenshot is taken from PSOC6 Wifi-BT Schematic.
1. What is meant by No Load in the below schematics?
2. Why are the R67 and R68 present?
Show Less
Hi There,
I have few questions. I am new to embedded programming. I got the Pioneer Kit. Completed hello world program ( Blinking LED ). But I am not sure what to do next. What can I do next. What should be the flow for me to learn embedded programming?
I can see the examples. But they are not clear. They are in bits and pieces.
Thanks In Advance!
Show Less您好!
请问下PSOC6 BGA封装的开发板套件用的是几层板 ?我若选择好了PSOC6 BGA封装的型号,能否最后绘制成4层板?
谢谢。
Hello!
How many layers does the PSOC6 BGA development board package use?If I choose the PSOC6 BGA model, can I draw it into a 4-layer board?
thank you
Show LessGreetings!
This is a general product question. When I'm using the PSOC6 (specifically, the 062 BLE Pioneer kit) in Creator, why doesn't the PSOC6 have components available such as digital filter blocks, and the sample-and-hold block? The PSOC5 does have these blocks.
Show LessHi -
All of the examples for PSoC 6 RSA seem to demonstrate the use of 2048-bit RSA keys.
Some of the PDL docs mention 4096 bits ("Also referred to as Public Key encryption. To receive a message, you publish a very large public key (up to 4096 bits currently), and I see "CY_CRYPTO_RSA4096_MESSAGE_SIZE" defined in the PDL documentation (PSoC 6 Peripheral Driver Library: Macros ), but not in the ".h" file in my PDL 3.1.2 installation. So, I'm unsure if 4096-bit keys should be expected to work or not.
When I try to use a 4096-bit key, Cy_Crypto_Rsa_Proc() returns 0 (CY_CRYPTO_SUCCESS), but the buffer passed to it for output has not been touched (it seems to be a no-op).
I don't know if the issue is with my use of the functions, or if the PDL just doesn't support 4096-bit keys.
If the latter, do the "direct" crypto-core functions support larger keys than the client/server functions that I'm currently using?
Thanks for any advice.
EDIT: I'm using PSoC Creator, in case that makes a difference.
I'm running the default demo of Cypress's AWS FreeRTOS after following the instructions in: Getting Started with Amazon FreeRTOS and PSoC62 + 43xxx
And when I reset I tend to get this log:
WLAN MAC Address : CC:C0:79:A7:03:56
WLAN Firmware : wl0: Sep 5 2019 23:24:33 version 7.45.98.92 (r722362 CY) FWID 01-f7128517
WLAN CLM : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2019-09-05 23:10:00
WHD VERSION : v1.70.0 : v1.70.0 : GCC 7.2 : 2019-12-02 04:14:53 -0600
.1 8308 [Tmr Svc] Wi-Fi failed to connect to AP Infinity-2.4G.
2 8308 [Tmr Svc] Connect to SoftAP Enter SSID for Soft AP using password Enter Password for Soft AP3 8327 [Tmr Svc] Wi-Fi configuration successful.
4 10111 [Tmr Svc] Write certificate...
5 10756 [Tmr Svc] Write certificate...
6 10977 [Tmr Svc] Warning: no persistent storage is available for the JITP certificate. The cerWLAN MAC Adtifi7 10978 dress : CE:[iot_threa] C0:79:A7:03[INFO ][DEMO:56
][lu] ---------STARTING DEMO--WLAN Firmwar-------
.e : wl0: 8 10980 [ioSep 5 2019t_threa] [IN 23:24:33 vFO ][INIT][lersion 7.45u] SDK succe.98.92 (r72ssfully init2362 CY) FWialized.
ID 01-f7128517
WLAN CLM : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2019-09-05 23:10:00
WHD VERSION : v1.70.0 : v1.70.0 : GCC 7.2 : 2019-12-02 04:14:53 -0600
Function whd_wifi_set_supplicant_key_timeout failed at line 535 checkres = 2007
Function whd_wifi_active_join_init failed at line 1004 checkres = 2007
Function whd_wifi_set_supplicant_key_timeout failed at line 535 checkres = 2007
Function whd_wifi_active_join_init failed at line 1004 checkres = 2007
Function whd_wifi_set_supplicant_key_timeout failed at line 535 checkres = 2007
Function whd_wifi_active_join_init failed at line 1004 checkres = 2007
Besides the failure to connect, the log appears to be corrupted by race conditions. Considering that logs are important to diagnose problems, I'm surprised that no measurements were taken to avoid that.
Show LessHello All,
I would like to measure the voltage at pin VDDA. On page 18 of the CY8C63x6/7 data sheet it states that the Capsense ADC can measure VDDA against an internal reference without using GPIO or external components. However, I can find no information about actually doing this.
I've studied the documentation for the CSDADC middleware library. I see how to connect the ADC to GPIO pins, but I can't figure out how to connect to VDDA. Does anyone know how?
Paul
Show LessHello
When will the SD card file system for CYBLE-416045-02 be released?
If it has already been released, please let me know the reference material.
Best Regards
Hayato
Show LessI am trying to create a custom app0/app1 pair that are compatible with BLE over-the-air (OTA) device firmware updates (DFUs),
uses a dual core configuration for the BLE module in app1 and runs on a CYBLE-416045-02 module. I am basing my work on the
CDE216767 and have borrowed heavily from it.
I now ALMOST have it working. When I run the Update Firmware process in CySmart 1.3, I get the following
Clicking on Next gives:
I've spent a couple of days trying to find the source of the disagreement in the packet format between CySmart and my app0. I THINK that the app0 code
checks the packet format in cy_dfu.c/VeriftyPacket(), but so far I have been unable to hit a break point at any of the error points in that function.
I don't know if its significant, but my BLE component is a V2.20 and the BLE component in CE216767 is at V2.0.
I have attached a zipped version of the app0 code and the app1 cyacd2 file that CySmart is trying to upload.
Any advice or suggestions would be appreciated.
Thanks,
Ed H.
Show Less