PSoC™ 6 Forum Discussions
Hi,
I try to find a solution how to point out for the modustoolbox auto-discovery that for a specific file into the compile_commands.json I would like to declare additional CFLAG for the compilation command.
For CMake I can use set_source_files_properties().
Show LessHi all,
I am prototyping a MIDI device using the PSoC™ 62S2 Wi-Fi BT Pioneer Kit (CY8CKIT-062S2-43012).
So ... my first question is (bearing in mind that I am a beginner, still in my Arduino diapers):
How should I start out in getting USB MIDI input to the 62S2 board using Modus Toolbox?
Perhaps there is an example project for USB audio that would give me the foundation to tinker with?
My end goal is to have something that can send and receive MIDI data via UART, USB and BLE, and also communicate with a range of sensors and actuators. It will be a toolkit for making robotic musical instruments and converting sensor data to sound for music and for data sonification.
In the shorter term, I'll be happy just to get something working that can drive a few solenoids from incoming MIDI note messages.
My first step is to get my board to receive MIDI via USB from my PC and echo it to a serial console, then achieve the same test with serial MIDI coming in via UART and suitable hardware components (I have a Sparkfun MIDI shield for Arduino that should be ok for this purpose - otherwise, I have components to build something).
It seems there was a flurry of MIDI activity among PSoC 3 and 5 users and one or two PSoC4 examples. However, nothing on PSoC6, as far as I can see.
All the older examples are in PSoC Creator and it looks like I really need to use Modus Toolbox with the PSoC™ 62S2 Wi-Fi BT Pioneer Kit (CY8CKIT-062S2-43012), or at least I can't see it as an option in PSoC Creator.
Many thanks in advance,
Rodney
Show LessDear team:
请教下
使用互容方式,是多指,触控板
使用自容 方式,最多支持2指
tackpads ,最大和最小可以支持xy组合是多少
,谢谢!
I have a Cypress PSoC 6 BLE Pioneer Kit CY8CKIT-062-BLE and am having trouble running an example programs on the PSoC.
I have the latest PSoC Creator (V4.4) installed, I just created a new example project in PSoC Creator of the DualCoreBlinky application and compiled an ran it. It compiles just fine, and seems to program just fine, but nothing happens on the board (no blinking LED). I confirmed that the KitProg light blinks momentarily while it is uploading the firmware so it seems that the board is responding. No noticeable errors or warnings in PSoC Creator.
Hello folks, I want some help in setting up my modus environment. I installed the modustoolbox 3.0.0 in my system running Windows 11 for my windows user account only. I'm using CYSBSYSKIT-DEV-01. When I built the project for the first time I saw the error "error in create launch config" as below. I don't know how to solve this error.
When I build the project I'm able to build the project but the errors or the warnings are not indicated with the squiggly lines, I know as the same project is used in my another system. But when I generated the launch config for the project, initially it shows the warnings but when I build it disappears. The same can be seen in the image warning & no warning.
Also when I tried to execute Run>Local c/c++ application, it shows
Cannot run program "C:\project_name\HTTPS_Server_QSPI_LWP_REST\build\CYSBSYSKIT-DEV-01\Debug\mtb-example-anycloud-https-server.elf": Launching failed
I have tried multiple reinstallation of the tool but all in vain.
I am restricted not to move to modus 3.1 as our project is built in 3.0. It's my first time reaching out in this forum, kindly bare my any querying mistakes if any.
Show LessHi PSOC62 Team,
I have written the custom OTA application on CY8CKIT-02S2-43012 by using MCUBoot library. Now my requirement is , I need to port entire OTA application in IFX_CY8C6244AZI-S4D82 variant. And it is 256KB variant. According to MCUBoot documentation it supports 512KB, 1 MB, 2 MB flash memory. So is it possible to run the MCUBoot library in 256KB variant?
I am able to manage the flash table according to 256KB in CY8CKIT-02S2-43012 board. As of now application primary patrician is resides in internal flash and secondary will resides in external flash.
CY8CKIT-062S2-3012 has 512-Mbit Quad SPI NOR flash external flash. And in my project we have used S25FL064LABMFI010(8 MB) flash variant. So is it possible to port my custom OTA example in 25KB internal flash and 8MB external flash variant?
Show Less We're basing our code on the examples in the documentation but seem to be unable to get an actual reading off the ADC. Debugging has traced the problem to something about our CheckADC()
function.
int main(void) {
cy_rslt_t result;
Cy_GPIO_Write(Batt1Out_PORT, Batt1Out_NUM, 1);
Cy_GPIO_Write(TempPwr_PORT, TempPwr_NUM, 1);
Cy_GPIO_Write(PayloadCtrl_PORT, PayloadCtrl_NUM, 0);
int16_t resultADC;
int16_t resultmV;
int16_t voltagemVolts;
uint32_t chan = 0UL;
Cy_SAR_Init(BusVoltage_HW, &BusVoltage_config); // ADC channel 0 is designated BusVoltage in config
Cy_SAR_Enable(BusVoltage_HW);
Cy_SAR_StartConvert(BusVoltage_HW, CY_SAR_START_CONVERT_CONTINUOUS);
/* snip #if defined block */
int CheckADC( void ) {
resultADC = Cy_SAR_GetResult32(BusVoltage_HW, chan);
resultmV = Cy_SAR_CountsTo_mVolts(BusVoltage_HW, chan, resultADC);
voltagemVolts = resultmV * 8; // 8:1 voltage divider on the input
return 0UL;
}
}
The resultADC
expression is returning a constant value of -2048 and as a result we're getting no useful results when CheckADC()
is called, despite having a 15 V (ETA: 1.875 V after an 8:1 voltage divider), 0.1 A power supply connected to that terminal.
Hi ,
I use MTB3.0 to compile "QSPI_XIP" project , show out the follow error message:
: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory
What causes this error? Thanks!
Show LessDear forum members,
I'm currently working on a project using the CY8C6347BZI-BLD53 board from Cypress Semiconductor, and I would like to integrate a "Radial Slider" into my application. However, I'm facing difficulties in identifying the appropriate pins on the board to connect the "Radial Slider".
I have consulted the available documentation online for the CY8C6347BZI-BLD53 board, but I couldn't find specific information about the pins to use for the "Radial Slider".
I'm reaching out to this forum in the hope that someone can assist me in finding the proper pins for the "Radial Slider" on the CY8C6347BZI-BLD53 board. I would be grateful if anyone with knowledge of this board or experience working with the "Radial Slider" could provide me with information about the specific pins to use and perhaps even advice on the required hardware configuration.
I'm open to any suggestions or references to additional resources that could help me solve this issue. Please note that I have already checked the online documentation provided by Cypress Semiconductor, but I haven't found the necessary information.
Thank you in advance for your valuable assistance!
Best regards,
[Anas]
Hello,
I'm using CY8CPROTO-063-BLE PSoC 6 PROTOTYPING KIT with CYBLE-416045-0243-SMT which is used for reading the position of a motor with an encoder throght the Quadrature Decoder component.
The Quadrature decoder for the CY8CPROTO-063-BLE PSoC 6 PROTOTYPING KIT with CYBLE-416045-0243-SMT is configured as follows:
Quadrature decoder resolution : 32bit
Quadrature mode: 4x
Interrupt surce: none
Index input: Disabled
Stop input: Disebled
Clock input: 25 MHz
The Quadrature decoder for the PSoC5LP development board with CY8C5888AXI-LP096 is configured as follows:
PSoC 5 QuadDec configuration:
Counter size: 32 bit
Counter resolution: 4x
Use index input: not enabled
Enable Glitch filtering: enabled
clock: 25 MHz
The motor is controlled by a PWM signal and a direction pin, PWM is set via firmware changing the working cycle to 20% when the motor is on and 0% when it is off.
The test consists in starting from the 0 position and rotating the motor of a fixed position clockwise and then of the same position counterclockwise.
So that at the end of both rotations the motor returns to the initial position, which is zero.
Turning the motor clockwise and then counterclockwise (the final position of the motor is exactly the one in which it starts) the position detected by the CY8CPROTO-063-BLE PSoC 6 does was not at 0 while , the PSoC5LP development board with CY8C5888AXI-LP096 detected 0. As if reading anchor on PSoc6 did not work properly.
How can I solve this problem ?
Thanks in advance for any replies.
Lucia
Show Less