I am using modustoolbox with eclipse environment. I want to view some global variables live. Do you have such option in modustoolbox? Or some oscilloscope to view variables in real time?
I am using eclipse based environment for modustoolbox. I want to add fast math function like arm_sin_f32 etc... in my code. I have already gone through https://community.cypress.com/t5/ModusToolbox-Bluetooth-SDK/How-to-add-libm-for-math-funtion/m-p/36884 but in my eclipse environment I don't have option like "Tool settings", GCC Linker etc.
Please refer some screenshots.
Could you help here.
环境：Eclipse IDE for Modus Toolbox 2.3.0 ,例程是按照Eclipse IDE for ModusToolbox Quick Start Guide生成 Hello World工程，Demo是CY8CKIT-062-BLE,不知是什么原因，我这边打开Device configurator,发现Device configurator中的Pins选项中并没有给代码中的LED8引脚P1进行设置，包括例程中的打印口也没有在Device configurator中的Peripherals勾选，这使我很困惑。
说明:我之前用PSOC Creator开发过此Demo的E-INK，有对应的M0核和M4核main函数，后边想转到Modus Toolbox 来开发，结果在 Hello World工程中只找到了一个main函数，对应不起来。
既にご存じの方はご存じと思いますが、CQ出版トランジスタ技術増刊の エレキジャックIoT に
PSoC 6 (CY8CPROTO-062-4343W) と ModusToolbox を使用した記事が掲載されました。
Probably many (in Japan) have already been aware of, I wrote some tutorial article in a magazine named ElekiJackIot (CQ publisher) using PSoC 6 (CY8CPROTO-062-4343W) and ModusToolbox.
ModusToolbox の Code Example を使用した
Secure HTTP Server
Secure HTTP Server にセンサを付けて動的に画面をリフレッシュする例も執筆したのですが、
Among the Code Examples of ModusToolbox, I introduced
Secure HTTP Server
Although I also wrote a sample expanding the Secure HTTP Server with an I2C sensor
and HTTP Refresh so that the page will be automatically updated,
it was not in this volume, hopefully it will be in the next volume 😉
I get build errors when trying to follow the step by step instructions here:
Example error message:
COMPONENT_CUSTOM_DESIGN_MODUS/TARGET_CY8CPROTO-062-4343W/GeneratedSource/cycfg_peripherals.c:38:30: error: initializer element is not constant
38 | .enableMutliProcessorMode = false,
I can reproduce the build error from scratch using the command line sequence below:
git clone https://github.com/cypresssemiconductorco/mtb-example-psoc6-mcuboot-basic.git
make program TARGET=CY8CPROTO-062-4343W TOOLCHAIN=GCC_ARM
Is something broken or am I missing a step somewhere?Show Less
when we download the psoc6 code form github of https://github.com/cypresssemiconductorco?q=mtb-example-psoc6%20NOT%20Deprecated, when we import the project and with offline of modustoolbox-offline-content-220.127.116.11.zip, and build it , it show error with "app-id is not set" ; can you help to advice how to solve it due to we has no internet ;
I want your help why I want to know the way of transfer large data with PSoC!
I was using PSoC 5LP(CK8 KIT-059) for transfer the data to LED tape(WS2812) from SRAM with DMA.
Its SRAM capacitive is not enough for my plan that desplay the video.
So, now, I'm considering to use WiFi of PSoC 6 in real time.
I don't have knowledge PSoC 6 well so could you give me advice that wether my plan is possible.
Thank youShow Less
I am currently trying to create an application in Modus Toolbox that implements a basic custom BLE service with two characteristics: one to write a byte of data and one to read a byte of data from a phone client. Since I couldn't find any BLE tutorials for Modus Toolbox, I have been using a combination of the "BLE_Battery_Level_FreeRTOS" example, the "Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.50" quick start guide, and the PSOC Creator BLE tutorial videos as references, but it has been somewhat difficult to figure out the correct approach. I feel like I understand more or less what needs to be done, but cannot get the PSOC 6 device to show up on my phone (while the "BLE_Battery_Level_FreeRTOS" example works as expected). I essentially started with an empty project, added the FreeRTOS and BLE libraries, used the Bluetooth Configurator to provide the same settings from the "BLE_Battery_Level_FreeRTOS" example (except for replacing the battery service with my custom service), added the "BLESS_HOST BLESS_CONTROLLER" to the components in my makefile, and copied the "ble_task.c/ble_task.h" files from the example to my project. I made some edits to the "ble_task" files to match my application by removing the "bas_event_handler", commenting out the "BATTERY_LEVEL_UPDATE" case, removing all references to the status led, modifying the code from the CY_BLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ case to simply increment and return a byte, and adding a case for "CY_BLE_EVT_GATTS_WRITE_REQ" (based on the PSOC Creator "SimpleBLEPeripheral" example to update a PWM value to an LED based on the written byte value). My main function calls the standard initialization routines, sets up the LED PWM, creates the BLE task (the only task in my application), and starts the FreeRTOS scheduler. After programming the board, the device does not appear to be advertising to my phone. Using debug mode, I've determined that the BLE initialization routine completes successfully. I figured I may not have setup my custom service correctly, but I don't think that should have affected the advertising. I would appreciate any ideas as to what my problem/s might be.
Also, I was a bit confused about the proper way to respond to BLE events. Specifically it appears as though some actions are handled in the main loop after Cy_BLE_ProcessEvents(), while other actions are handled in the corresponding case of the "stack_event_handler". Both of these seem essentially equivalent to me, so I'm not sure how to decide where these functions should go.
My custom service characteristics are setup like this:
I've noticed that the Modus Toolbox tutorial videos demonstrate a different approach to interfacing with peripherals that what is shown in the Modus Toolbox example projects. For example, the video tutorials demonstrate configuration of the PWM with functions Cy_TCPWM_PWM_Init, Cy_TCPWM_PWM_Enable, Cy_TCPWM_TriggerStart, etc. The "PWM_Square_Wave" example project on the other hand uses cyhal_pwm_init, cyhal_pwm_set_duty_cycle, cyhal_pwm_start, etc. What is the difference between these APIs and which is recommended for custom applications? With my limited experience, I prefer the paradigm from the video tutorials since it appears less verbose and seems to work better with the device configurator. However, I would want to adopt whatever paradigm is officially endorsed rather than becoming dependent on something that will be phased out in the future.Show Less
My organization requires internet access via an authenticated proxy.
In the modus toolbox IDE, I can set up a proxy with a username and password in the preferences, but in the Library Manager, I can only set up the hostname and port.
How do I set up a proxy with a username and password?