PSoC™ 5, 3 & 1 Forum Discussions
I am using CY8C5867LTI-LP025.
I understand that I need to use the SIO port to use I2C, UART, etc.
Does SPI communication also need to use the SIO port?
Show Lessis programmer present in psoc kit59 development kit support to programm for psoc 1 family mcu like cy8c29466, cy8c27xxx, cy8c21xxx?
i want to include cy8cmbr3110-sx2i library in arduino ide .but i am unable to find those library in arduino ide.
i am trying to control RELAY-ON/OFF2 which is connected to 14 pin of cy8cmbr3110-sx2i but it is showing error can someone please guide me to do this and one thing how to use confugire 22 and 23 as sda and scl instead of default 21 and 22 pins in esap32 .because i want to use 21 pin as the interupt pin please guide if there is alternate solutions for this.
Show LessI want to know different ways to configure touche sensor cs4/sh of cy8cmbr3110-sx2i as the gpo pin.instead of touch I want use that pin as gpo.
I'm running into a weird intermittent problem with the UART on the PSoC 5LP(using the cy8ckit-059 eval board) where it looks like the UART component seems to miss or skip 4 bits of the serial data, and then on the next byte it gets a 'stop-bit' error if the middle bit that it thinks is the stop bit isn't a one (and otherwise it gets the wrong value).
I put in debug flags in the ISR, and I can see the interrupt gets delayed by 4 bits (there's nothing else running on the chip to cause any latency or delays, and it happens at both 57600 and 1 Mbps
This happens when it's communicating with a 'smart' servo, but if I reconfigure it to 'loopback', then it does not seem to occur.
I tried adding more decoupling capacitors to the power rails, but it didn't help.
I've attached a scope trace. The Yellow trace is the serial data, the Blue trace is the ISR flag, and the Green trace goes high once the Stop-bit error is detected.
You can see the regular spacing up until the byte just before the stop-bit flag goes high. It really looks like the UART just skips some bits.
Any thoughts or ideas?
Thanks.
-MIchael
Show Less
I would like to use EMIF in a multiprocessor system. For this, the address and data bus should be set to a high-impedance state from time to time. Possible? I can't find where the EMIF bus is connected in the drawing? Directly to PIN or Drive Logic block? Or something else?
Is there a diagram or more detailed description for the EMIF UDB signals (Xmem_wr, Xmem_rd, Udb_Ready)?
Show LessHello,
Hope you all are doing good.
I am stuck how can I send the adc converted data to any variable of data type uint8 assigned in the code.
I am using following dma configuration but i am not receiving data in uint8 value2 variable. purpose is to receive data in value2 via DMA then process it and send it to pwm via DMA , so basically i need to know how to get data in any variable and send data from any variable to peripheral via DMA .
please guide me.
for ADC (8 bits) to variable, I have connected EOC of delsig ADC to drq of DMA and left nrq pin of DMA unattached.
thanks
following is the definition and configuration i am using
#include <project.h>
#include <math.h>
#include <stdio.h>
#include <stdbool.h>
#include <time.h>
#include <cydevice.h>
#include <cytypes.h>
#define DMA_BYTES_PER_BURST 1
#define DMA_REQUEST_PER_BURST 1
#define DMA_SRC_BASE (CYDEV_PERIPH_BASE)
#define DMA_DST_BASE (CYDEV_SRAM_BASE)
void DMA_Config(){
/* Variable declarations for DMA */
/* Move these variable declarations to the top of the function */
uint8 DMA_Chan;
uint8 DMA_TD[1];
/* DMA Configuration for DMA */
DMA_Chan = DMA_DmaInitialize(DMA_BYTES_PER_BURST,DMA_REQUEST_PER_BURST,HI16(DMA_SRC_BASE),HI16(DMA_DST_BASE));
DMA_TD[0] = CyDmaTdAllocate();
CyDmaTdSetConfiguration(DMA_TD[0], 1, DMA_TD[0], DMA__TD_TERMOUT_EN );
CyDmaTdSetAddress(DMA_TD[0], LO16((uint8)ADC_DEC_SAMP_PTR), LO16((uint8)&value2));
CyDmaChSetInitialTd(DMA_Chan, DMA_TD[0]);
CyDmaChEnable(DMA_Chan, 1);
}