Could any of you help me in setting the sampling frequency of the PSOC6 chipset ADC to 2KHz?
The minimum clock frequency the ADC can take in is 1.7MHz and I am unable to find a reasonable way to lower the sampling frequency.
Any suggestions are welcome. Thanks in advance.Show Less
when I add svd file to see the peripheral register,every port (port0 to port14) has the same address.
※modus version is 2.2
But in another version（2.3）,GPIO shows a correct address .
Was it a bug in version 2.2 Or I did a wrong config?.Show Less
I'm testing UART(P5.0, P5.1) on CY8CKIT-062-WIFI-BT.
When I execute soft reset through NVIC_SystemReset(), UART Tx(P5.1) goes low for a while.
For this reason, the PC terminal utility receives 1 byte (0x00).
Is there any way to keep the UART Tx line high even after soft reset?
Thanks and Regards,
Hello, I am a novice, just contacted Modus ToolBox software, using the kit is CY8CKIT-062S2-43012; now I want to create a new project to practice, but this page appears, I do not know what to do next; sample program "Hello World" I also did not find, thank you for your answer
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.
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
I followed the following guidence to create a "customer BSP".
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 Less
What are the minimum requirements that an MCU must have to support the SDIO interface of a hosted WiFi/BLE module?
For example, how can I tell if a CY8C6247BZI-D44T can be paired with a CYW43012 based Murata 1LV or a CYW4343 based Laird 450-0159 or 450-0152?
Hello! Im currently trying to read a JSON file in my psoc project for the cyproto-063-BLE but i cannot get it to work.
I have a JSON file that im trying to include in the project, read from and extract the data, im using the tiny-json parser (https://github.com/rafagafe/tiny-json). The parser works as intended, if i manually store the JSON as a string, i can parse and extract data as i please. The issues arise when i try to include the .json file into the project and open/read from it.
Here is a code snippet
static const char filename = "test.json";
FILE *file = fopen ( filename, "r" );
fread(buffer, 128, 1, file);
printf("line = %s\r\n", buffer);
json_t const* json2 = json_create( buffer, what, sizeof what / sizeof *what );
char const* name = json_getPropertyValue(json2, "Name");
printf( "Name: %s.\r\n", name );
I have included the file under source files, as well as added the filepath to Project->Build settings->CM0+->Compiler->Additional Include Directiories.
Following the debugger the program crashes at line "fread(buffer, 128, 1, file);"
Does anyone have any input on how to read and store the JSON file in psoc programmer, the file opening and reading works well when isolated in a regular C file ran through the terminal. I'll attach a test project where i try to read a json test file and print it to serial monitor using UART. Relevant header and json files are in a folder in the project called External_Code.
Any help is greatly appreciated!
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