Questions tagged [psoc]

PSoC (Programmable System-on-Chip)

PSoC (Programmable System-on-Chip) is a family of microcontroller integrated circuits by Cypress Semiconductor. These chips include a CPU core and mixed-signal arrays of configurable integrated analog and digital peripherals.

enter image description here

54 questions
0
votes
0 answers

How to create internal RTC Timer interrupt of 100ms using PSoC 5LP in PSoC creator without making PSoC sleep?

I want to create interrupt of 100ms using internal RTC of PSoC 5lp. I am using this RTC interrupt as time out interrupt for receiving command from UART communication. I want PSoC to be in active state when RTC interrupt is received.
0
votes
1 answer

PSOC Port Connections in C#

I'm having trouble using the port interfaces in the PP_COM_Wrapper dll that Cypress' PSOC Programmer provides. I am using a CY8CKIT-0529 PSOC 5LP prototyping kit. I am able to successfully open the port to the board and have verified that I can…
Parker
  • 1
  • 3
0
votes
1 answer

I am Currently using PSoC 5LP. I want to read 8 Byte of HexaDecimal data from 1st row of EEPROM of Psoc 5Lp

I am able to Write 8 Byte of Hexadecimal data in 1st row of EEPROM but I am not able to understand how to read 8 Byte data from EEPROM and convert 8 Byte Hexadecimal into decimal and save that decimal value into any unsigned integer. Is there any…
0
votes
1 answer

DC Motor speed and direction with PWM PSoC

I need to be able to change the direction and speed of a small dc motor using an PSoC LP5 and a L293D. The motor that was used is one of these: https://www.elecrow.com/dc-toy-hobby-motor-130-size-p-265.html. I was able to change the direction…
Rogier
  • 33
  • 5
0
votes
0 answers

ICM20948 sequence of use

I´m currently developing basic routines in order to communicate with an IMU or Inertial Measurement Unit, the ICM20948 from TDK - InvenSense using the I2C protocol through a PCB I have develop myself, I currently have functions to communicate with…
Sosa
  • 35
  • 6
0
votes
2 answers

Trying to understand how *ramVectorTable gets to ramVectorTable[ ]

I'm trying to understand what this code actually does. Specifically the part after declaring and initializing the pointer ramVectorTable confuses me the most. It is about function that sets the interrupt vector of the specified system interrupt…
0
votes
1 answer

Cypress PSoC Creator / iOS App: Add BLE device address to advertisement data

I try to add the BLE device address to the advertisement data in Cypress PSoC Creator 4.2. I checked the associated box in the GAP Settings and build the project for my PSoC 4 device (CYBLE-212006-01). In my iOS App I use the following routine…
PascalS
  • 975
  • 1
  • 16
  • 40
0
votes
1 answer

array initializer must be an initializer list or string literal c

I am newbie in C. I do not know why I am getting this error and how to fix it? void FPS_PRINT_ENROLLED(){ int checkNum = 0; int ID = 0; int num_Enroll = 0; num_Enroll = Available_ID(); char strNum[3] = 0; itoa(num_Enroll, strNum); …
0
votes
1 answer

Confused regarding how much current PSOC 5LP GPIO pins can drive

I'm confused regarding how much current 5LP GPIO pins can drive; any help is appreciated. Here's where I get confused: The CY8CKIT-059's "User LED BLUE" is an LTST-C170TBKT from Lite-On Inc. This LED has a DC Forward Current of 20 mA, according…
chris
  • 33
  • 4
0
votes
1 answer

How to access single GPIO pins in a Pins component in PSOC5

This is the issue. For the schematic, please refer to the schematic attached. I have a pins component with a set of pins. I need to access each pin at a time. Currently I am trying to do that with the code,…
0
votes
1 answer

Creating a FIFO Queue with Keypad Inputs

I'm trying to implement a FIFO queue for keypad inputs but cannot seem to get it to work. I'm able to get the keypad inputs to appear on an LCD screen but that is all I'm able to do. I think the code is supposed to read a keypad input and push it…
0
votes
1 answer

Connecting to BLE using an initial out-of-band message

I am engineering two BLE devices, a central and peripheral. (Using a PSoC 4 BLE, not that it matters) There will be a lot of these in a small space, maybe up to 8 within range, but hundreds of peripherals and tens of centrals all coming and going,…
Kenzi
  • 1,059
  • 8
  • 10
0
votes
1 answer

interrupt using PSoC 4

I'm currently reading values from a PS/2 mouse, which is working perfectly! - I'm trying only to read from the mouse, when the mouse sends a clock signal (falling edge), so i'm trying to use a interrupt. This is some of my code so far: Interrupt…
0
votes
1 answer

Reading data from USB mouse into microcontroller

As the title say, i have a USB mouse, which i wan't to connect to a microcontroller, more specific a PSoC 4. I want to be able to read its coordinates (x,y). Is this possible to do, or is it simply to complicated? best regards
0
votes
0 answers

I've built my project, but PSoC 3.3 show me some functions as disabled when they might be enabled

I'm using I2C communication between a Cypress PSoC and an external slave. I've assigned the SCB block for I2C on my TopDesign file, however, programming in C the compiler doesn't let me use the function SCB_I2CMasterReadBuf(etc etc etc) as it says…
Julio
  • 119
  • 1
  • 9