PSoC™ 6 Forum Discussions
HI, I'm trying to configure the USB block in PSOC6 to operate correctly via DMA. The pieces of information are there, but I find obscure how to put them together. I seems that most of the configuration can be done in Modus Toolbox with Device Configurator, but what parts must be completed in user code to get it up and running?.
Also,I can't fine the answer of how to handle some comon situations, like, how to work with data blocks larger than the internal EP buffer, or, how to dynamically adjust for different message lengths.
Is there a working example somewhere ?
This AN228753_DMA_on_PSoC_6_MCU-ApplicationNotes is a good start to understand how DMA works, but it doesn't touch the case of a USB peripheral. I think that this case deserves an application note by itself.
Thanks!
Show LessDear Receiver,
In many sample codes, we can see parameters type " cy_rslt_t ".
For example, we can refer to the attached file.
In the attached file we can see there are 2 different types of GPIO initial process.
1. result = cyhal_gpio_init(...);
2. cyhal_gpio_init(...);
What's are their differences ?! I think above No.2 is enough to initial an IO.
Why we use "cy_rslt_t result ;" and result = cyhal_gpio_init(...) ; to initial an I/O ?!
I know "result " may be a combined parameter but I can't see its function in the attached file.
Thank you so much.
Show LessIt would be great if anyone could provide us with some suggestions for setting the parameters for CSD especially (noise threshold etc.) to A. improve the proximity sensing range & B. get rid of the baseline resetting issue. If it's possible, could you also provide suggestions on the two points above for CSX?
Thank you so very much and have a nice day!
Hi,
I would like to program my custom board ( CY8C6247FDI-D32T )with any standard third party programmers/debuggers. Is SEGGER J-Link supported for PSoC 6 in PSoC Creator 4.2 ? The interface i prefer is SWD.
regards,
Vinu
Show Less
Hello,
I have built a circuit and I am trying to measure the ADC voltage and display it in the terminal but its not working. I have attached the project. Can anyone help please?
Show LessHi,
I want to run watchdog timer in interrupt mode in PSOC 6 CM0+ core. I referred and copied the CM4 WDT examples and ported the code for CM0 core. However, i am unable to WDT interrupt or MCWDT interrupt.
I even tried the WDT workaround below, but of no success:
Workaround for PSoC 6 MCU Device ILO Start Failure in PSoC Creator 4.2 – KBA229046
Please note that i am using :
- CY8CKIT-062-WiFi-BT PSoC 6 WiFi-BT Pioneer Kit 1.0 Rev.**
- Peripheral Driver Library 3.0.1
- PSoC Creator 4.2
best regards,
Vinu
Show LessHello,
I have built the attached circuit which includes 2 resistors, op amp, ADC and 3 analogue pins. It keeps giving me error and I am not sure why. I have attached the project for your reference.
The error:
'Pin guidance unavailable: Opamp \Opamp_1:cy_mxs40_opamp\ must be configured for Output to pin'
'Opamp \Opamp_1:cy_mxs40_opamp\ must be configured for Output to pin'
Thank you,
Show LessWhen I try to build the CE222221 example for the CY8CKIT-062-WiFi-BT PSoC 6 Pioneer Kit, the build fails with the following error, on a generated file:
Build error: #error File C:\Users\my user name\AppData\Local\Temp\{b4c716cc-99c9-4296-993c-fb316058244d}\cy_smif_memconfig.h does not exist.
The "#error [...]" part is actually the only line of the generated cy_smif_memconfig.h file, herewith attached. The file attached here is from the following location on my drive:
${ProjectDir}\Generated_Source\PSoC6\
Has anyone ever experienced this error and if so, how did you fix it?
Thanks in advance,
T.
Show LessI am trying to generate a carrier wave using TXC command on CY8C6347FMI-BLD53T. However, it shows exact the same oscillation freq peak as when I generates modulated "0" signal using TXM command.
Is this working properly? If not, how can we solve this. It would be appreciated if someone could provide us solution or similar threads.
Thank you.
[Edit]
more specifically, we get as follows:
TXC 0 0 1000 >> peak frequency of 2401.854MHz
TXM 0 0 1000 >> peak frequency of 2401.854MHz.
Show Less
I am trying to create a picovoice project for my board CY8CKIT-062S2-43012, but project-creator fails with and error
ERROR: Commit/tag/branch "v2.1.2" does not exist.
The branch does exist, I can go into the picovoice directory and type `git checkout v2.1.2` and it has no issues. Looking on github the branch is certainly there.
I am using ModusToolbox 2.4.0 build 2460 in an Ubuntu 20.04 system. I have attached the log file.
Two unrelated questions:
1) why are there so many steps to install ModusToolbox on Linux. Why is it not simply `sudo apt install ModusToolbox` like everything else in Ubuntu?
2) .log and .txt are very common file extensions, why can I not drag and drop a log file to attach it to this question. I had to change the file type to .doc .
Show Less