Recent discussions
- Apply
I need to use the cyusb3kit-003 SuperSpeed Explorer kit to develop a "logic analyzer" that writes from 16 bit parallel input to windows disk through USB3. I have a USB2 device that takes data to a buffer, but the readout won't keep up with input.
It is simple. I need an EXE file for execution under windows command prompt that takes data and writes to binary disk like my current unit. I am not a programmer, so I need to find someone to do the programming. I use a high level language to read the binary file and process it.
The web pages lead me in endless circles, and the associates list does not seem to know about the SuperSpeed device. Short of learning binary coding which I do not have enough time to do, I see no help.
Show Less
Dear IFXer,
In mosfet middle voltage process, may I know the following technology name are same process? because I saw the internal structure are very similar.
Split Gate (SGT)
Trench Field Plate
Shield Gate Trench
Show Less
Hi I have a project requiring some form of electronic braking and I am using the TLE9879QXA40 board to power the motor. Is there any way using software or hardware to achieve this.
Show LessI have a posc6 cm4 app that when I allocate just a few hundred more bytes of static variables, the linker fails.
The error is:
COMPONENT_CM4/TOOLCHAIN_GCC_ARM/cy8c6xx7_cm4_dual.ld:318 cannot move location counter backwards (from 08046878 to 08046800)
collect2.exe: error: ld returned 1 exit status
Ironically, the PROGBITS feature doesn't run if the linker fails, so you can't see unless you go back to the smaller size. When you do it prints:
| .data | 0x0800228c | 7820 |
| PROGBITS | 0x08004118 | 1 |
| .cy_sharedmem | 0x0800411c | 12 |
| .noinit | 0x08004128 | 15572 |
| .bss | 0x08007e00 | 255208 |
| .heap | 0x080462e8 | 1304 |
| .cy_app_signature | 0x100fff00 | 4 |
The variable I am trying to grow in an uninitialized struct with an member array, so it should be in the .bss section which is huge, so I suspect that general understanding is wrong. I can't figure out why the linker is failing or how to change it. All the advice on this forum does not appear relevant for Modus Toolbox 2. 4
I am using the DFU linker script (dfu_cm4_app1.ld) from the BLE DFU example.
Please suggest where to look and what to change.
Show LessI am using GPT12_PWM_Generation_1_KIT_TC375_LK as the base firmware and test the example on my TC37X eval board.
Everything works perfectly.
I then tried to test the incremental encoder feature and I follow the document
iLLD User Documentation Device:TC37A Version: 1.0.1.14.0
|
The example snippet code seems like it carried from version TC2.7.X
◆ TimeConst_1s
#define TimeConst_1s (TimeConst[TIMER_INDEX_1S]) |
time constant equal to 1s
Definition at line 71 of file Ifx_DateTime.c.
Referenced by DateTime_get(), and DateTime_set().
It is clearly has nothing to do with GPT12 module.
May I ask the proper way to get GPT12 module to work, we have to include all the needed defines in different projects?
Does the snippet code in the iLLD document only there as the references or we can use it as closely as possible?
Thank you so much for all of your time and helps.
Hello,
I need to buy a compiler for the FX2LP18 USB microcontroller CY7C68053. Can you confirm that the Keil PK51 is compatible with the CY7C68053?
Thank you
Best Regards,
Patrice
Show LessHello!
I am trying to run PAS CO2 mini board on raspberry pi 3 using the python SMBus library for the i2c protocol.
I have a couple of questions regarding how to implement it.
1. My hardware setup is to connect four wires between the pi3 and CO2 mini board: 3.3v, GND, SCL, SDA.
Is this correct?
2. Referring to the Arduino application in the application note, I am setting the instructions step by step in python:
After reading ID, I wrote a code to read the sensor status (0x01). The return value is supposed to be 0xC0, but it appears to be 0xD0 (0b11010000.) In the register map description sheet provided, 4th bit means:
So, I decided to clear this bit by setting 1 to the first bit in the same register address, which is:
After that, I initially set it to idle mode. Then, I set the measurement rate to 10s just like what is shown above in the Arduino application and configured continuous mode by writing 0x02 to the 0x04 register address.
Then, I wrote a code to read the return value of the 0x07 register address, which is supposed to return 0x10 (0b00010000), which means data is ready to be read as written in the registermap description. However, for me, the return value is shown to be 0x02. This bit 2 indicates in the registermap description:
Finally, when I tried to read the CO2 value, the combined ppm was 62454 something like this in decimal.
What did I do wrong?
I can share my python code tomorrow in the morning, but it is pretty much the same as the Arduino application shown above.
Any help would be appreciated.
Thank you,
Nakseung Choi.
Show Less
Hello,
We are developing a product that contains the CY8C6347 part using ModusToolbox v2.3.1 and we are running into issues when trying to create a boot loader that uses the "secure image" functionality as outlined in AN221111.
To start with we made a simple "bootloader" application that runs on the CM0+ core and launches our main application that runs on the CM4 core. For this the "Dual CPU IPC Pipes" (https://github.com/Infineon/mtb-example-psoc6-dual-cpu-ipc-pipes) example was used.
That version of our "bootloader" is operating correctly, however when we start to pull in the "secure image" functionality that are described in AN221111 (and in the examples from the PSoC Creator PDL distribution) we are encountering an error when building the CM4 application. The behavior that we are seeing is that after the CM0 project is compiled the build process appears to stall/hang for a minute or two. While this is happening the windows task manager shows perl process that is consuming a fair amount of CPU as well as 3+ GB of RAM. That process appears to succeed, but then when gcc tries to compile the `.c` file that the perl script generates it errors out due to running out of memory.
I'm guessing that what is going on is that since the "secure image" process requires use of the `TOC2` instances that reside in SFLASH which is at address 0x16007C00 is causing the .bin and .c files to be very large and that is what is causing the perl script to take so long to complete and what causes the compile to error out. The .bin file is 98,336KB and the .c file is 329,231KB. That size for the .bin file seems to correspond with the offset of the SFLASH TOC2 instances within the flash area.
Has this issue been encountered before? Are there any solutions/workarounds?
Show LessI copied the code from the midi_server example over to a new MTW project and I can send Midi notes to iOS apps (Garageband, MidiWrench). However the server does not seem to receive any Midi events from the phone. I added LEGATTDB_CHAR_PROP_WRITE_NO_RESPONSE to the GATT db in the HANDLE_HSENS_SERVICE_CHAR_NOTIFY characteristic entry, and now the iOS apps do see that the device is capable of Input as well as Output.
I expected that when the client sends a Midi note or CC that the callback I registered (midi_server_gatts_callback) would get called but that does not seem to happen. Am I missing some obvious step?
Unfortunately, the MTW documentation is pretty light on tutorials and overviews 😞
Thanks, Norm
Show LessHi,
I am developing a board with XMC1400 micro. Can you explain how to output printf() to one of the serial uart ports? I looked at some examples but they all use Jlink connection and DAVE IDE console.
Thanks,
mh09
Show Less