PSoC™ 5, 3 & 1 Forum Discussions
hi all.
I want to use Sleep Timer Component and SegmentLCD component at the same time without Segment LCD disappears.
Is there any Code example?
My code example attached.
Show LessHi,
I was very happy to know that the KitProg could be switched to mass storage mode.
Unfortunately, I couldn't get it to work with the Raspberry Pi. The system gives me a lot of errors trying to reset the device and getting bad blocks.
I've tried also on Virtualbox with Ubuntu and the mount process was very long.
Regards
Juan-Carlos
Show LessI using the PSOC 5 in a modbus application. I would like to configure the EEPROM to store a new modbus address and to store 7 floating point calibration values. Functionally the solution work but the EEPROM Write utilities take more time than the modbus timeouts.
Question: What is the time required to write an EEPROM byte and write an EEPROM row?
Thanks for responses
Show LessHello,
I'm using the CY8C5588AXI-060 chip and PSoC Creater 3.3, but cannot find the device under the device selector. In fact no CY8C55xxxxx-xxx devices show up at all, even with all the filters removed. Will the programmer be able to detect it when connected? I'd try, but I'm not at that stage of the project yet.
Thanks!
Show Lessi want to make psoc programmer on PCB. So i found the pin Configuration for that:
There is 5 pin:
1= connect to the pin 28=Vcc
2=connect to the pin 14= GND
3=connect to the pin 19
4=connect to the pin 13
5=connect to the pin 15
is this perfect or something else i have to do for make on pcb???
Show LessHi everyone,
I'm currently using a CY8CKIT-059 prototyping kit and I have a L298N Motor control chip with a stepper motor. I will include all the data sheets below.
I have read a couple of resources in regards to using the PSoC 3 to drive a stepper motor and I'm fairly new to using PSoC but I have prior experience in using Ardiuno. I have deconstructed the code that is used the Arduino Stepper Library and modified it to work for PSoC.
So now, My stepper motor is able to continuously spin. I have enabled UART for it to do serial communication and I want to be able to input a command such as "On" and "off" to toggle the stepper motor on and off. I am currently stuck on how I would proceed to modify my code/design schematic to allow for what I want to do. I also understand that the way I've coded it may not be the most efficient way to run the stepper motor, Any improvements suggestions are also welcome.
Any help would be greatly appreciated.
Thanks in advance
-Sam
Datasheets:
L298N:
Stepper Motor:
https://www.sparkfun.com/datasheets/Robotics/SM-42BYG011-25.pdf
Show LessI have been reworking the standard C# bootloader APP and I am getting a code 47 error back from the PSoC. Can anyone point me in teh direction of an explanation for this error?
Cheers,
Ric
Show LessQuestion : PSoC3/5 CAN controller has 16 receive mailbox . Is it possible to group a set of similar Identifiers to one Mailbox and receive it? If yes , how do I do it ?
Answer : Yes, you can group a set of similar identifiers and receive it in one mailbox.
Example Scenario: You want to receive messages whose identifier ends with 100h to 1FFh in Mailbox 0. This can be done by configuring the Acceptance filter of the CAN receive Mailbox.
The Acceptance filter configuration is the same for both the FULL and Basic CAN . There are 16 mailboxes. Once CAN message is received, it is compared with the acceptance filter of the mailboxes and the accepted message is stored in the corresponding mailbox. The acceptance filter is configured by the Acceptance Mask Register (AMR) and the Acceptance Code Register (ACR). AMR defines whether the respective incoming bit is compared to the respective bit in the ACR. If a bit in the AMR is ‘0’, then the corresponding bit in the ACR is compared to the corresponding bit that is received. If the bit in AMR is ‘1’, then the corresponding bit in ACR is not compared to the bit that is received.
A mailbox can be configured to receive message from a group of identifier by writing to the registers corresponding to the AMR and ACR filter of that mailbox. In PSoC3 implementation the AMR and ACR are 32 bit registers. In case of a standard CAN, the Most Significant 11 bits of the AMR and ACR register store the filter values. In case of Extended CAN, the Most Significant 29 bits stores the filter values
For example you want to receive messages with identifier from 100h to 1FFh in mailbox 0 , then AMR and ACR should be set as shown in the below picture . The following code has to be added in the program
/* Sets the AMR value for RX buffer 0 */
CAN_RXRegisterInit((uint32)CAN_CanIP__RX0_AMR, 0x1ffffff9);
/* Sets the ACR value for RX buffer 0 */
CAN_RXRegisterInit((uint32)CAN_CanIP__RX0_ACR, 0x20000000);
Attached is an example project implementing the same .
Show Less