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
1
vote
1 answer

Timer Interrupt and UART Receive Interrupt

I am a newbie with programming and I am having trouble getting my interrupts to work the way I want them to for my application. I want to send serial data over the UART to the PSoC, store the values every second, and then echo back the stored…
1
vote
2 answers

Begin Transmission and Receiving Byte using I2C, PSOC

I'm new to the PSoC board and I'm trying to read the x,y,z values from a Digital Compass but I'm having a problem in beginning the Transmission with the compass itself. I found some Arduino tutorial online here but since PSoC doesn't have the…
Jack Lee
  • 11
  • 5
1
vote
1 answer

Android app doesn't connect to a Bluetooth Low Energy device

I'm starting with Android development, and I'm trying to make a simple bluetooth low energy connection between my android phone and a microcontroller (PSoC4BLE) to write a value in one of the microcontroller characteristics. As I already know the…
espanengo
  • 11
  • 1
  • 3
1
vote
1 answer

using arm CMSIS on Psoc system

I am attempting to utilize the arm dsp cores with the Psoc5LP system from cypress. I have found examples at http://www.disca.upv.es/aperles/arm_cortex_m3/curset/CMSIS/Documentation/DSP/html/arm_fft_bin_example_f32_8c-example.html Primarily the fft…
scarlso9
  • 195
  • 3
  • 14
1
vote
5 answers

Why does the same named private function inside two .C files cause a multiple definition error?

I am coding in the Cypress PSoC IDE (C99 ARM_GCC). When I use an identically named function in two *.c modules (for example void MyClear()) I get the error: Build error: multiple definition of `Clear' MyClear() is not mentioned in any header, and…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
1
vote
2 answers

PSoC timer interrupt

It seems to me that my timer interrupt does not work correctly. Problem is that counter inside interrupt function increments only once. Here is my code from main and timer settings. #include #include "PSoCAPI.h" #include #include…
mikedanylov
  • 817
  • 11
  • 20
0
votes
0 answers

CAN on psoc4 mail box configured to basic

I am using CAN on PSOC 4 and I have a receive buffer mailbox configured to basic how can read length of the message send to that mailbox or how can distinguish between if a data byte is empty or has a value of zero I tried to read the message but…
layth
  • 1
  • 1
0
votes
0 answers

Communication between ESP8266 and CY8CKIT-059 via SPI

Project description: 1.CY8CKIT-059 is master and ESP8266 mini d1 is slave. 2.Master communicate with slave via SPI per 2 seconds and each time the value increases 1. Question: I don't know why my slave device always receive Master : 0.The value…
甚麼甚
  • 3
  • 6
0
votes
0 answers

Timeout error while (only) sending data from raspberrypi via USB using linux but windows works fine

I am trying to set a USBFS (USB full speed) communication between Pi 4 and cypress PSoC 5 (https://media.digikey.com/pdf/Data%20Sh ... CY8C55.pdf). Reading the data from Psoc5 works fine, but if I try to send data from raspberrypi (or ubuntu from my…
0
votes
0 answers

PSoC 5 hold time violation

I'm getting a hold time violation from CyBUS_CLK to SineDAC:Wave1_DMA/termout and I'm not quite sure why. I've got two waveforms in a single DAC. Sample rate is 128kSPS, samples for both are 128. Master, bus, and ilo clocks are unspecified. The…
Trevor
  • 1,369
  • 2
  • 13
  • 28
0
votes
0 answers

Linux - Read from SPI slave - RPI as Master and PSoC as Slave

The setup is: RPI: Raspberry Pi Zero W PSoC: CY8CKIT-059 I have created the following code below and I'm able to write from the SPI Master(RPI) to the SPI slave(PSoC) and toggle(on/off) the LED, but how do I read from the slave? I want to send data…
0
votes
1 answer

PSoC 5, Counter UpCnt & DwnCnt mode as an Encoder

I am new in the Stack Overflow community, I hope that you can help me with this issue. I am trying to read an encoder without using interrupts. The solution that came to my mind is to use a counter that, using PSoC, can be selected with the UpCnt &…
0
votes
1 answer

How to set up Raspberry Pi 4B as a I2C slave

I'm trying to set up a RPi 4B to work as an I2C slave with PSoC (4.4) - CY8C5888LTI-LP097. Below is my code to set up the slave address on the Pi. import pigpio pi = None slave_addr = 0x13 def i2cInterrupt(): global pi global slave_addr …
Jello
  • 1
  • 1
  • 2
0
votes
2 answers

GPS neo-6m do I need to request data?

I've worked with this GPS on Arduino and it was pretty easy. But currently, I am trying to connect it to PSOC. And I'm interested if someone knows, do I need to ask GPS for data or it will try to find satellites and send data without any writing on…
Diana Deer
  • 35
  • 4
0
votes
1 answer

Simulating PSoC 5LP

I am working on extracting strain gauge values mounted on my ATV (front suspension) with the help of a 20 bit ADC of PSoC 5LP. Before that, I would like to simulate it. So could you please suggest an appropriate simulator? I have tried it on proteus…