PSoC™ 6 Forum Discussions
Hello,
I am currently working on a project with classmates that involves using the PSoC 6. We are hooking up the PSoC to a digital-multimeter circuit, the MAX134 chip. The MAX134 uses a bidirectional data bus (4 pins), as well as address lanes to communicate with a microprocessor. We are trying to setup bidirectional pins in our top design, and it seems that whatever status we set to our pins when we write to the MAX134, it never gives up the bus to the MAX134 to return data to us.
How would we give up authority on the bus to the other chip? I've seen information about setting different drive modes for the pins, but I don't know which is best for this application. Thanks.
I'm trying to understand, via the Architecture TRM, Registers TRM, and the PDL documentation how the Trigger Mux's connect to the PWM Trigger inputs.
I can see that there are 2 Trigger Mux groups, 2 and 3, that connect into the TCPWM's. It looks like the TCPWMx_GRPy_CNTz_TR_IN_SEL1 register is used to select the trigger source for the START signal to the TCPWM. It looks like I can chose between 139 possible trigger choices per figure 25-3 in the TRM. It seems like I can pick the same trigger for each of the counters I might want to control. I want to understand in more detail what is happening
1) Trigger group 2 vs Trigger group 3, which one is used and where is this documented?
2) There are 28 outputs from those 2 trigger groups. How are they routed to the PWM's, where is this documented in the architecture or where is a register controlling this?
3) I cannot understand Table 29-2 in the TRM, there is no indication of what registers control this "selection"?
The PDL documentation shows that I can use Cy_TrigMux_SwTrigger to software trigger all my TCPWM's to START at the same time, but I am unclear how this occurs without understanding the mux connections from the Trigger mux to the individual TCPWM's. Please help my understanding.
And note, this is for the 6xx4 family which is the Ver 2 style of TCPWM and muxing.
Show LessHello,
using Device configurator and QSPI configurator how could i generate a flashloader for Modbustoolbox of external memory?
does the .c/.h file generated used by the tool or does it generates a .elf file to be downloaded in RAM the case in IAR and MDK-ARM?
Thanks in advance.
Show LessBecause one of our customer asked, We are looking for the PSoC MCU which can handle below features.
1. OpenMV feature supported
2. MIPI feature supported
3. Camera feature supported
I cannof find a solution which meet above feature in Infineon Web site.
Please guide us to find a solution.
Many Thanks
Show LessMy deep-sleep wake-up interrupt that comes in through a GPIO pin that is low- true (wake up when the input value goes to 0). I would have thought this should do it.
But with the inverter in place, the system assigns DeepSleepWakeUp to an interrupt that does not operate in deep sleep. And there doesn't seem to be any way to override this assignment.
So, can anybody tell me how to do this?
Thanks,
Ed H.
Show Lesshi, i am new to modus toolbox. How can i do the setting to compile my code in c++11 ? Does modus toolbox support it?
Hi,
I have a 3.7V LiPo battery powering a PCB using a PSoC 6 MCU. I am trying to implement a simple battery voltage check in firmware, but for some reason when I scan the battery's channel, I am getting values like 1.07V, when measuring the battery by hand is giving ~4.13V.
My project has a lot of code separate from this issue, but I will try to share what I can.
I have
// Start ADC Scanner
#define BATT_V_SCAN_CHANNEL 0
ADC_Start();
ADC_StartConvert();
then in main loop I am calling
ADC_IsEndConversion(CY_SAR_WAIT_FOR_RESULT); // blocking method to detect end of ADC sample conversion
printf("\nBatt Value: %f\n", ADC_CountsTo_Volts(BATT_V_SCAN_CHANNEL, ADC_GetResult32(BATT_V_SCAN_CHANNEL)));
as far as I am aware, that is the basic code needed to get the output. I will also share my Scan_ADC config:
From what I know, it seems like it should be scanning the battery level in a range from 0.0V to 6.6V (0 to 2*Vref), and then converting the value to volts for reading, but the value I am receiving is much lower than the actual battery voltage.
I would really appreciate any advice!
Show Less
Dear Receiver,
I would like to create a BSP by myself but I don't know how to do it.
Could you guide me some application notes to show how to do it step by step by ourselves ?!
Thank you so much.
Show LessHi,
I am developing on CY8CKIT-064S0S2-4343W
When I compile a P64 project at the end a cysecuretools sign-image is performed after build. I want to change the policy used for this command.
Where can I set the options for this cysecuretools command?
Show Less