All Forums
Browse the Community
USB
Universal Serial Bus (USB) forums have discussions regarding Low-Full & High Speed Peripherals, Superspeed Peripherals, USB Hosts Hubs Transceivers, and USB EZ-PD Type C product solutions for PCs and consumer device topics.
Wireless Connectivity
Power
Sensors
Memories
Memory Discussion Forums discussions regarding NOR Flash, SRAM, nvSRAM and F-RAM - performance and reliability with discrete memory densities ranging from 4K-bit to 2G-bit topics.
Other Technologies
Discussion forum regarding Other Technologies including Power Management and Clocks topics.
Security & Smart Card
Radio Frequency (RF)
Software
Software including ModusToolbox, PSoC Creator, WICED Studios and Wi-Fi Bluetooth for Linux .
Applications
Battery Management ICs
Infineon's TLE9012DQU is a multi channel battery monitoring and balancing IC for various lithium-ion battery applications, with integral functions like voltage and temperature measurement, cell balancing, and isolated communication with the main battery controller, including self-diagnosis features. The TLE9015DQU iso UART Transceiver IC is used in battery systems for enabling the communication between the main microcontroller and multiple TLE9012DQU units in a daisy-chain configuration. This forum welcomes discussions, queries, and insights on battery management systems and devices.
Featured Discussions
Hello all,
I am currently trying to understand how the UVC host application works. Code is from the zip file linked to by this thread: UVC Extension unit
The host application allows you to either get or set the current firmware version on the FX3. It seems the parameters for the function "SetGetExtensionUnit" (host application) dictate which control is to be executed on the FX3 side. The "dwExtensionNode" parameter is commented as the "XU Node ID" on line 187. Is this supposed to be the "bUnitID" from the Extension unit descriptor? In the host application code, "dwExtensionNode" is set to 2, while the extension unit descriptor "bUnitID" is valued at 3. The processor unit in the UVC header has a "bUnitID" set to 2, so are we actually calling the processor unit with the host application code?
The next parameter in "SetGetExtensionUnit" is "xuPropertyId"; commented as "XU control ID" on line 188. I assume this is the control ID with possible values ranging from 1 to 31. Assume I wanted to make an exact copy of the Firmware control but instead make it control number 2. I would have to edit the extension unit descriptor such that "bNumControls" was set to 0x02, and "bmControls" was set to 0x03, 0x00, 0x00. In the "UVCHandleExtensionUnitRqts" function on the FX3, I would have to add a case to the switch statement for "wValue", which would recognize control 0x0200 as my copy of the firmware code. I should then be able to edit the host application, so that "xuPropertyId" was set to 2, and I could then get and set the firmware just as if the parameter was set to 1. Unfortunately this does not work, so my understanding is flawed.
This is one of the last major milestones in my project, and would greatly appreciate any help you can offer, thanks.
Show LessHi There,
I've been using the EZ-Serial module (PSoC4) for testing my platform and it has been amazing. Of late I've run into a road block while trying to create a custom GATT service and associated characteristics. I use binary mode for transacting and here are the list of commands that I sent and the responses I got.
sending command to add local service -
['0xc0', '0x19', '0x5', '0x1', '0x0', '0x28', '0x1', '0x0', '0x0', '0x0', '0x0', '0x10', '0x0', '0x0L', '0xb1L', '0xcL', '0x20L', '0x0L', '0x8L', '0x9aL', '0x9eL', '0xe2L', '0x11L', '0x15L', '0xa1L', '0x44L', '0x44L', '0x44L', '0x55L']
gatts_create_attr attr response --
['0xc0', '0x6', '0x5', '0x1', '0x10', '0x1', '0x1e', '0x0', '0x8', '0x0', '0x9c']
validity = 0x8 -- Indicates I need a characteristic definition
sending command to add local chr --
['0xc0', '0x19', '0x5', '0x1', '0x3', '0x28', '0x1', '0x0', '0x12', '0x0', '0x0', '0x10', '0x0', '0x1L', '0xb1L', '0xcL', '0x20L', '0x0L', '0x8L', '0x9aL', '0x9eL', '0xe2L', '0x11L', '0x15L', '0xa1L', '0x44L', '0x44L', '0x44L', '0x55L']
gatts_create_attr attr response --
['0xc0', '0x6', '0x5', '0x1', '0x10', '0x1', '0x1e', '0x0', '0xd', '0x0', '0xa1']
validity = 0xd -- Indicates invalid attribute length
sending command to add local chr value attr --
['0xc0', '0xb', '0x5', '0x1', '0x1', '0x0', '0x1', '0x1', '0x12', '0x14', '0x0', '0x0', '0x0', '0x0', '0x0']
gatts_create_attr attr response --
['0xc0', '0x6', '0x5', '0x1', '0x10', '0x1', '0x1e', '0x0', '0x8', '0x0', '0x9c']
validity = 0x8
sending command to add local chr cccd attr --
['0xc0', '0xb', '0x5', '0x1', '0x2', '0x29', '0x1', '0x1', '0xa', '0x2', '0x0', '0x0', '0x0', '0x0', '0x0']
gatts_create_attr attr response --
['0xc0', '0x6', '0x5', '0x1', '0x10', '0x1', '0x1e', '0x0', '0x8', '0x0', '0x9c']
validity = 0x8
sending command to add local chr (second characteristic) --
['0xc0', '0x19', '0x5', '0x1', '0x3', '0x28', '0x1', '0x0', '0x6', '0x0', '0x0', '0x10', '0x0', '0x2L', '0xb1L', '0xcL', '0x20L', '0x0L', '0x8L', '0x9aL', '0x9eL', '0xe2L', '0x11L', '0x15L', '0xa1L', '0x44L', '0x44L', '0x44L', '0x55L']
gatts_create_attr attr response --
['0xc0', '0x6', '0x5', '0x1', '0x10', '0x1', '0x1e', '0x0', '0xd', '0x0', '0xa1']
validity = 0xd
sending command to add local chr value attr --
['0xc0', '0xb', '0x5', '0x1', '0x1', '0x0', '0x1', '0x1', '0x6', '0x14', '0x0', '0x0', '0x0', '0x0', '0x0']
gatts_create_attr attr response --
['0xc0', '0x6', '0x5', '0x1', '0x10', '0x1', '0x1e', '0x0', '0x8', '0x0', '0x9c']
validity = 0x8
-----
As you can see, I'm trying to follow pretty much the same template that the dump_db command tells me to, but still looks like somewhere the system is not happy with what I'm sending. The error on invalid attribute length while defining a new characteristic also occurs if I use the /CAC command (text mode).
My requirements -- create one service and two characteristics. On one characteristic, I want to send out notifications and want to receive data from a connected client on the other.
It will be great if you can help me resolve this issue.
Thanks.
Saranyan.
Show LessHi all,
I have an issue with FX3 booting from SPI flash. We have a custom design that supports booting from both USB and SPI. We have a jumper circuit that configure PMODE so that with jumper on, FX3 boots from USB, otherwise it boots from SPI. We have tested that booting from USB works with the jumper on. We also confirmed USB Control Center can successfully program SPI flash. Meanwhile I saw the activities on SPI bus. This verifies the connection from FX3 to SPI flash is good.
But with jumper off, it doesn't boot from SPI, after pressing reset button. In fact, I saw no SPI activity on the scope, so it doesn't even try to boot from SPI. Below is what I did to troubleshoot:
- checked the PMODE[2:0] to be "0F1", as expected. Voltmeter reads 0 and 1.8V for PMODE[2] and PMODE[0]. PMODE[1] reads 0V but has large impedance to ground. So I believe PMODE[1] is floating.
- probe the SPI SCK/CS signals on scope after pressing reset button (works for USB boot), no SPI activity was seen.
- checked that all voltage supplies are correct: VIO[1-5]=1.8V, CVDDQ=1.8V, VDD=1.2V, VBATT=3.3V
- checked that 19.2MHz clock is good.
Any idea where I might be missing? Thank you in advance.
Best,
Dawei
Show LessCan someone please post example how can I measure battery with 022001-0 module. I have the same code working for 012011-0.
When I change the Vref to pin 1.7 and use one of pins 3.X as ADC inputs, the battery measurement does not work.
Show LessI am using CYBT-343026-EVAL with WICED 6.2 now.
1.I want to know software strcture diagram of WICED 6.2.
When I read hci_control.c,I saw Software User Manual (WICED-SWUM10x-R) like below,
but I can't find it.
2.I want to know where can I find Software User Manual (WICED-SWUM10x-R).
Would you please tell me that?mifoshjlgoto-t_2353976user_437857088user_140663973
Show LessHi
I got a UART transmission block working, sending 4 bytes at a time but the logic i'm using is actuallly not making a lot of sense to me, even though it works.
I was checking if the transmission status was FIFO not full, but what really makes sense is to check if the FIFO is empty so I can immediatly load it with the 4 bytes to send. When I do this, however, it never goes into the if, it's always false even if right before checking it I place the clearTXBuffer and I don't understand why.
Does anyone have any idea? Am I understanding the functioning wrong? I've read the datasheet some 3 or 4 times and this is what I could understand from it.
Thanks.
Show LessDear Developers,
I am using ds18b20 for reading temperature using the library shared on psoc community. I am able to successfully interface the ds18b20 (dallas) ic . But comparing the result
i found that my ds18b20 is giving 7-8 degress increased drift in the reading. I thought it was sensor fault so i retested the sensor on the arduino where is gives proper reading. I have RTD Pt100 sensor using which i compared ds18b20 is giving proper result on arduino but not on psoc5lp ( kit 59).
This below library is shared in psoc community.
Show LessI have a combination bootloader application but I'm having trouble debugging the image in the upper section. There seems to be some issue with my firmware copying/flash writing code but it only happens when the upper image is running and writing to the lower image location (the first firmware copy to the upper location works fine). I don't know how to debug the upper image. I can trick the bootloader into booting the upper image but the debug symbols don't seem to align to the correct code if I do this.
Show LessHello forum members,
i am looking for a way to encrypt an char array before those data are exposed via Bluetooth.
Those encrypted data later will be processed in a secure harbor. So transporting of those are
fully transparent and no security issue so far. What is the best economic way to achieve the
encryption? Maybe an public key based encryption is sufficient?
Thank you for taking time to read this and helping me out to find a solution.
Daniel
Show Less1. Not able to flash into TC277TF board using UAD pro 2 debugger
PFA of the failure report
What is the issue?
2.Can i get the bootmode header for flashing into the Tricore Tc277Tf controller Show Less
-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023