I am successfully able to run the example emFile_Filesystem by importing it to ModusToolbox.
I have tried the .txt and .log files and FS_FOpen does not return NULL. I assume open operation is successful. Now if I try to open .ico or .h264 file FS_FOpen returns with NULL. Please find below the API for reference.
Update : I have tried with flag "rb" but no success.
inputFil = FS_FOpen(INPUT_FILE, "r");
if (inputFil == NULL)
printf("Error opening input file");
Are there some flags that need to be given in Open API for opening files that are not text files?Show Less
I am using CY8CKIT-062S2-43012 and add a falling edge interrupt on P6_5 (with is MCU_TDI) and facing some problem .
The debug mode is set to SWD in "device configurator"->"system"->"debug", so i think we can usd that pin as normal gpio.
But if i use HAL 2.x, interrupt tigger will fail and i can only used HAL 1.6 to let it work.
If i didn't inital that pin in my code as a gpio, it will be high not low(other pin will be low).
I can't find anything about the DMA Registers in the CY8C61x6, CY8C61x7 TRM.
Should I refer to the PSoC62 TRM for now?
Thanks and Regards,
We are trying to solve a problem with the BLE system randomly failing while the device is connected to a peripheral and sending data. Upon failure Cy_BLE_GATT_GetBusyStatus() returns CY_BLE_STACK_STATE_BUSY indefinitely. We have tried to reset the BLE system but it does not advertise or scan after the reset.
Note: Resetting BLE was tested independently of the busy stack issue by manually triggering the soft and hard resets.
Any clues as to why the stack is busy in the first place or why the resetting process is not working would be appreciated.Show Less
I reviewed the datasheet associated with the AN2344 and noticed that on the Battery Pack Management System side there are no capacitors (pg. 2 of the attached datasheet). Is this accurate? The BMS appears to achieve the necessary balancing and cell protection on the battery assembly via MOSFET's and resistors. I'm hoping to receive confirmation that by using the AN2344 balanced charger that capacitors are not used in the battery assembly BMS. My application requires the presence of zero capacitors.
Any help will be greatly appreciated.
Joe DeWitt PE, PMPShow 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
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?
Hello, I would like to inquire about UART_DMA Rx Buffer Index reset.
When the receiving buffer of the DMA is full, it is known that data is received again from the beginning of the buffer after an interrupt occurs.
Then is there any way to forcibly reset it even if it's not full and get it from the front of the buffer?
For example, when Uart is disconnected and reconnected, I want to receive it from the first of the buffer index.
Please give me a lot of answers.
That's about it.