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 Less
In my CY8CKIT-062S2-43012 board I looking for expanding RAM for operations of mallocs functions.
I have come across one example (QSPI_F-RAM_Access) where QSPI is used for reading and writing in F-RAM. I am not if this is the best example for expanding the RAM for the above purpose. Is that correct understanding?
I thought F-RAM has support for memory-mapped access of RAM but I can not find any example for that. Please share the link for such an example on any PSoC board.Show Less
Hello, 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 Less
Hello, 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.
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.
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.
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
Now, I'm using CY8CPROTO-064B0S3 to emulate our product.
I want to add some features into the bootloader and build it for CY8CPROTO-064B0S3.
However, when I refer to "supported kits" section in "PSoC™ 6 MCU: MCUboot-based basic bootloader" page, CY8CPROTO-064B0S3 seems not to be supported.
Then, is it possible to build for CY8CPROTO-064B0S3 based on mcu-tools/mcuboot.git?
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?
Dear Sirs and Madams,
Please tell us about the BSDL file of PSoC6.
While researching this community, I found the following KBA:
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?