USB superspeed peripherals Forum Discussions
Hello,
There are several calls of the CyU3PDebugPrint() function used in the SDK examples. With this function calls debug messages should be transmitted via UART/RS232. Is that correct?
My Com Port setting are the same then in the expamples:
uartConfig.baudRate = CY_U3P_UART_BAUDRATE_115200;
uartConfig.stopBit = CY_U3P_UART_ONE_STOP_BIT;
uartConfig.parity = CY_U3P_UART_NO_PARITY;
To make sure Debug Messages are sent I added a CyU3PDebugPrint() call in the for (;;) loop of the BulkLpAppThread_Entry() function of the USBBulkLoopManualInOut example. The priority level is also set correctly.
My problem is that I do not receive any debug message at the PC. I even could not measure anything at the UART Pins.
I work with the FX3 DVK Device Board.
How could this problem be solved?
Thanks and best regards
Show LessHello,
I try to get the I2C interface working without DMA.
My initialisation looks like following:
CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
CyU3PI2cConfig_t config;
CyU3PDebugPrint (4, "CyU3PI2cInit...\r\n");
status = CyU3PI2cInit();
if(status != CY_U3P_SUCCESS){
CyU3PDebugPrint (4, "CyU3PI2cInit Failed, Error Code = %x\r\n",status);
return status;
}
config.bitRate = 100000;
config.isDma = CyFalse;
config.busTimeout = 0xFFFFFFFFU;
config.dmaTimeout = 0xFFFF;
status = CyU3PI2cSetConfig(&config, &IS_I2cIR);
if(status != CY_U3P_SUCCESS)
{
CyU3PDebugPrint (4, "CyU3PI2cSetConfig Failed, Error Code = %x\r\n",status);
return status;
}
CyU3PI2cSetConfig fails with errorcode CY_U3P_ERROR_BAD_ARGUMENT.
When setting "config.isDma = CyTrue", CyU3PI2cSetConfig returns with CY_U3P_SUCCESS.
What could be wrong?
Best regards
g.
Show LessWhy are a lot of the menu items grey'd out? Specifically, Open Project and Close Project...
Will all source code be provided for the FX3 firmware framework? That is, if I build a product around the FX3 using the firmware framework, will I have source code to all code in my FX3 firmware? I watched the FX3 technology overview video, and it appears that source code will not be included for some firmware framework components, such as the RTOS.
If some source code in the firmware framework is missing, can I build firmware for the FX3 using only the provided source code, that is, without using any component for which no source code is provided?
Show LessI can not download FX3 SDK. Can you give me a download link?
- « Previous
- Next »