- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to generate a sine wave by using a PWM to trigger a DMA which writes a sinewave table to the IDAC. This works fine on the CY8CKIT-043 (P4200M) but when I try to port it to the P4100S Plus (CY8CKIT-149) I can get a hardware trigger to route. Can you help? I have attached my project for the P4100S Plus.
Thanks,
Mike Roberts
Arrow Cypress Specialist
Solved! Go to Solution.
- Labels:
-
ispn:39613:1:0
-
ispn:40045:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mike,
PSoC 4100S Plus DMA can be triggered using TCPWM triggers. I have attached screen shot for reference. Please make use of section 5.1.1 Trigger Sources and Multiplexing of TRM for more details.
Could you please share the working sample project for PSoC 4200M?
Best Regards,
Geon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I meant that I can't get the hardware trigger to route. I tried the line output from the PWM. I tried sending the PWM line to a pin and then bringing that pin back in on a different digital input pin. Can the Smart IO be used? There is no DSI so I am not sure it is possible. Is the DMA only triggered in Software?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Mike,
PSoC 4100S Plus DMA can be triggered using TCPWM triggers. I have attached screen shot for reference. Please make use of section 5.1.1 Trigger Sources and Multiplexing of TRM for more details.
Could you please share the working sample project for PSoC 4200M?
Best Regards,
Geon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With your help, I got this working on the CY8CKIT-149 kit. I have attached the project. It generates a Sinewave using a 100 element array that it DMA'd to the IDAC control reg. The frequency is from 160Hz to 13.3Khz using the 6 position slider on the -149 kit.
Thanks for the help