PSoC™ 6 Forum Discussions
text.format{('custom.tabs.no.results')}
I am able to list the sensor and receive correct response using CY8CKIT-062-WiFi-BT, however when i change to CY8CPROTO-062-4343W and wire exactly the same i do not see sensor in list?
Show LessI am trying to change the PLL clock using the cypress API functions, instead of the "Clocks" UI section. There is a "walkthrough" here: https://www.cypress.com/file/420571/download on page 132.
My code looks something like this:
int main(void)
{
uint32_t clkPath = 1;
Cy_SysClk_ClkPathSetSource(clkPath, CY_SYSCLK_CLKPATH_IN_IMO);
cy_stc_pll_manual_config_t* config;
configNew->feedbackDiv = 25UL;
configNew->referenceDiv = 1UL;
configNew->outputDiv = 2UL;
configNew->lfMode = true;
Cy_SysClk_PllEnable(clkPathManual, 2); // > 1us delay as suggested on step 3 of TRM
Cy_SysClk_PllManualConfigure(clkPath, config);
...
}
It seems that the PLL is already enabled when Cy_SysClk_PllManualConfigure() is called, and i get CY_SYSCLK_INVALID_STATE return code from the function. Any suggestions? Thanks in advance.
Show LessWhen I build CE222494_PSoC6_WICED_WiFi demo, I got the error that "resources_apps_DIR_CE222494_PSoC6_WICED_WiFi_DIR_main_html" undeclared. Could you advise ma how to define this item. Thank you very much!
Here is the demo on web : https://www.cypress.com/documentation/code-examples/ce222494-psoc-6-wiced-wifi-demo
Show LessDear Community,
I have purchased the PSoC® 6 Wi-Fi BT Prototyping Kit (CY8CPROTO-062-4343W) to test the Wi-Fi and Bluetooth.
But I can't find ant example code to test the module.
Is there any software available with Wi-Fi configuration?
I installed the ModusToolbox IDE, and not the Wiced software, because I read somewhere that this version of the prototyping kit is not supported by Wiced.
If I'm wrong please tell me.
Kind regards,
Sergio van Vliet
Show LessHey everyone, I'm doing a radar project to measure distances. More specifically I am making an FMCW radar that uses the PSoC 6 BLE Kit (CY8C6347BZI-BLD53, U1) to do the dsp and displaying of the distance using a 4-bit 7-segment display. Probably should have used PSoC 5 for dsp but I'm just using what I have currently.
How I intended for the project to work:
Run an ADC to collect a period's worth of data from both a transmitted and received signal (both are roughly triangle waves around 25 Hz). Then both data sets are run through FFT's (currently using the CMSIS DSP library, Frequency Bin Example) and related functions to get the frequency magnitudes and bin values. I then find the frequency peaks of each signal and find their difference, which can then be used to find the distance of an object from the radar system.
Problem:
The FFT function arm_Cfft_f32 seems to not be doing what I expected and after calculating the frequency peaks. After testing with a frequency generator and changing frequencies, the values out remain to be around 600 Hz, which means somewhere the FFT is going wrong, or maybe the data being inputted is incorrect, but that can't be due to it just coming out of the ADC. It could be because I'm using a complex FFT whereas there is both signals are real so that could be causing an issue, but I'm not 100% sure. To summarize, the issue I'm having is with the outputs of each signals FFT, leading to incorrect peak frequency outputs.
Attached is my project.
Show LessAs a follow on to this closed thread: Does blowing the eFuse require 2.5V or at least 2.5V?
The datasheet says VDDIO0 but AN221111 says VDDD. Which one is correct?
Show LessI have a project whit a PSoc6 and a SAR ADC v 3.1.0 .
The program reads a single ended channel by PIN P10_0 but the value thta I read is always zero....
thank you...
The code is:
int main(void)
{
/* UART initialization status */
cy_en_scb_uart_status_t uart_status ;
/* String to transmit over UART. */
char uartString[200];
static int16_t chanResult;
static int16_t chanResultmV;
/* ADC SAR initialization status */
cy_en_sar_status_t status;
char flag=0;
/* Initialize UART operation. Config and Context structure is copied from Generated source. */
uart_status = Cy_SCB_UART_Init(Uart_Printf_HW, &Uart_Printf_config, &Uart_Printf_context);
if(uart_status != CY_SCB_UART_SUCCESS)
{
HandleError();
}
Cy_SCB_UART_Enable(Uart_Printf_HW);
/* Enable analog reference block needed by the SAR. */
Cy_SysAnalog_Init(&Cy_SysAnalog_Fast_Local);
Cy_SysAnalog_Enable();
Cy_SAR_Enable(SAR);
/* Initiate continuous conversions. */
Cy_SAR_StartConvert(SAR, CY_SAR_START_CONVERT_CONTINUOUS);
for(;;)
{
/* Query end of conversion status. */
status = Cy_SAR_IsEndConversion(SAR, CY_SAR_RETURN_STATUS);
if (CY_SAR_SUCCESS == status)
{
chanResult = Cy_SAR_GetResult16(SAR, 0);
chanResultmV = Cy_SAR_CountsTo_mVolts(SAR, 0, chanResult);
/* Transmit results over UART. */
sprintf(uartString, "Volt = %d \r\n", chanResultmV);
Cy_SCB_UART_PutString(Uart_Printf_HW, uartString);
Cy_GPIO_Inv(LED_Red_P0_3_PORT, LED_Red_P0_3_NUM);
CyDelay(200);
} }
}
Show Less
I'm trying to incorporate the example from the eeprom example:
into my project.
However when I build the project, an error occured, If anyone could help me that would be great! Thanks!
Here's my eeprom configuration:
EEPROM Size: 8192
Redundant Copy: No
Use Blocking Write: No
Use Emulated EEPROM: Yes
Wear Level Factor: None
EEPROM configuration in ld files both of CM0 & CM4:
em_eeprom (rx) : ORIGIN = 0x14000000, LENGTH = 0x8000 /* 32 KB */
And my error log:
No ELF section .cychecksum found, creating one
Application checksum calculated and stored in ELF section .cychecksum
Checksum calculated and stored in ELF section .cymeta
"C:\Program Files (x86)\Cypress\PDL\3.0.4\tools\win\elf\cymcuelftool.exe" --merge C:\Users\XuRi\work\CYPRESS\BroJiaXing\f0v3EEPROM\f0v3\BLE_KEY.cydsn\CortexM4\ARM_GCC_541\Debug\BLE_KEY_signed.elf C:\Users\XuRi\work\CYPRESS\BroJiaXing\f0v3EEPROM\f0v3\BLE_KEY.cydsn\CortexM0p\ARM_GCC_541\Debug\BLE_KEY.elf --output C:\Users\XuRi\work\CYPRESS\BroJiaXing\f0v3EEPROM\f0v3\BLE_KEY.cydsn\CortexM4\ARM_GCC_541\Debug\BLE_KEY.elf --hex C:\Users\XuRi\work\CYPRESS\BroJiaXing\f0v3EEPROM\f0v3\BLE_KEY.cydsn\CortexM4\ARM_GCC_541\Debug\BLE_KEY.hex
C:\Users\XuRi\work\CYPRESS\BroJiaXing\f0v3EEPROM\f0v3\BLE_KEY.cydsn\CortexM0p\ARM_GCC_541\Debug\BLE_KEY.elf: Merge error: Section 0x14000000 at C:\Users\XuRi\work\CYPRESS\BroJiaXing\f0v3EEPROM\f0v3\BLE_KEY.cydsn\CortexM0p\ARM_GCC_541\Debug\BLE_KEY.elf overlaps section 0x14000000 from C:\Users\XuRi\work\CYPRESS\BroJiaXing\f0v3EEPROM\f0v3\BLE_KEY.cydsn\CortexM4\ARM_GCC_541\Debug\BLE_KEY_signed.elf,
but it contains different data
The command 'C:\Program Files (x86)\Cypress\PDL\3.0.4\tools\win\elf\cymcuelftool.exe' failed with exit code '1'.
--------------- Rebuild Failed: 03/18/2019 14:28:27 ---------------
Show LessHello,
I am trying to figure out how the EZ-BLE module is wired up in the prototyping kit as I would like to use it separately in a project.
I was reading the page 4 of the schematics CY8CPROTO-063-BLE Schematic.pdf but I am not 100% sure where VDD (MCU power input) is coming from. My understanding is that the power line is VTARG (coming from the other half of the board, the one with the programming chip) and it is connected to VDD via the 0 ohm resistor R28. Is that correct ?
If I want to use a power regulator such as U6, can I connect VCC out of the regulator to VDD ? My application uses many analog input, could anyone recommend a good regulator with 2 separate power lines ? Ideally an ultra-low power PMIC such as the BQ25150 but with two LDO.
Just to make things clear, can anyone explain briefly VTARG, VBACKUP, VREF and of course the difference between VDD and VCC. The only thing I am sure of is VIN...
Thank you !
Show LessWhen will support for USB Host be available?
The "psoc6 getting startet guide" states that configuring UDB's and USB Host will be available in a later version of ModusToolbox, but when is that?
Show Less