PSoC™ 5, 3 & 1 Forum Discussions
Hello every one!!!
Have any of you tried to program a Schmartboard whit CY8C3866LTI-030?
I need to test a prototype and I do not want to use the CY8CKIT-030 and have decide to buy a Schmartboard.
I cannot figure out how to download the bootloader project in such a board using the Miniprog3 kit.
The application note PSoC® 3 and PSoC 5LP I2C Bootloader ( AN 60317) explain how to download a bootloadable project using Miniprog 3. It assume that you have a bootloader project already downloaded into the Psoc device, in this case, the CY8C3866LTI-030 on Scmarboard.
In summary, may be someone can explain me how to download a Bootloader project in the Scmarboard sponsored By Cypress.
The readme file provided for Scmarborads, explaning how to program the board is not very explanatory for me.
I have attached the Readme file.
I will appreciate a lot your help.
Thank you very much.
Show Less
We are using a PSoC 3 in the 48-pin MQF (CY8C3866LTI-067) and we are so tight in pins that we could not use the hardware reset option, but had to declare P1[2] as GPIO.
So for re-programming we have two options - power cycle and bootloader (soldering pre-programmed devices to the board).
Power cycle programming turned out to be difficult first, the reason was that we had too many decouple capacitors (>400 microfarad ceramic) on the board. After we reduced it, it works reliable -though Cypress seems not to recommend it.
For bootloading with pre-programmed devices we had the difficulty that obviously the manufacturer had not programmed the NVLs, so the bootloader refused to re-program the flash.
One question arises (for both PSoC 3 and PSoC 5LP which we use on other boards):
How can I read the non-volatile latches from the PSoC processor?
Andreas
Show LessHello everyone,
I´m trying to implement the watchdog with the CyWdtStart() API and I saw that the bigger time until the reset is between 2.048 and 3.072 seconds using this variable "CYWDT_1024_TICKS". I need more time than that. It´s posible to do it bigger?
Thanks
Show LessHi,
I'm using the sample & hold component in my proyect since I need to sample a signald comming from a photosensor which receives light from a very short pulse of light which comes from an LED.
The problem is that when I use the sample and hold circuit I get a noisy signal compared to the one I get when sampling without the H&S.
In my case I'm turing on the LED, activating the H&S with a Control register connected to the clk input of the sample and hold , then turning of the LED and lastly I use the SAR ADC to sample 64 times the voltage in the sample and hold. I'm sampling 64 times to get a better resolution.
When I omit the S&H the signal is good but then it takes too much time for the ADC to make the 64 samples. If I add the S&H it gets very noisy.
I've checked the TRM which in page 271 shows the Track and Hold diagram and it has a hold cap of 12pF and a voltage follower.
If I use the S&H making just one sample at a time it gets a "smooth" signal.
I think the might be that the S&H might not be holding the voltage enough time to do all the conversions.
I've tried adding a unity gain PGA between the S&H and the ADC with the same results.
I'm doing this with a pair of SAR ADCs, Muxes and S&H because I need to sample 10 sensors, 5 on each ADC , and I need to reduce the time the LEDs are on as much as possible.
Does anyone have any idea why this is happening?
Code:
AMux_1_Select ( sensorSelected);
AMux_2_Select (sensorSelected);
CyDelayUs (50); // wait for Muxes to switch
LED_ON();
SH_ControlReg_Write(0); //Start holding and sampling
CyDelayUs (550);
SH_ControlReg_Write(1); //Stop sampling
LED_OFF();
sampleADC (firstLayerSensorOrder[groupLED],firstLayerSensorOrder[groupLED], &sampleTop, &sampleBot);
sampleADC (firstLayerSensorOrder[groupLED]+1,firstLayerSensorOrder[groupLED]+1, &sampleTop, &sampleBot);
Thank you.
Show LessHello all,
Please pardon me if it is a naive question. I build my psoc code and it showed no error and I burned it using miniprog. I would like to know the name of the file that is being burned in the flash. For example, if my project name is "example" pre say, than there is one file named "example.hex". Is it the .hex file which is being burned?
And secondly, if that is the case, I would like to give only this .hex file to my collague for testing and validation purposes and not the entire project. I dont want to share the code. He too has Psoc creator and miniprog at his disposal. Is it possible for him to just burn that .hex file.
What other files or parameters should I need to give. Is there any other format in which the file is converted before burning?
I know I am asking lots of questions but I really need to know the answers.
Thank you in advance
Show LessI am setting up a RTD temperatur emeasurement using CY8C5888AXI-L096 (with 20 bit ADC).
So far I have an IDAC8 , an analog MUX and Delta ADC on the worksheet with 4 Analog Pins.
When I attempt to assign the pins to the ports in cydwr, the pins P12[0] and P12[1] are not available. It looks like they are assigned to I2C function? Is this why they are not available? If so, is there a setting to make them available?
I am using JTAG 4 debugging interface with no alternate functions and have no I2C modules loaded.
Thanks
Show Lesshere is my code i am trying to get 32 bytes by uart when it is sent from other mcu .
this data is used for further process.
my cy conroller will wait for this 32 bytes data train and whenever it come interrupt is triggered and it will be stored and it will again wait for another 32 bytes data..
void main(void)
{
M8C_EnableGInt ;
UART_1_Start(UART_PARITY_NONE);
SPIM_1_Start(SPIM_1_SPIM_MODE_0 | SPIM_1_SPIM_MSB_FIRST);
start:
UART_1_Start(UART_PARITY_NONE);
UART_1_CPutString("\r\nSTART\r\n");
a=0;x=0;
LED_3_Switch(0x01);
UART_1_IntCntl(UART_1_ENABLE_RX_INT);
while(!x);
goto start;
/*
*/
}
void UART_1_RX_ISR_C(void)
{UART_1_CPutString("\r\n*I*\r\n");
LED_4_Switch(0x00);
a=0;
rpt:
if(UART_1_bReadRxStatus() & UART_1_RX_COMPLETE )
{
cUARTData1=UART_1_cReadChar();
a++;
LED_4_Switch(0x01);
}
if(a<32){goto rpt;}
LED_3_Switch(0x00);
for(b=0;b<32;b++)
{
UART_1_PutChar(cUARTData1);
}
x=1;
return;
}
Hi every one!!!
I have a question about the use of Psoc Creator and using the programmer 3.21.0.
I need to develop a board using the CY8C3866LTI-030.
It is supposed that the CY8CKIT-030 which has a CY8C3866AXI-040 is able to create and debug code for any device of the family CY836XXXX.
When I am trying to build code there no issue but ehen I want to download code for CY8C3866LTI-030 on a kit a message appears telling me that is not target available for such a device.
Please someone tell me what is wrong with any of my statement.
Thank you very much.
Best regards
Alex101
Show LessHello,
I'm at my wit's end with this, but I absolutely cannot for the life of me get this accelerometer to work with this board in any way shape or form. I first tried I2C, but this plain does not work despite the fact that the sensor claims to support I2C. I keep getting NACK's back when sending a start with the correct slave address.
So I'm trying SPI. This *appears* to work. I'll send the master control data to the master control register, however when I attempt to read back the status register from the rx buffer, the rx buffer simply contains the very last data I sent from the tx buffer. To be clear, the break out board does not support 4-wire SPI, only 3-wire (bidirectional) which is how I have it set up.
The sensor's data sheet is: http://parallax.com/sites/default/files/downloads/28526-Freescale-MMA7455L-Device-Documentation.pdf
Of particular interest are pages 9 and 18.
I've done everything I can possibly do over the course of 2 weeks to get these two devices to play nicely and they just don't seem to want to whatsoever. I've attached the workspace.
Show Less