PSoC™ 6 Forum Discussions
Hello,
I'm using Modus Toolbox 2.4.
Previously, I used to refer to KBA231373 to make a custom bsp.
https://community.infineon.com/t5/Knowledge-Base-Articles/ModusToolbox-2-2-and-later-Make-a-Custom-BSP-KBA231373/ta-p/251107
In the Modus 2.4, there was an empty project in PSOC6-GENERIC BSP, but I can't find it now.
I want to create a PSOC6-GENERIC empty project, but has it been deleted?
Thanks and Regards,
YS
about the max frequency specs below, i.e. 8 MHz port0, 16 MHz on port 5 to 10
- is this a real limitation or are there ways using internal routing fabric or use or UDB's to get the ECO XTAL out to a GPIO?
- it actually works if you configure ECO -> PLL -> CLK_HF0 > CLK_PERI -> any GPIO... but what are the risks of doing this?
ps. I know that CLK_HF4 can be routed out through P0[0] or P0[5], but can't use those pins
Show Less
In Psoc Creator 4.4:
- is possible get the Pins list to .csv file to check IO ring?
- is possible extract Pins list to export to a new project?
Show Lesshi,
Anyone been using the PSoC 6 SMIF to work with a Quad SPI NAND flash?
Curious if XIP works, vs how people are dealing with ECC even though that is mostly managed on most SPI NAND's
Thanks
Show LessIs there an example of exporting ThreadX into a PSoC6 project on ModusToolbox?
I saw a post stating that Cypress worked with Microsoft but the links on the post now go to ThreadX's homepage.
The solution could be manual - I don't need to necessarily use the Library Manager.
Show LessI created two projects for the CY8CPROTO-062-4343W kit. One was Hello Word and the other empty Dual-CPU.
Hello World worked as expected. I then changed the code for to use the PDL low level library calls Cy_SCB_UART_Init(), Cy_SCB_UART_Enable(), and Cy_SCB_UART_PutString(), and the code still worked as expected. I put the same code in the Dual-CPU.proj_cm4 and the UART doesn't work. Looking in the memory space, data goes into the FIFO but doesn't get transmitted. Looking at the memory space the correct SCB clock is selected, and the clock is enabled with the correct parameters. All generated code in .../config/GeneratedSource for both projects is identical. After stepping through the code in both projects until UART initialization completes, the UART memory space is identical. Any ideas as how to resolve this? I assume it is specific to ModusToolbox 3.0. My goal is to have the UART code operate in the CM0+ core.
Show LessHello.
I am using CY8C6136.
It is communicating with PC using usb cdc.
Up to 145 bytes are transmitted from the pc side and received from the MCU.
64 / 64 / 17 bytes are expected to be received.
But the second packet is not received and 1st/3rd packets are being received.
I wonder how to change the structure so that I can receive it without missing .
Below is my function related to receiving.
thanks.
uint8_t len;
uint8_t countReal;
uint8_t bufReal[256];
static void usb_medium_isr(void)
{
#if defined(MSG_USB)
dbg("@%s() - t:%d", FUNCTION, TICK);
#endif
uint8_t count;
uint8_t buf[256];
NVIC_ClearPendingIRQ(usb_medium_interrupt_cfg.intrSrc);
// Call interrupt processing
Cy_USBFS_Dev_Drv_Interrupt(USBFS0, \
Cy_USBFS_Dev_Drv_GetInterruptCauseMed(USBFS0), \
&usb_drvContext);
// rx data check
//// CDC_Receive_FS();
if (Cy_USB_Dev_CDC_IsDataReady(USBUART_COM_PORT, &usb_cdcContext))
{
/* Get number of bytes */
count = Cy_USB_Dev_CDC_GetAll(USBUART_COM_PORT, buf, USBUART_BUFFER_SIZE, &usb_cdcContext);
if (0u != count)
{
// start check
if((buf[0] == ':') && (buf[3] != '1'))
{
memcpy(bufReal, buf, count);
countReal = count;
len = 15;
goto FULL_RX_CHECK;
}
else if((buf[0] == ':') && (buf[3] == '1'))
{
memcpy(bufReal, buf, count);
countReal = count;
len = 145;
}
else
{
memcpy(&bufReal[countReal], buf, count);
countReal += count;
FULL_RX_CHECK:
if((countReal >= len) || ((bufReal[countReal-2] == 0x0d) && (bufReal[countReal-1] == 0x0a)))
{
modbus_handle_Receive(bufReal, countReal);
}
}
}
}
}
Hi all,
I would like to use emWin library in our product design based on PSoC 6. Currently we are developing the prototype version.
Hence, I would like to know specifically the licensing of -
- emWin Graphical Library ( I have read that it can be used on PSoC devices for free , can anybody pls confirm ?)
- AppWizard - PC tool for creating the GUI.
- Bitmap Converter and other tools.
regards,
Vinu
Show Less
Hello, all ...
If I set the RTC and do a warm boot, the RTC is correctly preserved. On cold boot, however, it's set to Jan 1, 2000. I'd like to have it set to a different date on cold boot. How do I specify the value it should be set to on cold boot only? The values in the PSoC Creator RTC generated code (project/GeneratedCode/RTC.c) don't seem to be applied. What am I missing?
Regards,
John
Show Less