PSoC™ 5, 3 & 1 Forum Discussions
It is very easy, using the API to write a data in EEPROM.
but, i want to know write a data in EEPROM just once when i write new firmware.
maybe, it is possible write a data through miniprog3.
is it possible?
Please reply a solution.
Show LessHello
I have CY8CKIT-030 board kit and CY8CKIT-017 CAN board, I try to listen CAN communication and for this reason, I installed on my board the CAN example.
But CAN protocol is extended (29 bits), and Bitrate=50kbit, and I don't know where I must change CAN parameter to listen correctly.
In my example, the application return me Rx errors and I think that the problem is CAN configuration.
I changed differents parameter in CAN setup, but it doesn't work ok
Thank you in advanced
Show LessHi,
I have a design with a unprogrammed PSOC3 CY8C3444AXI-116. I'm trying to develop a BSCAN test so I can test the device. We have the device in a JTAG chain all by itself. The infrastructure test works fine. Once I try to run the interconnect test (or any other tests), all the nets fail. the detailed JTAG diagnostics information shows that all the nets are stuck at zero.
I couldn't find any info in the data sheet. but the BSDL file for this devcie contains this note at the end of the sheet:
"This CY8C3XXXX_XXX TQFP100 BSDL file supports 1149.1 testing only after "&
"two of the following conditions are satisfied: "&
"1. The JTAG port is enabled. "&
"2. All IOs are pre-configured to drive out fast strong high/low. "&
"JTAG access can be enabled either through programming NV-Latch "&
"bits appropriately or through using test-port acquisition protocol. "&
"The IOs may be pre-configuration either by writing port "&
"configuration registers directly through a test port, or relying "&
"on a programmed boot sequence which does that to complete automatically. "&
"Testing other IO configurations requires changes to this file and "&
"the pre-configured IO configuration.";
See it makes sense that this would be my problem. I believe condition #1 is satisfied since I am using a Corelis controller which would use the TMS signal for enabling the JTAG port (since the infrastructure test passes, it would be safe to assume JTAG is enabled). But condition #2 requires a pre-configuration...this obviously hasn't been done. We didn't want to spend a lot of resource time creating a program so we can JTAG BSCAN test the device. Would any one be able to lend some info on how to satisfy this conditions quickly? Would there be a program available already?
greatly appreciate any help you can offer.
Jeff W
Show LessHi,
I want to use CAN Controller on PSOC3 (CY8C3866AXI-040ES2). For that I have congured the CAN BUS to operate at 500Kbps, with system clcok is 24MHz and Baud Rate Prescalar set to 5 i.e. (8TQ = 5TQ (for TSEG1) + 2 TQ (TSEG2) + 1TQ(For SYN), SJW is set to 1. I have configured CAN interface for BASIC CAN ID, with all TX Mail Box configured for Basic Can IDs. CAN TX Line is mapped to P3[4], RX Line mapped to P3[5] and CAN_TX_EN mapped to P3[2].
Using the http://www.cypress.com/?docID=29942 as reference.
The code main loop is
================================================================================
LCD_Start();
can_set_acr_amr();
CAN_GlobalIntEnable();
CAN_Init ();
CAN_Start ();
CYGlobalIntEnable; /* Uncomment this line to enable global interrupts. */
LCD_Position(0,0);
LCD_PrintString("CAN:INIT");
==================================================================================
And, the transmitting the Message using
===================================================================================
uint32 bmc_tx_handler (uint8 cmd)
{
CAN_TX_MSG can_tx_msg;
CAN_DATA_BYTES_MSG txmsg;
int i; int bcmid = cmd - 1;
can_tx_msg.rtr = EMC_BCM_DISABLE_RTR;
can_tx_msg.ide = EMC_BCM_STD_CAN_ID;
can_tx_msg.irq = EMC_BCM_IRQ_ENABLE;
/* initialize CAN MSG packet */
for (i = 0; i < 8; i++)
txmsg.byte = 0x00;
can_tx_msg.id = EMC_BCM_REQUEST_ID | (bcmid & EMC_BCM_ID_MASK) ;
can_tx_msg.dlc = EMC_BCM_REQUEST_LEN;
txmsg.byte[0] = emc_bcm_request[cmd].bcm_req; /* Data to Send */
can_tx_msg.msg = &txmsg;
if (CYRET_SUCCESS != CAN_SendMsg (&can_tx_msg))
return CAN_FAIL;
LCD_WriteControl(LCD_CLEAR_DISPLAY);
LCD_Position(0,0);
LCD_PrintString("CAN:TX");
return CYRET_SUCCESS;
}
=========================================================================
I do not see any error message from SendMsg () after transmition is done. But, I do not see any data on TX line (on probing, it is pulled high level).
Please, let me know if any setting I am missing for CAN.
Thanks
Jitendra
Show LessHi All,
im really struggeling clearing interrupt which is driven by PWM output (pwm).
once the interrupt is driven, i cant clear it and it stays on (Clear Pending isnt working).
Please help me..
Thank you 🙂
Show LessI had read the document AN73503 which is about USB Bootloader. And also download the project, but after the component update, the project has servals errors.
http://www.cypress.com/?rID=2671
http://www.cypress.com/?id=2314&StartRow=6&PageNum=2
Hello All,
I recently got a -050A kit with the new PSoC 5 LP silicon. I have been trying to test the full 1 MSPS sample rate on the SAR ADCs.
The problem that occurs is that Creator tells me that I have a clocking error. At 1 MSPS, the configuration dialog tells me that I need a 18 MHz clock. What I did was to change the PLL speed to 36 MHz (2X required frequency). In the clock tree, this generates a divide by 2 clock into the ADC. Theoretically, this should work, but Creator still throws a clocking error warning.
Is there an example project that shows 1 MSPS sampling, or is this some kind of bug?
Thanks!
Show LessFirst, can the Vref connect to the pin(out) directly without opamp? Because when with opamp, the supply voltage is less than Vref.
Then, the amplifier(PGA) was not good while input voltage is low. (I found it's good while Vin is more than 0.2V, but Vout cannot be more than 3.9V) Huge error happened when again is 50, but I was supposed to build a gain of 500.
The follow is my design. Thx for help.
Show LessThe result of PGA amplifier (internal) was much more than gain setting when input voltage was small.
Is there any problem with my kit or something wrong?
Show Less