PSoC™ Creator & Designer Forum Discussions
Hi,
I have read a few things about CAN in PSoC and I got a couple of questions.
http://www.cypress.com/file/127111/download just a sample datasheet.
It says that CAN has a 16 receive buffer with filter. By my understanding of the wording, it seems like you can receive only the messages that the filter will allow, and you may not able to see everything. Can you set the filter to blank so you can see all the messages? What can a user do when they need to log/communicate with more than 16 messages?
Also, is it possible to change the individual bits of the message just before being sent, for example to test CRC check of other modules. You induce some error bits here and there. Can this by done manually?
Thanks.
Show LessJust come here to see if I'm the only one have this behavior:
using Creator 4.1 update 1, I found that the option in compiler:
"default char unsigned option = False "
will make the default to signed (i.e. no -fsigned-char appended),
and it was confirmed by compiling and run a check on "char a = 127; a += 1;"
to see if "a == 128" or something else.
Anyone could confirm, or I am the only one has this?
Best,
Show LessTo those who create and manage AN90799
Even if it is implemented according to the following procedure described in AN90799, an error will appear.
Is it possible to add a description to AN90799?
4 Writing an Interrupt Service Routine (ISR)
4.1 Using Auto-Generated ISR
Among them, you need to describe below but you get an error that is undefined.
void Timer_1_ClearInterrupt(uint32 interruptMask)
As for the solution method, the definition sentence will be added to the following place.
/* Place your includes, defines and code here */
/* `#START isr_1_intc` */
#include <Timer_1.h>
/* `#END` */
I would like you to describe the process steps up to this solution in the application notes.
Best regards.
- - Japanese - -
AN90799を作成、管理している方へ
AN90799記載の下記の手順通りに実装してもエラーが出てしまいます。
記述を追加することは可能ですか?
4 Writing an Interrupt Service Routine (ISR)
4.1 Using Auto-Generated ISR
この中で下記を記述が必要ですが定義されていないというエラーが出ます。
void Timer_1_ClearInterrupt(uint32 interruptMask)
解決の方法は、下記の場所に定義文を追加することになります。
/* Place your includes, defines and code here */
/* `#START isr_1_intc` */
#include <Timer_1.h>
/* `#END` */
アプリケーションノートにはこの解決方法に至るまでを記載してほしい。
以上、よろしくお願いします。
Show LessI am trying to program my CY8C4248LQI-BL583 and CY8C21334-24PVXI with CY8CKIT-002 with same software. I can program CY8C4248LQI-BL583 with PSoC Programmer 3.26 and CY8C21334-24PVXI with 3.13. While I cannot use same software's different versions in the same PC, I cannot program both of these with same software. Is there any possibility to program CY8C21334-24PVXI with PSoC Programmer 3.26 or adding libraries (source files) of this product to software? Because I could not find the device family on 3.26.
Show LessIs there a way to disable code generation every time I press build?
Hello,
I have got two types of errors after component update:
First type is failure of loading assembly:
The instance 'RTC', of component RTC_P4_v1_20, contains an error. Failed to load assembly, 'C:\Users\(user accont)\AppData\Local\Cypress Semiconductor\PSoC Creator\4.1\customizer_cache\Downloads ( 4.1)_c7f833895850f9cf7a53bc51f9fc03188f983724cc4ac6f8c0d47bf7901b7cf4.dll'
Second type is failure of finding resx file:
Could not find a part of the path 'C:\Users\(user account)\Documents\PSoC Creator\4.1\Downloads ( 4.1).cylib\SCB_P4_v4_0\Custom\Tabs\I2C\cyi2ctab.resx'.
Both has happened right after the component update. Is there any way of fixing this?
Show LessHello !
How to make CE210558 example compatible to new envirenment(PSoc Creator 4.1) and new chip(PSoC® 4 CY8CKIT-145-40XX kit)?
It shows these after building:
[1] ADD: sdb.M0059: error: Error in component: cy_boot. The cy_boot_v5_30 component (cy_boot) is not compatible with the selected device. Please check the component datasheet for details on updating to a compatible component.
[2] ADD: sdb.M0059: error: Error in component: cy_lfclk. The cy_lfclk_v1_0 component (cy_lfclk) is not compatible with the selected device. Please check the component datasheet for details on updating to a compatible component.
Show LessI have found that under certain peculiar circumstances I cannot set a breakpoint in PSoC creator 4.1. I am using a PSoC 4200 - this may not be relevant. The IDE says ...
Programming started for device: 'PSoC 4200 CY8C4245AX*-483'.
Device ID Check
Erasing...
Programming of Flash Starting...
Protecting...
Verify Checksum...
Finished Programming
Device 'PSoC 4200 CY8C4245AX*-483' was successfully programmed at 07/05/2017 17:27:52.
Warning: Cannot set breakpoint: 'C:\PSoC Projects\Workspace1\BreakpointTest.cydsn\File1.c:16'. Encountered error (No line 16 in C:\PSoC Projects\Workspace1\BreakpointTest.cydsn\File1.c).
Continuing target program
The target program has stopped at: file: main.c line: 18 function: main address: 0x00000162
Continuing target program
The target program has stopped at: file: File1.c line: 15 function: tryToDebugFunction address: 0x0000016A
Continuing target program
The target program has stopped at: file: File1.c line: 16 function: tryToDebugFunction address: 0x0000016E
Continuing target program
The target program has stopped at: file: File1.c line: 17 function: tryToDebugFunction address: 0x00000174
Continuing target program
The target program has stopped at: file: File1.c line: 18 function: tryToDebugFunction address: 0x0000017A
Warning: Cannot set breakpoint: 'C:\PSoC Projects\Workspace1\BreakpointTest.cydsn\File1.c:16'. Encountered error (No line 16 in C:\PSoC Projects\Workspace1\BreakpointTest.cydsn\File1.c).
Warning: Cannot set breakpoint: 'C:\PSoC Projects\Workspace1\BreakpointTest.cydsn\File1.c:16'. Encountered error (No line 16 in C:\PSoC Projects\Workspace1\BreakpointTest.cydsn\File1.c).
This shows that I can single step through line 16 of File1.c but it refuses to set a breakpoint for me. I can set a breakpoint in the disassembly window by address, rather than line number. I can also set normal breakpoints in main.c.
After much head banging it appears that this peculiarity seems related to the inclusion of a file referencing C varargs functionality, as provided by stdarg.h even if this functionality is not called.
I include an offending project, stripped down to its bare essentials.
Can anybody help?
Roger.
Show LessHello all:
I created a component use verilog , two frequence inputs ,and generate a 32bits result. like this:
the Rst[31:0] no hardware connect, I just need read it to memory, use C API. How can I read verilog result ? How can I read Rst[31:0] to a long variable ? Or how can I generate C API for verilog to read this result , like long xx_ReadStatus(void){ return Rst; }?
God , help me!!!
Show LessHi there, I checked the USBUART component.
According to what I have understood, it lets the USB act as a COM port (which I can access via hyperterminal/putty,etc..)
Suppose my application requires me to have 2 [or multiple] COM ports.
Is it possible to have the USB act as multiple COM ports?
Regards.
Show Less