Quantcast
Channel: Cypress Semiconductor - PSoC 4 Architecture
Viewing all 764 articles
Browse latest View live

Bootload_Start not compiling

$
0
0

I have a bootloadable project that needs to enter boot loader mode.  But every variation of Bootloader_Start() generates a compiler error.  I am sure need a include file, but cannot find anything in the bootloader documentation or the bootloader project files.


Use UAB as PGA or OPA?

$
0
0

Hi,

I try design with  PSOC Analog Coprocessor.

Is it possible use UAB as PGA or OPA?

That I can use 6 OPA in my design.

ADC Parameter

$
0
0

hi,

 

i have been  making Temperature sensing product on psoc-4. Here i use in built SAR ADC for sensing.

There is a two type of sensing.

1) RTD

2) Thermocouple

i got accurate reading of RTD and thermocouple with different parameter of ADC like;

RTD:

1) SAMPLE MODE:          HARDWARE TRIGGER 

2) AVERAGING MODE : ACCUMULATE

THERMOCOUPLE:

1) SAMPLE MODE:          FREE RUNNING 

2) AVERAGING MODE : FIXED RESOLUTION

i cant changed this setting from code.

can i do this with code on run time whenever i needed??

 

how to implement shield electrode in matrix capsense keypade

$
0
0

i want to design 7*7 capsense matrix keypade.as i found in one example matrix button is surrounded by hatch pattern of vss(ground) net on both side.and in capsense document its shown that to implement shield electrode surrounded hatch pattern should be connected to shield electrode pin.so its bit confusing should i connect ground net hatch pattern to shield electrode pin in my design ?

Extracting Message alone from AT command CNMI

$
0
0

My code reads in the M590E GSM Modem via serial communication using interrupt. An array has been created to receive all the value coming into the mcu. My question is how do i do it in a way such that its onlt the massage alone i get to extract from the message content.

I use AT+CNMI = 2,2,0,0,0

this sends the whole message to the serial com directly, i want to kindly tell me how am i could retrieve the message content alone, without the other informations.

Attached is a copy of my project.

Thanks alot

Quadrature Decoder not working

$
0
0

Using the PSoC4 Pioneer Kit and a 500 PPR encoder I am trying to get it to count up when I turn the encoder in one direction then count down hen turned it the other direction; but it is not working correctly.

When I turn the encoder in what I believe to be the count-up direction (A leads B) it does count up.

When I turn the encoder in the count-down direction (B leads A) it does NOT count down.

It just toggle back-and-forth between two values.

I capture the counts through Hyper Terminal and log them to a .txt file.

My project and the text file are attached.

I manually edited the .txt file to give indicators when I changed encoder direction.

 

Thank you,

Doug

Difference between CyEnterCriticalSection, CyGlobalIntDisable, CyDisableInts

$
0
0

What is the difference between CyEnterCriticalSection, CyGlobalIntDisable, CyDisableInts and their associated exit/enable functions?

Each of the above functions disables all interrupts.  I can't find any documentation on which, if any, is preferred - and under what circumstances.

Thanks for any help!

Brian

project on cy8c4246axi

$
0
0

my team want to develop one product on CY8C4246AXI controller.My job is to reach on conclusion that if our requirement is fulfilled by this part.

system requirement is as below.

one usart to use for 485 communication

one usart to use for 232 communication

one capsense blok for (7*7) matrix

three timer

2 gpio output pin one for 485 ic and one for buzzer.

i am using creator 3.3 service pack 2.

i try to create one sample project try to put all component and build the project to find if its fulfill our requirement?

issue is when i use UART(SCB) 3.20 its build sucessfully but when i try to use UART 2.50 its showing design can not be fitt in 4 udb block error.

so what is difference between this two version of uart?

second thing is this product need remote update facility.so is it possible to develop boot loader with existing Boot loader component with scb uart?? and application data will be coming through 484 transmission so how it Handel enable pin ??? is there any kind of restriction for scb selection for boot loader like have to select SCB:0 component of communication if want to use inbuilt boot loader component?

and i also generate one topic regarding capsense but till not get any response

http://www.cypress.com/forum/psoc-4-architecture/how-implement-shield-el...

 

any one can help me because i have to give decision as soon as possible..

 

here i also attach my sampel project


HEX format PSoC Creator

$
0
0

Hi all,

 

    I've created a new Keil project exporting PSoC Creator original project.

Now, to obtain output .hex file from Keil compilation, the toolchain call CyElfTool.exe as postbuild rule to execute to inject checksum at fixed flash address 0x90300000.

I've compared the .hex file generated by Keil without postbuild rule and the .hex file generated by CyElfTool.exe as postbuild rule.

They are quite different. One is Intel Hex 16 and Cypress in Intel Hex 64

My problem is that I have to verify the 2 .hex file and verify that CyElfTool.exe doesn't modify anything a part checksum injection, so i'm looking for a tool that can convert one in the other or viceversa.

Here Keil .hex file:

:020000040000FA
:10000000001000204D0800000B0700000B07000047
:1000100010B544480068012189040843414908603B
:10002000182000F083F93F480068012189048843C3
:100030003C4908603C48486010203C490863C006C1
...

...

Hexe Cypress .hex file (by CyElfTool.exe):

 

:40000000001000204D0800000B0700000B07000010B54448006801218904084341490860182000F083F93F4800680121890488433C4908603C48486010203C490863C00666
:40004000384988600020086037481130384908603849092000F050F9092000F043F900203549C86010BD70B500BF72B600BF012032490877002411E0062060433049451881
:40008000284600F0F1F8064668792A79000210430146304600F010F9601CC4B2022CEBD32849294800F022FE332000012749886077204002C86099200004254908610862A3
:4000C0000B208004886299200004086305208107086206201F49086018480078022108431649087008464078C321084014301349487008460078162108431049087003204F
:40010000C00415498860062014490860FF20B23088601B20C00112498860FFF779FF00F0CAF870BD00010B400600008000020240000002406504000000020B4000700F4088
:400140009E0F0000080E0000E00D00000000014000500F4000800F4000010440000204400003044000F002F800F03EF80CA030C8083824182D18A246671EAB4654465D463E
:40018000AC4201D100F030F87E460F3E0FCCB6460126334200D0FB1AA246AB46334318470C0E00002C0E0000103A02D378C878C1FAD8520701D330C830C101D504680C60CE

 

Many thank Guys

 

PS: PSoCs ROCKS!!! 

Maximum Drive current of PSoC BLE Board

$
0
0

I want to drive my speaker which needs atleast 17 mA current with 2.7V as in input.

but i dont know what is the maximum drive current of a normal output pin of PSoC4200 BLE board.

Can u suggest?

regarding speed for own motor config

$
0
0

Hello Professionals,

I am trying to make BLDC control using sensorless for my own motor. I used an example to modify according to my motor parameters, and I entered my motor parameters in the program. But the motor rotates only at a certain speed like with a very low rpm(approx.1000rpm). What to do to get the more Rpm? my motor rated speed is 16000 rpm. Can anyone please tell me the solution?

 

Thanks in advance

PSoC4 confidential - Unofficial PSoC4 manual/FAQ/errata/rumor & wild guess repository

How to re-enter bootloader after app has started?

$
0
0

Is it possible for the application to restart the bootloader?   Is there a API (or software reset) available to the application to do this?

 

Problem with sending data via ESP8266

$
0
0

Hi all,

I'm working on sending data via Wi-Fi module ESP8266 from my kit to the serwer, right now I'm trying to get the response of this module after using the AT+CIPSEND command, unfortunately sometimes it works properly, and sometimes it doesn't. I have no clue what could be wrong right now. The problem is that about 50% of runs ends up with the ESP8266 restarts on its own after I send the CIPSEND command. When I searched in the Internet it says that the restart is caused because of the timeout of the device (rst cause 4) but on the other hand sometimes it works. Could You please give me a hand? I attach my whole project to this post. the function that I'm mentioning is in the load_com function when gE is pressed on the keyboard.

Problem to generate 1ms Interrupt on 4200L

$
0
0

Hi,

I need an 1ms Timer Interrupt, but I already use 8 TCPWM and 4 UDB for PWM ,so no more availible.

I only need a ISR every 1ms.

 

Regards,

Michael


Controller makes internal connection by connecting two blocks psoc creator

$
0
0

  Hello,

 

     Is it possible that while connecting two blocks by wire in PSOC creator makes connection internally in microcontroller ?

     In my case I want to connect output of OPAMP (in voltage follower mode)  to ADC input . I have connected two blocks by bus.

     Do they really connect?

     I have attached project file.

     

     

1 Wire EEPROM

$
0
0

Hi,

I need to use a single wire EEPROM (1-Wire AT21CS01) with PSoC 4 BLE .

I've found you had a component for that on PSoC 1 but I can't find any refferance to PSoC 4.

 

What is the best practice to interface with such EEPROM under PSoC 4 ? 

Thanks,

Shai

Programmable Voltage Reference

$
0
0

Hi,

I am using a PSoC 4 Module (CYBLE-214009-00) and I can't find the Programmable voltage reference  component (PVref) on the PSoC creator.  ( www.cypress.com/file/274656/download )

I would like to use it in order to measure the VCC (Battery voltage in my case) without an external voltage divider.

I plan to use and ADC with VCC as a reference and to sample the PVref, than back calculating VCC.

why this component is missing ?

 

* Or If you can recommend on any other known practice to measure VCC without an external voltage divider.

Thanks,

Shai

pin detail mismatch of cy8c4126axi-m443

$
0
0

i am developing pcb with part cy8c4126axi-m443 (44 pin TQFP ) part. in psoc creator in design file(.cydwr) pin number 1 is showing black with label nc(all other power pin is hilighted with green colour other than this one). while in data sheet pin 1 is labeled as VSSD. what should i do? should i connect it to ground or left unconnected on pcb?

Develop control Kit for Burner

$
0
0

Hi,

I want to develop control unit for burner,  kindly advise me, which board kit is near to match my requirements .!

 

I want to control burner flame with pressure and temperature sensors and three units are attached with burner working.

1: System start up with ( control : Monitor pressure and Temp by sensors )
2: Glow Plug 12v 17A (control : switch on/off with timer + Temp sensor )
3: Blower fan 12V 11A, ( Control : switch on/off + PWM variable speed + temp sensor
4: Fuel Pump 12V, 4A, PWM ( Control : Switch on/off + variable speed + temp sensor

Burner system will start up when Pressure and Temp will reached at desired level.
1st glow plug will on for produce flame , 2nd blower will on with low flow, 3rd fuel pump will on for produce continuous flame,

1: MCU 32Bit Cortex M4 200Mhz
2: Flash 2mb + Accelerator
3: Ram 512
4: 2USB + 2 CAN
5: Ethernet IEEE 1588
6: ADC 8
7: Power on/off 6 Mofsets
8: Temperature Sensor 6
9: Pressure Sensor 6
10: Jtag header
11: TFT controller + LCD
10: I/O 20
11: Multi Function Alarms 4 +RTC
12: PWM 8

 

Awaiting your helpful reply.

Regards
Sami

Viewing all 764 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>