PSoC™ 6 Forum Discussions
Hi,
I apologize if this was asked and answered elsewhere but I can't find an answer anywhere. The PSoC6 TRM hints that it is possible to set a brownout threshold to reset or sleep the PSoC6. So two questions:
1) Is this the case?
2) If so, where in PSoC creator 4.4 is the brownout voltage set? Or, if it has to be set programmatically, can you point me to the appropriate API documentation?
To give context, we have a LiPo battery that should not get discharged past 3.0V and our current charging circuit does not have a way to prevent this.
Best,
Ricky
Hello everyone,
I'm currently using a CY8CKIT-062-BLE board with an ARM Cortex-M4 microcontroller clocked at 512MHz. My goal is to add this microcontroller to Proteus 8 in order to perform simulations for my project.
However, I'm facing an issue: while Proteus 8 provides several ARM CM4 microcontroller options, none of them specifically match the one on my board. I'm searching for the "manufacturer part number" of this microcontroller, which would allow me to correctly add it to Proteus 8 and proceed with my simulations.
If anyone has worked with this microcontroller before or has information about its "manufacturer part number," I would greatly appreciate any help you could provide. Your advice and suggestions will be highly valued.
Update:
I recently managed to download the CY8C6347BZI-BLD53 component from the ComponentSearchEngine and SnapEDA websites into Proteus 8. However, I'm currently facing an issue: I can't seem to find the "Program File" button to load my C program into this component.
Unfortunately, the absence of this option makes it challenging to integrate my C program into the component. Therefore, I am seeking assistance to resolve this issue. If anyone has experience with this specific component or knows how to load a C program into a component without the "Program File" option, I would greatly appreciate it if you could share your advice and suggestions.
I sincerely thank you in advance for any assistance you may provide.
Best regards,
CY8C6347BZI-BLD53
Hello,
I've taken example CE220692, which calculates the frequency of a square wave signal. I replaced the PWM module that generates the signal with an external square wave signal connected to pin P9_6, which I verify in advance using an oscilloscope.
Frequencies from 1 Hz to 1 kHz are calculated correctly, but beyond that, the frequency is not accurately measured.
Could you help me identify the source of this error and provide guidance on how to correct it?
I appreciate your assistance in advance and any suggestions you may have.
CY8C6347BZI-BLD53
CY8CKIT-062-BLE
Hello,
I've managed to memory map my SRAM and access it on M4 after getting help here: Memory mapped SRAM with SMIF on PSOC6 CY8C62x7 - Infineon Developer Community. When setting up memory mapping of the SRAM I initialize the SMIF on M0 before starting the M4.
Now I'd like to access a flash memory which is connected to the same SMIF block (but with different data lines than the SRAM). My understanding is that I'll need to disable memory mapping while accessing the flash and then I'll re-enable memory mapping to be able to use the SRAM. While I'm using the flash I am assuming that I can guarantee that the SRAM will not be accessed.
When I attempt this I get a timeout while erasing a sector of the flash memory.
I can access both memories from the M0 processor and with no memory mapping, erasing the same sector with the same timeout settings works fine.
Is there something I'm misunderstanding about how SMIF works?
Show Less除了Dual-CPU Empty这个例程,其余都是单核,如果我需要用双核只能用Dual-CPU Empty创建,然后移植其他例程代码过来对吗?其他单核例程M0核程序都隐藏在哪里了?已经编译好直接link了吗?
Hello. I am looking for advice on the following Problem.
Problem:.
When two slave addresses are set, it sometimes does not return NAK or freezes for accesses to addresses other than its own.
Specifically, in the following example, ACK is returned for addresses 0x10 and 0x24, and the device operates normally.
NAK is returned for addresses 0x11,12,13, which is also normal. However, at 0x14 and 0x20 (and others), the SCL line seems to have frozen with the SCL line dropping to LOW at the timing of returning NAK.
Any advice would be appreciated.
Environment in which the problem was observed:.
HW: CY8CKIT-062S4
Template Application(s): I2C Master EzI2C Slave
I have added or changed the following (>>) in main.c
> /* I2C slave address to communicate with */
> #define EzI2C_SLAVE_ADDR (0x24UL)
>> #define EzI2C_SLAVE2_ADDR (0x10UL)
>> cyhal_ezi2c_slave_cfg_t sEzI2C_sub_cfg, sEzI2C_sub2_cfg;
>> sEzI2C_sub2_cfg.buf = ezi2c_buffer;
>> sEzI2C_sub2_cfg.buf_rw_boundary = EZI2C_BUFFER_SIZE;
>> sEzI2C_sub2_cfg.buf_size = EZI2C_BUFFER_SIZE;
>> sEzI2C_sub2_cfg.slave_address = EzI2C_SLAVE2_ADDR;
>
> sEzI2C_cfg.data_rate = CYHAL_EZI2C_DATA_RATE_400KHZ;
> sEzI2C_cfg.enable_wake_from_sleep = false;
> sEzI2C_cfg.slave1_cfg = sEzI2C_sub_cfg;
>> sEzI2C_cfg.slave2_cfg = sEzI2C_sub2_cfg;
> sEzI2C_cfg.sub_address_size = CYHAL_EZI2C_SUB_ADDR8_BITS;
>> sEzI2C_cfg.two_addresses = true;
Tool: MTB 3.0
board: Psoc6 wfi/bt PROTOTYPING board
Press reset to the run the example again.
CE: emfile system
hardware : 8GB micro sdcard
SDHC enabled with MMC , write file system is working
************* emFile FAT Filesystem on SD Card and QSPI NOR Flash *************
Using SD card as storage device
Volume size: 7555072 KB
Opening the file for reading...
Unable to read. File not found.
Opening the file for writing...
File is written with the following message:
"This is an emFile filesystem example for ModusToolbox."
You can now view the file content in your PC. File name is "File.txt"
Show LessHow to update CY_IDE_BT_TOOLS_DIR= -j12 to CY_IDE_BT_TOOLS_DIR= -j16.
Thank you