PSoC™ 6 Forum Discussions
Hi all, good day. I want to know how to use SEGGER AppWizard GUI Builder Software with CY8CKIT-062-WIFI-BT in ModusToolbox? I built the GUI and Exported but I don't know how to implement it in the Modus Toolbox IDE I know there is an example for it but I don't know how they actually made it. They didn't explain how to add the exported files and implement in modustoolbox properly. please provide us with kind support. Also If there are any tutorials that any of you can recommend please do as there aren't that many PSoC modusToolbox tutorials on youtube that I know of. thank you best regards.
Show Less
Hi friends,
I am a beginner on the PSoC 6 BLE Pioneer Board. Let me get some advice on how to measure voltage drops across the PSoC 6 board using Picoscope 2204A.
The idea is to supply 1.2V, 1.4V, 1.6V, 1.8V, 2V, and 3.3V to the board and then measure the voltage drops across the board to get the power consumption.
To measure the current, the R28 zero-ohm resistor was removed and two pins were installed, which worked well. Now, it is not clear to me how to supply some voltages using a USB cable and measure the voltage drops on the whole board to obtain the power consumption of the PSoC 6 MCU. I think the PSoC 6 MCU supports 0.9V in ultralow power mode and 1.1V in low power mode.
The attached figure is for the current measurement. Please let me know how to measure the voltage for the whole board and where to contact the hook tip of the Picoscope 2204A.
Thank you.
Seenaa
Show LessHi PSoC community,
I am having some real difficulty with transferring data at relatively high speeds using SPI. I will first frame the problem:
- I have a Raspberry Pi 3, acting as the SPI master which sends data at a rate defined by the RPi core clock and chosen divider (bcm2835SPIClockDivider, https://www.airspayce.com/mikem/bcm2835/group__constants.html#gaf2e0ca069b8caef24602a02e8a00884e)
to the PSoC 6 CY8CPROTO-062-4343W setup to be a SPI slave. Currently they are just connected using Dupont jumper wires of about 20 cm long.
- I am able to achieve no bit errors at transfer speeds of only approximately 2 Mbps. If the divider on the RPi is set to be any smaller (faster transfer rate), then I get bit errors. For example if I am transferring 0x55FF0033 (32 bits) constantly over and over again I would expect this values on the PSoC however, I occasionally get errors where sometime it appears as dropped bits, and sometimes I just get jumbled/dropped or duplicated values e.g. 0xF003355F (jumbled), 0x355F355F (repeated and jumbled).
- Interestingly, I have a Keysight DSOX3014A scope which can do SPI decoding, and using the scope, the bit decoding is all correct up to 30+ Mbps (RPi sending SPI signal at 30+ Mbps), so this tells me that the RPi's SPI signal is correct (although the rising and falling edges of SCLK and MOSI are no longer very square which is expected).
- The data transfer rate that I would like to achieve is approximately 16 MHz from the RPi to the PSoC 6.
Provided the information above, I am therefore confused as to why the PSoC operating under a DMA double buffering system fails to correctly decode/receive the SPI signal from the RPi.
I have several questions regarding my settings and documentation below that I think could be the issue:
1. According to the documentation of the PSoC on the PSoC 6 CY8CPROTO-062-4343W, the CY8C624ABZI-D44 MCU has SCB specifications that state that the SCB in SPI can operate up to 25 MHz (F_SPI, SID166) when in slave mode when externally clocked (is with the ECO or EXTCLK pins? can someone explain what the difference between the two is?) or up to 15 MHz when internally clocked (F_SPI_IC, SID166A). Can someone please also explain which clock should be used for the F_SPI_IC? Is this just the CLK_PERI that I am using right now in the attached doc?
2. Is it correct to set the Data Rate to be the actual data rate I want i.e. 16384 kbps in the SCB configuration? What is the relationship between the SCB Clock and this data rate? It seems that ModusToolbox automatically suggests divider values based on the data rate set. I thought there is an oversampling factor between the two, but this isn't apparent/clear in device configurator and there is also no clear ratio between the two.
3. There is also the potential that the jumper wires are causing crosstalk/interference, however this doesnt explain why the scope is able to decode this.
Any help is much appreciated!!
Show Less
Hi,
I'm trying to use libtensorflow-microlite.a library directly but there is a 'main' function in the library so ModusToolBox can't link my app. I think you should remove this 'main' function, this is a library not an App!
C:\Work\mtw\PSoc6_Img_Class/source/main.c:8: multiple definition of `main'; ../mtb_shared/ml-tflite-micro/release-v2.0.0/COMPONENT_ML_TFLM_INTERPRETER/COMPONENT_CM4/COMPONENT_IFX_CMSIS_NN/COMPONENT_HARDFP/TOOLCHAIN_GCC_ARM\libtensorflow-microlite.a(util_test.o):util_test.cc:(.text.startup.main+0x0): first defined here
Show Less
Hello,
I want to program the CY8C6245LQI-S3D42 on my own PCB.
Here I want to use the pins 11.5 and 11.7 for two PWMs, but unfortunately one PWM didn't work. While searching what the cause of the proble is, it looks like that the pin 11.7 can't be used. So I tried the other pins of that port and got the following result.
Pins which work: 11.2, 11.3, 11.4, 11.5
Pins which don't work: 11.0, 11.1, 11.6, 11.7
Unfortunately I didn't find an explanation for this behaviour since the datasheet tells me, that I could use every pin for TCPWMs.
Thanks in advance for the help.
Show Lesshi
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