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
10
votes
2 answers

undefined reference to __cxa_end_cleanup'

I'm trying to build a C++ project however as it finishes it throws this error: undefined reference to __cxa_end_cleanup' The toolchain used is ARM GCC 4.7.3 and the Linker custom flags is: -mthumb -march=armv6-m -T…
quarks
  • 33,478
  • 73
  • 290
  • 513
3
votes
1 answer

How to initialize random without time

I am programming a microcontroller (PSoC5), which doesn't have a system time. What is the best way to generate a seed to initialize srand? TIA
Philip F.
  • 1,167
  • 1
  • 18
  • 33
3
votes
1 answer

Sending 16 bit values on 8 bit UART

We're trying to send a 16-bit value from one PSoC to another. The essence of this operation should be pretty simple: Split the value into two 8-bit values, one for MSB and one for LSB Send the MSB and then LSB from system 1 Recieve MSB and then LSB…
de_rush
  • 33
  • 1
  • 4
3
votes
2 answers

Using JTAG interface for programming

I am developing a system for which I need to program MCUs like PSoC or Atmel SAM4E or Freescale K70 Series. Currently, I am using vendor specific IDEs and Peripherals like 'Miniprog from cypress' to program them, but I want to have a generic…
Roshan Br
  • 362
  • 2
  • 17
2
votes
0 answers

Force variable to have a particular memory .noinit location on PSOC5

Is there a way to make sure that a variable in a NOLOAD memory section is given a specific location in memory? Do I need to edit the linker script, or is there a linker command to do this?
2
votes
1 answer

exp() math.c i c not working if in a loop

I'm currently working on a pid regulator for at school project. Since the corona is has shut down the school we can't get any hardware to test it with. So i want to simulate the PID regulator on a microprocessor (PSoC5LP). So i'm implementing a…
Viktor T
  • 23
  • 4
2
votes
1 answer

How to calculate CRC16-CCITT/KERMIT in both C# and C

I am working on calculating a CRC16-CCITT/KERMIT so that I can check data integrity on transmissions of 64-byte data packets between a C# Winforms Application and a microcontroller (PSoC5LP/Arm Cortex-M3). I'm close, but just not quite getting the…
K_Trenholm
  • 482
  • 5
  • 20
2
votes
2 answers

ISO/IEC 14443a CRC Calcuation

Hello everyone I am finishing the last section of my firmware for my NFC project. I am attempting to communicate with an AD-740 NFC Tag which uses NXP's MF0ULx1 MIFARE Ultralight EV1 - Contactless ticket IC. The NFC reader that I am using is NXP's…
CDutko
  • 23
  • 1
  • 5
1
vote
0 answers

non-zero float is generated as \0 in sprintf

I'm working with psoc creator, and I'm trying to print a float between -1 and 1 to an I2C OLED. To get this working I'm using the function sprintf. I added the following flag to my linker -u _printf_float because I'm using newlib-nano and it omits…
Typhaon
  • 828
  • 8
  • 27
1
vote
1 answer

Trying to retrieve data from a serial port but program is stuck at getchar

I am using an embedded system to send data from 25 sensors to a putty terminal on my computer. Works great. I wanted to add a read from terminal functionality to the embedded system (so I can send commands). So I tried using getchar() to read…
JCSB
  • 345
  • 2
  • 16
1
vote
3 answers

Why does my ble app crash when I move a function call to a different button?

I am currently attempting to make the app I am developing more simple to use but I am running into an issue trying to consolidate the amount of buttons needed to establish connection to a PSoC 4 BLE. In the end I want one button to handle searching,…
ian.templeton
  • 59
  • 1
  • 3
1
vote
0 answers

mBluetoothGatt.getServices() returning wrong UUIDs

Currently developing an android app to connect with a ble custom service. Scanning is working properly, but now i cant read the characteristics from a service. Im using a PSoC development board. Made a custom service with multiple characteristics,…
1
vote
1 answer

PSoC 1 programming with Kitprog or CY8CKIT-059?

I am wondering if anyone knows if the Kitprog programmer provided in CY8CKIT-059 supports programming in ISSP for PSoC 1 chips? Similar to Miniprog1/3. Not really worried about debugging for this question. Cypress documentation on this is…
bn880
  • 111
  • 1
  • 4
1
vote
2 answers

Psoc 4 ble communicate with windows

I want to make an application to get my notifications from an iphone through psoc 4 ble. I'm subscribing to ANCS service, i get the notifications, and after i want that data to send to windows to a java or c# application. What I don't know how to do…
J.Doe
  • 11
  • 5
1
vote
0 answers

Turning off Psoc control register for more than 3 seconds

I am a novice at electronics as well as psoc so forgive me here... I have an application that uses a control register with 7 outputs... From what I can understand, when I call I_Control_Reg_Write(0) I turn it off, and if I call I_Control_Reg_Read()…
Trent Go
  • 11
  • 2
1
2 3 4