PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
I input a 6bits_code_min=0dec or 6b_code_max=62dec value into the DAC6 by means WriteStall API and I get unexpected Voutput value.
Theoretically the DAC6 datasheets told us:
Vout=(Vrefhi-AGND)*ACap/FCap+AGND
Taking into account my reference Vdd/2+/-BandGap I must to have:
Vout(max)=3.76V
Vout(min)=2.5V
Instead of this I obtain a more or less a Vout=3.7 V and after that the value is going down until reach
aproximattely 2.5V. I put the analog outputs in High Z.
The C code is simple:
"PSoCAPI.h" // PSoC API definitions for all User Modules
#define
DAC_MAX ( 62 ) // Define max DAC value as 62
unsigned
unsigned
int
void
{
DAC6_Start(DAC6_HIGHPOWER);
BUFFER_Start(BUFFER_HIGHPOWER);
{
DAC6_WriteStall(bDACValue);
for(i = 0xFF; i != 0; i--); // Delay loop
}/*while*/
char bDACValue = DAC_MAX; // Variable for the DAC value char j; // Variable for an index i; main() // Start DAC6 in HIGH power mode while ( 1 ) // Repeat forever //for(j=0; j<62; j++){ for (i = 0xFF ; i != 0 ; i--); // Delay loop for (i = 0xFF ; i != 0 ; i--); // Delay loop} /*main*/
Anyone could tell me what's going on? Thanks
#include
Show LessHello Everybody ,
I want toKnow the possible means to transfer continuous Digital output data of the DelSig ADC through the USB simultanuously. and if the answer is using DMA i cant find the Adresses for their TD and channel so i can use it as Periferal to Periferal transfer ADC->USB.
Thanks in advance
Maxdamage
Show LessGood evening, everyone,
I'm trying to DMA CAN messages directly to a USB IN endpoint, but it does not appear that it is possible to DMA anything *to* USB. It seems that you can only DMA from data received from USB into the PSoC. Is this correct?
I am trying to send any CAN messages that are accepted into one of the mailboxes over to a PC over USB. I can easily do this with the "message received" interrupt on CAN and an interrupt handler running on the ARM but I would like to try to do this using DMA and without CPU intervention. I added a hardware interrupt pin to the CAN component and set up the interrupts so that only "message received" generated an interrupt, then wired this to a DMA component.
The DMA Wizard allows me to configure the DMA component to transfer from SRAM to SRAM, but not from SRAM to a USB IN endpoint. The DMA Wizard will also let me configure the USB DMA component with a source of SRAM, Flash, EEPROM or two very odd options: "USB_EP17_DMA_Done_SR" and "USB_EP8_DMA_Done_SR". The only destination that the USB DMA component can choose is SRAM. I have no way to transfer from SRAM to USB.
What is also odd is that I have only one EP configured, EP1 which is an IN endpoint. I don't know where EP17 and EP8 are coming from.
Can anyone shed some light on this?
Show LessI want to generate a AC voltage to drive a resolver.And,I know the WaveDAC8 can generate a sine wave directly.But,it is DC voltage.Dose anyone have a idea to transform it to AC?
Show LessHello,
I recently bought a PSoC 5LP test board and I wanted to use it for measuring consumption.
I followed the guidelines on how to configure the board for low-power operations, but I have a problem : I wanted Vddd = Vdda using a power supply (instead of the on-board regulators on the kit) and I found that Vddd != Vdda although I linked both pins together.
Before I file in a case, i would like to ask the community if any has seen such problem before.
My board is a CY8CKIT-050 revision B.
Thanks,
Show LessHello,
I'm wondering if Cypress provides PSoC symbol files for ECAD applications. Specifically, I'm interested in a PSoC1 28-pin DIP symbol for gschem, but any general info on this subject would be appreciated. I can't seem to dig anything up online about this, but I'd be a little suprised if these files don't exist somewhere already!
Thanks.
Show Less