PSoC™ 5, 3 & 1 Forum Discussions
Hello,
I have a problems with the interrupts with psoc5. When i start the interrupts, after a casual time this interrupts are blocked. Can you help me ? it's urgent! Thanks
I have setted the block this:
Resolution: 8-bit
Implemetation.fixed function
Period:100ms
Capture mode:none
Enable mode:Software only
Run mode: Continuos
Interrupts: On TC
I have initialized the interrupts this :
// Start Global Interrupt
CYGlobalIntEnable ;
CyDelay ( TIME_5_MS ) ;
/* Start components Interrupt */
isr_I2C_rd_tmr_StartEx ( isr_I2C_rd_tmr_Interrupt ) ;
// Avvio l'interrupt per leggere l'I2C
isr_I2C_rd_tmr_Start ( ) ; // Start ISR
// ... e il timer per la lettura del i2C
I2C_Reader_Timer_Start ( ) ;
isr_I2C_rd_tmr_Enable ( ) ;
Functions interrupts :
CY_ISR(isr_I2C_rd_tmr_Interrupt)
{
#ifdef isr_I2C_rd_tmr_INTERRUPT_INTERRUPT_CALLBACK
isr_I2C_rd_tmr_Interrupt_InterruptCallback();
#endif /* isr_I2C_rd_tmr_INTERRUPT_INTERRUPT_CALLBACK */
/* Place your Interrupt code here. */
/* `#START isr_I2C_rd_tmr_Interrupt` */
// Leggo lo stato del timer
I2C_Reader_Timer_ReadStatusRegister ( ) ;
// Cancello interrupt pendenti
// isr_I2C_rd_tmr_ClearPending ( ) ;
#ifdef DEBUG_ON
count ++ ;
// Visualizzo il debug solamente una volta
printf ( "T:%i\r\n" , count ) ;
#endif
/* `#END` */
}
Show LessHi,
I have a custom board with a CY8C5888AXI-LP096 and a TJA1050 CAN transceiver.
CAN controller V3.0.
Transmission of data works fine.
Now I am having trouble to detect an error state.
When the bus is not connected, CAN_GetErrorState() replies 0x01 (passive), ok.
When CANH and CANL is shortened and released again, the CAN component stops sending data to the TJA1050.
I can not find how to detect this situation:
CAN_GetErrorState() returns 0
CAN_GetTSErrorFlag() returns 0
CAN_GetTXErrorCount() returns 0
When I then call CAN_Start(), the CAN component recovers and continues to send data.
The function CAN_ReadErrorCaptureRegister() might do the job but is not available for PSoC5LP.
How can I detect the situation after a shorting of the bus lines to automatically recover?
Thanks for input!
Show Lessi connect cy8ckit-059 to my laptop through kitproUSB and i measure its pin VDD ,the value is 4.86V not 5V.
i have already set 5V in my .cydwr system ,but the result is still the same.
could someone please tell me how can i make it provide 5V except using external power supply?
best regard,
sean.
Show LessPlease would you be so kind to let me know what PSOC 5 or PSOC 6 piece have a PSOC Creator Filter Object with more than 128 Filter taps.
I have a PSOC 5 LP Kit but unfortunately the Filter Object only accepts 128 TAPS.
I need more than 128 customTAPS to implement Input Shaping for low frequencies.
Let me know please. Thanks so much for your help.
Show LessHello,
I'm considering using the PSOC-5 in my design (Industrial/Military standards required) for the following task :
- Power sequncing (up/down) and voltage monitoring (using the internal ADC-s) of several DC-DC/LDO-s.
- Current / Temperature monitoring (using the internal ADC-s) of a few power rails / PCB hot spots (Using external Current/Temperature to Voltage Devices).
- Reset (input discrete) signal management - time debouncer, performing power sequencing when reset asserted.
- Events Log record (Resets, voltage regulations vs time, etc.) over the internal EEPROM.
- Real-Time transfer of all measurements mentioned above, over I2C/SPI/UART(to extenal device).
- Configuration (may be one time) of several devices over I2C/SPI.
To accomplish these tasks, can you point on pros and cons of this device, in comparison with other vendor CPLD-s, specifically Intel's MAX-10 (Try to be objective)?
What is the Longevity of the PSOC-5 (Which part has the longest life cycle/ farthest EOL estimation?)
Thanks,
Max
Show LessHello Team Members,
I am new to Cypress devices as well as community.
Currently i am searching on the PLCC solution over AC line @ 230V which we normally have at our home.
I want to transmit Audio signals over PLCC lines and receive same on the other end without any loss.
What can be the maximum data rate by which we can transfer audio signals?
Can you suggest such possible solutions which can support to transmit audio signals.
Which modulation technic will be supported for Audio signal transmission?
Let me know if you need more info.
Thanks
Hardik Raval
9924319427
Show LessGood Afternoon, I'm trying to create an LCD oscilloscope using the psoc 5lp-059 for a class project. I'm looking for an LCD screen to utilize. I was told that a Hitachi 44780 would work well with the psoc set up. I would like to make an oscilloscope that receives a signal and then sample it to recreate the signal on the LCD screen. Basically I'm trying to create a do it yourself solder oscilloscope kit, but the main cognitive component would be the psoc. Any advice to where would I start? I was looking at the data sheets and was thinking of using ADC del sig to sample the store the data in a register. Then utilize a DMA to create a ping pong buffer then send that data out to a pin to run the LCD screen. Would this be a correct way to approach it?
Regards
Show LessHello,
When using VDAC on the CY8CKIT-059 powered at 5.0V. VDDIO measured to be 5.0V.
When I set the value of 0xff0 the max out for 12bit mode.. I can only get 3.3V out. No load on the output pin.
Tried different pins all are 3.27 to 3.3 V out.
I set the DAC to 1.020 range. It's max voltage out is .8V.
Here is the code..
#include "project.h"
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
/* Place your initialization/startup code here (e.g. MyInst_Start()) */
VDAC_Start();
Opamp_Start();
// Set VOUT to 4.080V
VDAC_SetValue(0xff0); // P0.1
for(;;)
{
/* Place your application code here. */
}
}
/* [] END OF FILE */
I'm not sure why I am not seeing 4.080 ... any ideas?
Thanks,
Wayne
I got trouble to do List on BCP using my PC but it works on other PC. How to fix this?
for the programming and debugging purpose i want to use JTAG in this CY8C5467LTI-LP003 chip, now my questions are,
1) if i power up the board with 5V , will the JTAG pins logic levels are nearly 5V? or it can be 3.3v?
2) can i use "J-LINK EDU MINI" as programmer for this chip as i already own it, but the datasheet of j-link edu mini states that to use it with 3.3v and as i already stated that my CY8C5467LTI-LP003 will be powered up with 5V.
3) is there any JTAG programmer for this CY8C5467LTI-LP003 chip from cypress? will it work with my chip if i powered up my chip with 5V?
4) "CY8CKIT-059" this have "KitProg" biult on the board which can be separated from the main board , my question is that , is that possible to use this KitProg to debug/program any "CY8C5467LTI-LP003" chip? is that KitProg having JTAG pins? or just SWD?
Show Less