PSoC™ 5, 3 & 1 Forum Discussions
hello, I was not found any document of the cyrf7936 for the layout, it's the same to the cyrf6936 ?
can you give me some document for the cyrf7936 for designe?
thanks.
Show LessI need to run in two configurations:
base:
amplifier
short:
the same amplifier but analog column inputs 0 and 1 connected together
However configtbl.asm for both configurations misbehave properly.
short configuration modifies (unchange compared to base config) regs 70 to 77h but should 62h bit 7
during loading
when comes to unloading it modifies 75h to 05h (!!!!!)
Am I wrong?
Show LessI was performing the Two-bits-ADC exampled showed in the
Understanding Swiched Capacitor Analog Blocks paper in page 8:
http://www.cypress.com/?docID=2617
The c code forces the ports outputs P1.0, p1.1 ( handled by means the PRT1DR register, page 149 Technical Reference Manual) after avaluate the comparator output 0 column (read with CMP_CR0 reg in page 180 -technical Reference Manual ).
The issue is I compiled properly and download in the board and it don't works, so I performed the simplest code I could try:
#include
#include
"PSoCAPI.h" // PSoC API definitions for all User Modules
void
{
main()
TwoBit_cr3 &=
0x3F; //Initialize to analog ground reference
while(1){
PRT3DR |=
0xFF;
//PRT3DR=0xFF;
}
}
I try this way with all the ports but I can see an high level at any pin of the port 3 or whatever else port I try. I'm asigning wrong the ports? Anyone knowns what's going on? Thanks for your attention.
Show LessI was performing the two-bits ADC example showed at page 8 in the
Understanding Switched Capacitor Analog Blocks paper.
http://www.cypress.com/?docID=2617
I adapted the code to my CY8C24994 PsOC Device.
The C code force the Port 1 output by means handling the PRT1DR register
(which is detailed in page 100 and 141 in the technical Reference Manual) after evaluate the comparator output column (CMP_CR0 reg, page 180 Technical Ref Manual).
After check my program don't works I performed the most simple code I could imagine:
#include
#include
"PSoCAPI.h" // PSoC API definitions for all User Modulesvoid
{
main()TwoBit_cr3 &=
0x3F ; while ( 1 ){
PRT3DR |=
PRT3DR=
}
}
0xFF ; 0xFF ; Show LessI was performing the two-bits ADC example showed at page 8 in the
Understanding Switched Capacitor Analog Blocks paper.
http://www.cypress.com/?docID=2617
I adapted the code to my CY8C24994 PsOC Device.
The C code force the Port 1 output by means handling the PRT1DR register
(which is detailed in page 100 and 141 in the technical Reference Manual) after evaluate the comparator output column (CMP_CR0 reg, page 180 Technical Ref Manual).
After check my program don't works I performed the most simple code I could imagine:
#include
#include
"PSoCAPI.h" // PSoC API definitions for all User Modulesvoid
{
main()TwoBit_cr3 &=
0x3F ; while ( 1 ){
PRT3DR |=
PRT3DR=
}
}
0xFF ; 0xFF ; Show LessHello,
I'm triing to compile the 'WirelessUSB LP and PRoC LP Radio Driver' (http://www.cypress.com/?rID=14467) v1.4
for a CYRF69103. IDE is PSoC Designer 5.0 SP5.5 (also tried SP5.0)
The SPIM RADIO DRIVERS are copied from an other project (couldn't find them on the Cypress Mainpage)
How to resolve following error wich occours several times on build:
lib/cyfisnp_1_e2_spim.asm
Macro 'CYFISNP_1_RADIO_SELECT' Line 6:
!EC:\Documents and Settings\Administrator\My Documents\PSoC Designer 5.0 Projects\CYRFRADIO_DRIVER\CYRFRADIO_DRIVER\CYRFRADIO_DRIVER\lib\cyfisnp_1_e2_spim.asm(257): absolute expression expected
I've experimented with:
ORG <address>
CYFISNP_1_RADIO_SELECT
but I don't know which addresses can be used, or if this is anyhow a proper fix for the problem.
I have the firsttouch kit, played with SCD and after a couple of days I understand Psoc Designer enough to build my own test app.
Where would I find Windows host source code examples? Where is the CyFi host API and documentation? Is SCD available as source code? That would be quite helpful.
Must I really create my own Windows API from the RF_HUB example? If so, where is the documentation on the USB-I2C bridge?
Show LessI am trying to use the PWM interrupt out to generate an interrupt on both the tc and compare 1 events. I only get what appears to be an interrupt on the tc event no matter what interrupt source box is checked (tc, compare 1, or both).
The PWM is configured as: 8 bit, one output, period = 49, compare1 = 25, 2-256 deadband = 19, implementation = UBD, enable mode = software only, run mode = continuous, trigger mode = none, kill mode = disabled, capture mode = none, Interrupt on Terminal Count is checked, Interrupt on Compare 1 is checked, all other sources are grayed out.
I have an isr function tied to the interrupt out terminal on the PWM.
Thanks!
Show LessHi,
I am developing an application using a psoc core and a cyrf7936 transceiver.
I have taken a look to the cyfi first touch kit (CY3271) and studied the schematics (Reference design).
I have opted for the External Power Amplifier solution and using two RF switch across the Amplifier/Saw filter section.
I am new in RF design. I know that RF lines should be Impedence controlled and his layout should be very carefully designed.
But... should only the terminating line between the last switch (TX/RX) and the antenna be controlled or all the connection till the cyrf?
I would say, only the part from the switch / amplifier to the antenna, but I am not sure.
Thank you in advance.
Regards
Federico Fuga
Show LessDear all,
I'm designing my own CYFI node. Indeed, due to pin and package compatibility I used 29x,27x, 28x as the MCU. However, nodes with 28X doesn't work. I tried to debug them and it seems that after the binding process, the node pass beyond the bind and get into connection mode it stays in CYFISNP_CON_MODE all the time and couldn't write the bind information to the flash. When I replace the 28445 PSOC with 27443 or 29466 the very same firmware runs perfectly without a glitch.
The node normally uses block 255 of flash for protocol data in CYFI configuration. I changed it to 254 or some other values and marked it in the flash.txt file, but in that case node hanged up for 28445 case. So I believe it might be flash related problem. Anyway, if anybody give me some direction or hint I would be more than glad.
Regards,
Faysal,
Show Less