PSoC™ 6 Forum Discussions
Dear Receiver,
I followed the following guidence to create a "customer BSP".
ModusToolbox 2.2 and later: Make a Custom BSP - KB... - Infineon Developer Community
But I can't create a "Empty PSoC 6 App" project because there are no this item for me to select.
One thing make me feel confused is ,,, in the guidence there have "Empty PSoC 6 App" item. But in my MTB, no this item.
Attached pictures are my process. Could you please help me to check it ?!
Do you have a suitable method that can guide me to develop a BSP ?!
Thank you so much.
Show LessHi,
I was trying to sample signal from a signal generator and was using the ADC to sample the signal.
I noticed that at 100Hz, there were 10 samples per cycle, and I was getting a good waveform for the same. So, I felt that the sampling frequency may have been 1Khz, so I went on to change the SPS in the ADC, but whatever value I change it to, it seems to be not working. I do not want any averaging as such, but I also tried using averaging and that also did not work.
I am attaching the configuration of my ADC as well as the output from the ADC on an UART.
Could you please help me on the same?
Thanks in advance.
Show Less
I'm really struggling to get the die temp working for the SAR in the PSOC6. I've looked at the example project and the other post on the forums. I'm not able to easily intergrade those examples into my project.
The steps to switch configurations between my application settings and the settings for the die temp are not clear. It's not as simple as just changing the P1 switch in the MUX registers. I have tried creating multiple configurations in my code and switching between them as shown in the CE220974, but I am not able to successfully switch to the die temp. I have spent several days trying to get this to work.
Can any one list the steps needed to use the die temp or a working SAR configuration that I can switch to?
The SAR on the PSOC is quite complex and I really wish with there was an API to set up the Die temp and switch between a working die configuration and my application.
Currently, in my code I'm just checking if the conversion is done in the main loop (no interrupts at the moment) and then after getting the result I switch over to the next configuration back and forth. For the die temp configuration I'm using the defined configuration in the example project.
Show LessHello, I am currently having trouble trying to complete one of the first tasks for the hello world exercise. Mainly because am using a Macbook and am unfamiliar with how the terminal works here. After opening up the Terminal on MacOS, I am trying to select the KitProg3 COM port and then set the serial port parameters to 8N1 and 115200 baud.
Show LessHello, I have an inquiry regarding Uart - DMA Interrupt.
I understand that DMA-Rx interrupts depending on the setting value.
For example, if you set the "Number of data elements to send" value to 10, an interrupt occurs when 10 is received.
Then, if you set it to 10 and divide it into 6 or 4 instead of 10, is there a function that can cause interruption for each case?
For ST, Interrupt of Uart may occur when the signal from Rx is in Idle state (=Transmission Interrupt).
If you wait for the DMA buffer to fill, and then generate and process interrupts, a large amount of incoming data is missing.
Is there a way to solve this problem?
Please give me a lot of advice.
I'm running two tasks on PSoC6 Wifi BT Pionner kit, using FreeRTOS and I would like to get the run time statistics of the tasks and print on the UART terminal.
- Stack Usage
- Task State
- Priority
- Abs Time (absolute time)
This is the total 'time' that the task has actually been executing (the total time that the task has been in the Running state). It is up to the user to select a suitable time base for their application
I am working on the CY8CKIT-064S0S2-4343W kit.
As I want to work on peripherals on this device I have tried to import examples from Project Creator 1.40. But there are only 3 examples of this Kit.
Similar board CY8CKIT-064B0S2-4343W has many examples which I can use. Is there a way I can use those examples on the board which I am using?
Show Less
Dear Sirs and Madams,
Please tell us about the BSDL file of PSoC6.
While researching this community, I found the following KBA:
KBA249248
I understand that PSoC4 does not support JTAG and therefore does not provide a BSDL file, and that PSoC3 / 5 are provided in the programmer's file path.
I referred to the link of PSoC6 in the KBA, however it looks like the BSDL file for PSoC6 is missing.
Is it correct to understand that BSDL files for PSoC 6 is not provided?
Regards,
Show Less
I would like to program the GAP interface of the BLE CYBLE 416045-02, Where could i get documentation and examples?
Hi.
I just updated to the latest libraries, and ModusToolbox 2.4, and ran into problems. I tracked them down to the fact that compile_commands.json no longer includes "-DCOMPONENT_CAT1" as part of the compiler command line. It used to define both COMPONENT_CAT1 and COMPONENT_CAT1A, but now only defines COMPONENT_CAT1A.
This breaks, among other things, _cyhal_utils_get_clock_count(), which now returns a value of 1 for all clock types.
I've worked around the problem by adding "CAT1" to the definition of COMPONENTS in my Makefile, but clearly that's not how it's supposed to work.
What happened? Did I do something wrong, or fail to follow some update procedure, or is this an oversight by Cypress developers?
Thanks,
-Nick
Show Less