Browse the Community
ModusToolbox™
The ModusToolbox™ forum includes discussions regarding multi-platform development tools and a comprehensive suite of GitHub-hosted firmware libraries accompanied by thoroughly tested code example applications.
DAVE™
PSoC™ Creator & Designer
Discussion forum regarding PSoC Creator & Designer Software topics.
Wi-Fi Bluetooth for Linux
AURIX™ Development Studio
The AURIX™ Development Studio is a free of charge Integrated Development Environment (IDE) for the TriCore™-based AURIX™ microcontroller family. It is a comprehensive development environment, including Eclipse IDE, C-Compiler, Multi-core Debugger, Infineon low-level driver (iLLD), with no time and code-size limitations that enables editing, compiling, and debugging of application code. Combined with numerous code example projects, the IDE can be used to evaluate the powerful architecture of the AURIX™ microcontroller family. It supports Microsoft Windows 10 as a host operating system (OS).
Recent discussions
USB_Audio_Device_FreeRTOS sample project of CY8CKIT_062S2_43012 is targeted for AK4954 codec. How to modify the project for WM8960 codec if the mezzanine card is CY8CKIT-028-SENSE?
Show LessHello,
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 LessWhen sending data from PC via USB serial port to CYSPP CYBT-483039-EVAL, it appears to be over-running the CYBT, without CYBT ever asserting PUART_RTS low.
- CYSPP CYBT-483039-EVAL is connected to iOS app using EZ-Serial BLE CYSPP
- Data is being sent using the Acknowledged Characteristic (101)
- PUART SW5 are all turned On
- After press reset switch on eval board, I see UART RTS pin Arduino J7-P6 go high on oscilloscope
- I set CYBT and flow control by sending following command to PUART from the PC.
-
"STU,B=1C200,D=8,F=1,P=0,S=1\r\n"
When PC starts sending file data to PUART over USB serial, I see the data being received on the iOS side, however, some data is missing.
I expected PUART RTS to be asserted low to prevent 3 MB of file data from over-running the CYBT, when sending data to PUART_RX ?
I do not see UART_RTS on pin Arduino J7-P6 being set low during the 3MB file transmission.
What are potential solutions to prevent data over-running when sending data to PUART RX for transmission to iOS device?
Thank you,
-Ed
Show Less
Hello,
I am using the EZ-Serial Host API Protocol Library with the CYBT-343026-01.
App: 1.2.29 build 29
Stack: 5.2.0 build 22
Protocol: 1.3
HW: CYBT-343026-01
I have a few modules that I re-flashed with EZ-Serial binary.
My procedure is to use ModusToolbox and flash the module with the Firmware_Upgrade_via_HCI application via the HCI UART. Then I use ClientControl to flash the module with the EZ-Serial Binary via the HCI UART.
The issue is, after I do this, all the modules have the same Bluetooth Device Address (MAC). I believe this is because the Firmware_Upgrade_via_HCI application has this line in the makefile.
BT_DEVICE_ADDRESS?=default
Per the documentation, this will set a BDA for your device by combining the 7 hex digit device ID with the last 5 hex digits of the host PC MAC address.
My question is, how do I prevent this. I want each module to have a unique MAC, preferably the MAC they had before I reflashed EZ-Serial.
Thank you,
-Rocko
Show LessWe have a platform that uses WICED Version 3.7.0-7. AN STM32F469 processor uses the WiFi/BT module LBEE5KL1DX. We're able to bond with and connect and reconnect to a BTLE 4.0 keyboard without issues. When we do the same with the same model of keyboard that uses BTLE 5.0, we're able to bond with and connect with the keyboard, but upon re connection, the firmware crashes. From the debugger, it seems to be crashing in a pee-compiled module we have: BTE_low_energy.FreeRTOS.LwIP.ARM_CM4.release.a.
Our belief is that something in the firmware is not handling BT 5.0 events correctly and is causing the firmware crash. But it isn't easy to tell what's going on in the project and the .a file is a bit of a mystery too. Are there any clues as to where to look for this issue? Is there perhaps an updated version of WICED or an updated driver file we should be using?
Show LessI wonder how this example can be used with the external gcc compiler.
I would like to use the LMU ram for initialized and uninitialized variables.
Do I have to modify the linker file for it?
I suspect I am over-running the CYBT when sending data from the built-in USB virtual COM port. I tried using an oscilloscope, however, I see no signals changing on either J1 or the module solder pads pin 22 (UART_RTS_N) and 24 (UART_RXD ). I know CYBT is sending data because I can see it being received by iOS app. I must be doing something dumb, but cannot figure out how I am over-running the CYBT module from the PC sending USB serial.
What does On and Off states control for CYBT-483039-EVAL SW4 HCI UART?
Should these be On for using USB serial port, and Off for JI HCI UART connected to a FTDI TTL 3V USB cable?
What does setting SW4 to all Off do?
See attached picture of eval board?
Thank you,
-Ed
Show LessHi,
I used two SPI's (SPI 1 and SPI 2) to communicate with two different flashes(Flash 1 and Flash 2) which are same IC make. I configured both SPIs identically. I may able to communicate with SPI 1 and Flash 1 but not with SPI 2 and Flash 2. I used four SPIs in my code. Is there any setting which i have to do to communicate with the SPI 2 and Flash 2?
So please help me to resolve this issue.
Thanks
Show LessIs there any user manual or bring up sequence for murata 1XA bluetooth? I want use bluetooth on my specific evb but don't know how to enable it. etc. which driver? any patch? device tree? firmware?
Show Less