-
1. Re: help with FX3S RAID-on-Chip USB Dongle debug
KandlaguntaR_36May 14, 2019 3:57 AM (in response to MoLa_3842091)
In Raid 1 example project:Please define DEBUG to enable the UART in IOMatrixConfig.Note that the Debugprints (CyU3PDebugPrint) are commented out in the RAID1 project. Can you please uncomment them and check?You may load any other firmware (USB Bulk Source Sink - C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\basic_examples\cyfxbulksrcsink) and check.1 of 1 people found this helpful -
2. Re: help with FX3S RAID-on-Chip USB Dongle debug
MoLa_3842091 May 14, 2019 9:59 PM (in response to KandlaguntaR_36)>> You may load any other firmware (USB Bulk Source Sink - C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\basic_examples\cyfxbulksrcsink) and check.
I loaded this firmware and I still have the same problem
/* Configure the IO matrix for the device.
* S0 port is enabled in 8 bit mode.
* S1 port is enabled in 4 bit mode.
* UART is enabled on remaining pins of the S1 port.
*/
io_cfg.isDQ32Bit = CyFalse;
io_cfg.s0Mode = CY_U3P_SPORT_4BIT;
io_cfg.s1Mode = CY_U3P_SPORT_4BIT;
io_cfg.gpioSimpleEn[0] = 0;
io_cfg.gpioSimpleEn[1] = 0x02102800; /* IOs 43, 45, 52 and 57 are chosen as GPIO. */
io_cfg.gpioComplexEn[0] = 0;
io_cfg.gpioComplexEn[1] = 0;
io_cfg.useUart = CyTrue;
io_cfg.useI2C = CyFalse;
io_cfg.useI2S = CyFalse;
io_cfg.useSpi = CyFalse;
io_cfg.lppMode = CY_U3P_IO_MATRIX_LPP_UART_ONLY;
status = CyU3PDeviceConfigureIOMatrix (&io_cfg);
Any idea what the problem is?
-
3. Re: help with FX3S RAID-on-Chip USB Dongle debug
MoLa_3842091 May 14, 2019 10:09 PM (in response to MoLa_3842091)The problem is solved, thanks for your help!
I realised that i had some a hardware faulty!!
-
4. Re: help with FX3S RAID-on-Chip USB Dongle debug
KandlaguntaR_36May 14, 2019 10:46 PM (in response to MoLa_3842091)
As per the firmware, it looks fine.
I just checked the schematic of the RAID 1 Dongle. Eventhough the header shows UART_TX and UART_RX pins, but the these pins are not connected to FX3S UART pins.
You can see there are DPR1 and DPR2 below right corner of SPI flash on the USB Dongle. The default connections of DPR1 and DPR2 are between 1 and 2 (placed 0 ohm resistor - connectd to SPI flash MISO and MOSI) and the connection between 2 and 3 are open. The 3 pin of DPR1 and DPR2 are connected to HDR.
Therefore, please solder a wire to second pin of DPR 1 and DPR 2 to take out the UART TX and RX connections.
Connect these wires to adafruit board. Then you will see the UART prints.