PSoC™ 5, 3 & 1 Forum Discussions
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/PSoC-5-3-1/CCG5%E4%B8%AD%E6%80%8E%E4%B9%88%E5%81%9ADR-SWAP/td-p/683316
Show LessI am connecting a resistor to the DAC output and I am giving sine wave current signal to it of 1 khz freq and 5 micro amp for 10 times. every time I give this signal for 1 sec. I first start signal generation , on this for 1 second and stop signal. give some delay and repeat this process.
But every time when I start the signal I found a Spike at the resistor. Why this is coming, and How can I remove it?
Show Less请教个问题,我配置了CCG5 的port1 作为source对外充电,但port1仅连接了Vbus,GND 和CC 引脚到type-C 口。
我们的type-C口是完整的usb3.0,支持对外传输数据。
了解到传输数据需要通过CC引脚进行传输方向的协商,我们要数据传输的方向是从CCG5传到外部连接的设备。
请问,我们在CCG5中需要怎么配置才可以实现这个type-C口即支持对外充电,又支持数据传输?
Show LessHi,
I wonder how the clock frequencies used in a design can be calculated during runtime in general (design uses a clock component) and especially for clocks which are internal to a component, e.g. UART.
For example, using Clock_GetSourceRegister() returns CYCLK_SRC_SEL_SYNC_DIG which equals the (un)divided PLL output. So, I know the source, but I don't know the source frequency. I assume I've to calculate backwards through the clock tree, right? I couldn't locate any APIs or at least fixed preprocessor definitions to get the corresponding values.
For component internal clocks like UART, it seems to be even more complicated because the clock (API) can't be accessed.
Any help is appreciated.
Regards
Hi,
what is the behaviour of DMA in low power modes?
My DMA is working but does not restart after wakeup from hibernate.
Reconfiguring does not help.
Greets,
Joerg
Show LessWhen enabling the systick by a call to CySysTickStart(), interrupt 15 (=I2C) is also enabled.
This is a bug. Systick is exception nr 15, not interrupt nr 15
void CySysTickInit(void)
{
......
CySysTickClear();
CyIntEnable(CY_INT_SYSTICK_IRQN); <---------------------------------------- BUG!!!!!!!!!!!!!!!!!!!!! This enables I2C interrupt
}
Hi everyone,
in one of my projects I communicate via a two-wire 485 serial port with a PC, the baud rate is 115200 bps, but out of necessity I have to increase the speed and therefore I set the baud rate to 460800 bps but it no longer works, I also tried using the external XTAL as a source, does anyone know if there are any limitations or special precautions?
When using USBUART, is there an interrupt for either
1) data received and/or
2) data with end char recieved?
One can poll frequently with USBUART_DataIsReady() or USBUART_GetCount(), but it would me much more elegant to call an ISR when data arrived.
Thanks for help!
Show Less