PSoC™ 5, 3 & 1 Forum Discussions
Has anyone used successfully DMA transfer to Control Reg? I have tried many times without success.
The difficult part seems to be the correct address of the Control Register. What is wrong with the following TD address definition?
CyDmaTdSetAddress(DMA_1_TD[0], LO16((uint32)ADC_SAR_1_SAR_WRK0_PTR),
LO16((uint32)Control_Reg_1_Control_PTR));
DMA transfer to DAC register works fine.
Show LessHere's an excerpt from AN54439 about external crystal oscillators:
Using an External Clock Signal on the ECO Pins
If the MHz or kHz ECO is not being used, an external clock signal may be routed onto the ECO clock nets using the kHz or MHz crystal input pins. This allows the use of these clock nets in place of the usual DSI clock net in the clock tree. External clocks can be routed into the part through the kHz and MHz XtalIn pins. The XtalOut pins should be allowed to float. Ideally, the external signals should be rail-to-rail sine or square waves. If the amplitude of the signals is too low, they may not be properly translated into digital signals. These signals must be within the frequency ratings of the ECOs, either at 32.768 kHz or 4-25 MHz.
External clocks can also be routed into the part using the GPIOs. For more details, see AN60631 - PSoC® 3 and PSoC 5LP Clocking Resources.
I want to use MEMS oscillators for both the MHz ECO and the 32khz ECO. It sounds like I can tie them right to the input of each ECO, but it doesn't say anything about how I would need to set it up in Creator. It has all the parameters for fine tuning the crystal such as fault recovery, amplitude adjustment, and reference levels. Anyone know what settings I would use in this case? Also, it says it should be a rail to rail input, but which rail are we talking about? I'm planning on using 5V for all but one or two ports, but the MEMS oscillators seem to be 3.3V max most of the time. It seems like the VDDIO for the port where the ECO pins are located would not have any effect since the pin is being used in a different mode, right? Some guidance would be greatly appreciated.
Show LessI am creating one application which requires me to create USB HID Device with DMA w/Automatic Memory Management.
But looks like it is not working. When i change it to Manual (Default) setting it is working perfectly.
I have created USB HID Device two End Points one for IN and other is OUT and both are INT endpoints.
Can you please tell me is it possible to send data to endpoints using Automatic Memory Managements?
Show LessCypress's PSoC USB audio solution supports interfacing with an external PDM MEMS microphone. This solution provides a single chip audio path implementation for converting 1-bit PDM input signal to PCM signal (which includes PDM clock generation, PDM Data sampling, DMA data transfer, integrator, decimator and droop correction filtering) and transfer the resultant PCM samples over USB audio class interface to a USB host device.
This audio path implementation uses PSoC's UDB and DMA engine to process and transfer the microphone data, minimizing the CPU overhead and providing a high quality low power PDM microphone interface.
For more details on implementation, see this article: http://edn.com/design/consumer/4425878/High-quality-PDM-microphone-interfacing-using-off-the-shelf-SoCs
The PSoC Creator firmware project is available here: http://www.element14.com/community/thread/28830/l/psoc-4-pioneer-kit-community-project102-usb-audio-using-the-psoc-5lp Show Less
http://video.cypress.com/video-library/video/PSoC/PSoC-World-Promo-from-ARM/1982031040001
http://video.cypress.com/video-library/video/PSoC/PSoC-World-Promo-from-Arrow/1989146537001
Above are the links for PSoC World Promos from ARM and Arrow electronics.
Show LessHello,
I have 2 cards with PSOC 5LP, one is the freeSOC another is PSOC 4 Pioneer kit (programmer part)
I tried to connect both psoc chips with my J-Link v8 ( Vtarget RST SWO SWCLK SWV are connected),
but none of them are identified.(In Jlink Commander and IAR)
When I connect it to freeSOC, I cutted the wires from the on board programmer.
however, when I connect the psoc 4 device it can be recongnized as ARM Cortex-M0 correctly.
My Jlink works fine with the chips from other manufacturers and updated to the lastest firmware.
Any other persons have this problem?
Any solutions?
Thanks
Show LessI am doing this
uint8 temp;
temp= ControlReg_Read();
Where 'ControlReg' is a control register i named and initialized in TopDesign.cysch
In an Interrupt service routine .
Its giving the error
Error: L127 UNRESOLVED EXTERNAL SYMBOL SYMBOL: ControlReg_Read MODULE: C:\Users\Antimatter\Documents\PSoC Creator\Design02\Design02.cydsn\DP8051-Keil_Generic\Debug\main.OBJ (MAIN)
Someone please tell me the solution to this.
Show Lesshi 🙂 thanks in advance for sharing the experiences. i have configured the port P1[2] as ADC input. where can i do ADC Vref settings??
Thank you 🙂
Show LessHello! First of all, I want to say hello to everybody since this is my forst post.
I have a problem related to an LCD. I am developing a battery-powered datalogging application, and most of the time, the LCD connected to the device has to be turned off. When a button is pressed, the LCD has to dysplay a message. Therefore, at the time the LCD is powered off, I put the port driving it to High Z Digital, and just before having to display the message, I make the port Strong Drive. However, the LCD does not show the message correctly, or not at all. the program halts here, and semms to remain in one of the LCD functions. When I do not change the GPIO drive mode, everything goes fine.
Does anybody have an idea on what could be wrong?
Thank you!
Show Less