PSoC™ 6 Forum Discussions
hi
There are spec on some parts but not the BGA124 used in PSoC 63
We'd like to know the solder ball composition on this part. i.e is it SAC105 or something else?
part-no: CY8C6347BZI-BLD54
Show LessHello community,
I am looking for printf style debugging feature in ModusToolBox for PSoC. Actually I want printf style debugging feature available on STMCUBE IDE. As ModusToolBox is also an eclipse based IDE, I want to know how to use printf statement in main.c of my PSoC6 project on MTB.
I already know about UART style printf debugging. Please do not suggest UART based serial terminal code example for such feature. I want to use MTB with printf over ARM Cortex M4 ITM-SWO line, so that I can directly see print statement on ITM console.
Regards,
Tony Stark,
Stark Industries
Show LessHi Infineon Community,
I'm experiencing a connection issue with the CY8PROTO-063-BLE when using the AIROC Bluetooth Connect App. On one smartphone, I can successfully connect, view services and characteristics, and use them without any problems. However, with another, newer phone, despite the device being visible, I'm unable to establish a connection. It attempts to connect but fails to do so. The same issue occurs when trying to connect with an iPad. What could be causing this problem that prevents the connection from being established? Both iPhones are running the latest iOS version.
Regards,
Luis Flores
Show LessHi Friend,
I am using ModusToolbox v3.0. When I use emUSB-Device_Mass_Storage_File_System to create file system on my SD card, I tested software and always report "SD card cannot be detected". Does anyone has same problem, please advice. Thanks
Victor
Show LessI'm trying to get TRNG working in the CE221295 example:
https://github.com/Infineon/PSoC-6-MCU-System-Level-Designs/tree/master/CE221295%20-%20PSoC%206%20MCU%20Cryptography%20TRNG
but it's looking for cy_crypto_config.h which doesn't exist anywhere.
Show Less
Hello guys,
I will try to make this post clear as is my first one in the community, also if I did something wrong let me know (I chose PSoC 6 because I'm working with that).
I would like to use a Timer TCPWM from the Hardware part of my PSoC 6 to count the number of milliseconds it takes to execute any line of code, being a simple "wait(2000)" function for example (I know is different the name for PSoC Creator, I'll show you later) or a function itself that do many things and returns to the main() code after, this with the purpose of measuring how much a function takes to execute.
I will copy paste my code, if you need the project tell me but I need to separate it because I created many projects in the same workspace (so I'm not sure if the Create Workspace Bundle... will include all of them). But to give more information: I'm working with the Infineon-CY8CPROTO-063-BLE_PSoC_6 board (the manual itself is Infineon-CY8CPROTO-063-BLE_PSoC_6_BLE_Prototyping_Board_Guide-UserManual-v01_00-EN in Infineon's website), when creating a new project I select PSoC 6 >> CYBLE-416045-02 and I leave by default the next steps, the thing is that I added the TCPWM in the schematics, as shown in the screenshot I'm leaving attached, and UART to show results in RealTerm... But the seconds I get are non-sense, I changed in different ways the frequency, the period of the TCPWM and still nothing, I achieved to get the right seconds for wait(1000) or wait(2000) 3000, etc. it showed me 1, 2, 3, etc. but for hundreds showed me random values. I think it was with 1MHz and 1000 of period but I tried many things that I cannot recall it now. I know that the frequency out = f in/(period+1) (counting clock) but tbh I'm not sure how is that helping me, I read the datasheet from TCPWM but it says most of its components and stuff, not much information about how to use it as a timer or even the equation I had to get it from somewhere else here in the posts.
The code I'm using in M4 only (ignore the 2 includes in the middle I wanted to try the StartTick function but I got to know is something from PSoC 4 only). Also the unsigned int32 that I'm using is according to the function of capture (GetCounter), that's the type of variable it returns, but in the sprintf I'm using %u instead of %lu because it dropped me a warning or some kind of error:
#include "project.h"
#include "cy_systick.h"
#include "cy_syslib.h"
#include "stdio.h"
int main(void)
{
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
//wait(100);
//CySysTickStart();
Uart_Printf_Start();
char String[128];
TimerCounter_Start();
TimerCounter_TriggerStart();
CyDelay(6500);
TimerCounter_TriggerStop();
uint32_t result = TimerCounter_GetCounter();
sprintf(String,"\nThe time is: %u",result);
Uart_Printf_PutString(String);
}
I hope it is clear what I want to achieve, and with my code you can be able to help me. I'm using the Start and Stop triggers because it is an easier/faster way that using interrupts. And the GetCounter is showing results, the only thing is that my timer is not set up properly to show the milliseconds, I have no clue how to do that.
Thanks in advance!
Gio
Show Less
I wish to initialize and use a S25FL512SAGMFI010 flash IC into XIP mode, being used by QSPI on a CY8C6145 MCU, using the PDL.
My understanding of how to do this is this code in main:
cy_stc_sysint_t smifIntConfig =
{
#if (CY_CPU_CORTEX_M0P)
NvicMux7_IRQn,
SMIF_INTERRUPT,
#else
SMIF_INTERRUPT, // SMIF interrupt number (non M0 core)
#endif
SMIF_PRIORITY
};
(void) Cy_SysInt_Init(&smifIntConfig, SMIF_Interrupt_User);
__enable_irq();
#if (__CORTEX_M == 0)
NVIC_EnableIRQ(NvicMux7_IRQn);
#else
NVIC_EnableIRQ(SMIF_INTERRUPT);
#endif
/* SMIF initialization */
volatile cy_en_smif_status_t stat;
stat = Cy_SMIF_Init(SMIF0, &smif_0_config, TIMEOUT_1_S, &smifText);
//Cy_SMIF_Enable(SMIF0, &smifText);
Cy_SMIF_MemInit(SMIF0, &smifBlockConfig, &smifText);
//set xip mode
Cy_SMIF_SetMode(SMIF0, CY_SMIF_MEMORY);
Cy_SMIF_Enable(SMIF0, (cy_stc_smif_context_t *)&smifText);
With the interrupt function defined exactly as described in the PDL documentation, and smifText is globally defined.
But with this initialization code, I am not successfully able to read data using code like this:
uint8_t *smif = (uint8_t*)0x18000000;
volatile uint8_t temp;
smif[1000] = 0xAA;
temp = smif[1000];
It always reads 0xFF.
As a note, all of the QSPI pins are outputting for both read and write, though I have not analyzed what data is there. Additionally, here is my schematic:
What am I missing in this initialization process? My device configuration and QSPI configuration files are in the attached ZIP. Any advice or help would be highly appreciated. Thank you.
Show Less客先ではPSoC6のオンボードライタについて調査しています。
PSoC6のオンボードライタにSEGGER社のJ-LinkとFlasherがあるという認識です。
https://www.segger.com/supported-devices/search/CYB06
下記リンクによるとサポートはSEGGER社ではなくInfineon社が行うとの記載がありましたので、
コミュニティにてオンボードライタの質問を行っています。
https://wiki.segger.com/Infineon_PSoC6
お手数ですが、下記の質問についてご回答いただければと存じます。
※客先で評価しているデバイス型番は” CYB0644ABZI-S2D44”でプロビジョニングできるオンボードライタの調査をしています。
=======================================
①J-Link、またはFlasher使用した書き込みに際し、専用のソフトウェアが必要になるのか?
②J-Link、またはFlasherはプロビジョニングにも対応しているのか?
※プロビジョニングはCMSIS-DAPモードで実行する認識です。
※最新版のJ-LINKではCIMSIS-DAPをサポートしているようですがFlasherが対応しているかが不明であることを考えると
J-LINKでのみプロビジョニングと書き込みの両方ができる可能性があるという認識です。
=======================================
どうか宜しくお願いします。
Show Less
Greetings!
I am using Psoc63-ble.
I am trying to use HAL to output 4 pwm's, but I cannot synchronize the 4 pwm's.
How can I get the 4 pwm's to synchronize and output?
Show Less