Part Number:CC1110-CC1111
Hi everyone,
I am using packet sniffer to see the packets info. Is there a way to find out the MAC of the transmitting device? and how can we find out the data rate?
Thanks,
Qamar
Part Number:CC1110-CC1111
Hi everyone,
I am using packet sniffer to see the packets info. Is there a way to find out the MAC of the transmitting device? and how can we find out the data rate?
Thanks,
Qamar
Part Number:TMS320F28335
Hi Sir,
My application needs to reset system by watchdog but keep as original GPIO status. However, currently the GPIO will be reset also and set to "0".
Is there anyway to achieve?
Crow
Tool/software:TI-RTOS
Hi,
Im a new using TI products and CCS. Im trying to adapt a arduino's code, which reads data from a IMU (MPU-6050), to a MSP432P401 but i have some problems. If i tried to use the exactly code to Energia or CCS when reading the data from the IMU, i just get wrong data. This is the code that i have use:
//Prueba de lectura de la IMU
//Librerias que incluímos:
#include <Wire.h> //Librería para la comunicacion con la IMU por I2C
//Declaración de variables para almacenar los datos de la IMU
int gyro_x, gyro_y, gyro_z;
long acc_x, acc_y, acc_z;
int temperatura;
#define LED RED_LED
void setup(){
Serial.begin(57600); //Inicilaización del monitor serie
Wire.begin(); //Inicializamos el I2C
setup_IMU();
Lee_IMU();
pinMode(LED,OUTPUT);
digitalWrite(LED,HIGH);
}
void loop(){
}
void setup_IMU() {
//Función que se encarga de inicializar la IMU
Wire.beginTransmission(0x68);
Wire.write(0x6B);
Wire.write(0x00);
Wire.endTransmission();
//Configuración de la IMU
Wire.beginTransmission(0x68);
Wire.write(0x1C);
Wire.write(0x10);
Wire.endTransmission();
//Configuración del giroscopio
Wire.beginTransmission(0x68);
Wire.write(0x1B);
Wire.write(0x08);
Wire.endTransmission();
}
void Lee_IMU(){
//Subrutina que se utiliza para leer los datos de la IMU
Wire.beginTransmission(0x68);
Wire.write(0x3B);
Wire.endTransmission();
Wire.requestFrom(0x68,14);
while(Wire.available() <14); //Esperamos a haber leido los 14 datos
acc_x = Wire.read()<<8 |Wire.read();
acc_y = Wire.read()<<8 |Wire.read();
acc_z = Wire.read()<<8 |Wire.read();
temperatura = Wire.read()<<8 |Wire.read();
gyro_x = Wire.read()<<8 |Wire.read();
gyro_y = Wire.read()<<8 |Wire.read();
gyro_z = Wire.read()<<8 |Wire.read();
}
This is the code from Energia, i have tried something similar with Code Composer Studio using TI RTOS but i get the same wrong data.
I'm using pins 6.5 and 6.4 to connect to SCL and SDA, respectively (using the convenient pull up resistors).
Can someone help me?
Thanks you,
Luis.
Part Number:TMS570LS1224
Interrupts and Configure Threadx to Halocgen generated code.
We are using TMS570LS1224PGE for one our safety product, and using Hlcogen(04.05.02) to generate code and IAR Embedded Workbench. We want use irqDispatch mode for interrupts. _irqDispatch function is not generated by Halcogen. Is it bug with Halcogen or what way implement _irqDispatch function. sample code will be helpful.
We are configuring the Threadx for TMS570LS1224PGE, as per Thread safety manual, _tx_thread_context_save should be called before the IRQ dispatch, to do this we need edit halcogen generated code, by doing this we might lose the safety certificate(package) bought from TI for halcogen.
Is there any way to configure without handing editing the Halcogen generated code and same time satisfying Threadx safety manual.
snap from thredx safaty manul.
Standard IRQ Interrupts
Standard IRQ interrupts are the most common. In this implementation, all IRQ interrupts are funneled through the IRQ vector at address 0x18. The IRQ interrupt processing must then figure out which interrupt(s) occurred and dispatch accordingly. The following is an example of a standard IRQ interrupt handler in ThreadX:
RSEG .text:CODE:NOROOT(2)
PUBLIC __tx_irq_handler
RSEG .text:CODE:NOROOT(2)
PUBLIC __tx_irq_processing_return
__tx_irq_handler
;
; /* Jump to context save to save system context. */
B _tx_thread_context_save
__tx_irq_processing_return
;
; /* At this point execution is still in the IRQ mode. The CPSR,
; point of interrupt, and all C scratch registers are available for
; use. Note that IRQ interrupts are still disabled at this
; point. */
;
; /* Application ISR dispatch call goes here! */
;
; /* Jump to context restore to restore system context. */
B _tx_thread_context_restore
Vectored IRQ Interrupts
Vectored IRQ interrupts are implementation specific for the ARM9 architecture. The primary advantage is that each IRQ interrupt source has a unique vector address, which is specified by the application during initialization. Hence, vectored IRQ interrupts eliminate the need for an IRQ dispatch function. This makes the interrupt handling logic simpler and more streamlined. The following is an example of a vectored IRQ interrupt handler in ThreadX:
RSEG .text:CODE:NOROOT(2)
PUBLIC __tx_example_vectored_irq_handler
__tx_example_vectored_irq_handler
;
; /* Jump to context save to save system context. */
STMDB sp!, {r0-r3} ; Save some scratch registers
MRS r0, SPSR ; Pickup saved SPSR
SUB lr, lr, #4 ; Adjust point of interrupt
STMDB sp!, {r0, r10, r12, lr} ; Store other registers
BL _tx_thread_vectored_context_save
;
; /* At this point execution is still in the IRQ mode. The CPSR,
; point of interrupt, and all C scratch registers are available for
; use. Note that IRQ interrupts are still disabled at this
; point. */
;
; /* Application ISR dispatch call goes here! */
;
; /* Jump to context restore to restore system context. */
B _tx_thread_context_restore
Part Number:AM5728
Hello,
Card: Ti AM5728 evm
Kernel: 4.4.41
I use the pipeline below to encode and save file.mp4:
gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=1110 io-mode=4 ! 'video/x-raw, \
format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)30/1' ! timeoverlay ! vpe num-input-buffers=8 ! \
queue ! ducatih264enc bitrate=4000 ! queue ! h264parse ! qtmux ! filesink location=test.mp4
In fact I want to save this in a USB hard disc not in a sd card.
Best regards :)
Faiez,
Part Number:CC3200-LAUNCHXL
hi,
i am newbie to the cc3200. my project is communicate to kaa server through LORA is possible? by using cc3200MCU.
if it is possible please give procedure
Thanks in advance.
Regads
Ashok
Part Number:SN65HVD233
We have a board with SN65HVD233 3.3V CAN transceivers. We monitor our CAN interfaces with PCAN-USB (CAN-to-USB) converter of Peak Systems.
Link : http://www.peak-system.com/PCAN-USB.199.0.html?L=1http://www.peak-system.com/PCAN-USB.199.0.html?L=1
Let me define our problem. We had a Revision 1 board where we have no CAN bus problem. SN65HVD233 and PCAN-USB communicated without any problem at 250 Kbps.
Having made several capacitor-resistor additions on completely irrelevant section of the PCB, I have Revision 2 board manufactured. And now, i have the following problem :
1) SN65HVD233 cannot communicate with PCAN-USB at 250 Kbps. Receive-RX (From PCAN-USB to SN65HVD233 ) works perfectly. Transmit-TX (From SN65HVD233 to PCAN-SUB ) doesn't work at 250 Kbps. Weirdly, while i cannot transmit data 00 to PCAN-USB, PCAN-USB somehow manages to capture some of the data AA
2) When, we reduced CAN bus speed to 10 Kbps, we managed to establish a somehow stable connection. Using this 10 Kbps, we tested other functions on the board. But this connection also crumbled all the time.
3) Other functions on my Revision 2 board, ADC, DAC, Digital IOs and EEPROM all work as intented. So, there is not a general problem on PCB.
4) I connected CAN interfaces of Revision 1 and Revision 2 boards to each other. In this scheme, my Revision 2 board send a data at 250 Kbps, Revision 1 board reads it and transmit it back after incrementing data by one. This way i made sure that SN65HVD233 Chip or my CPU on Revision 2 board is working fine.
5) During the last few days, i monitored CAN outputs of Revision 2 board on Oscilloscope. What is see is that; Identifier, data and CRC are all correct. However, when i connect PCAN-USB to the board, PCAN-USB interrupts data at one point (changing everytime) and places an error frame. That's why i can't read data from PCAN-USB.
6) Timings and signal quality is indistiguishable from Revision 1 board. However, i didn't care much attention to voltage levels as they seemed similar. I will now look into this aspect now. Before that, i wanted to consult to you :
- As i tried almost anything during the last few days, i now think problem could have something to do with 3.3V and 5V interoperability. Yes, my Revision 1 board works fine with PCAN-USB but i suspect that Revision 2 PCB manufacturing may broke down already fragile (and so far unknown) balance. One other reason that pushes me to think like this is that there is 3.3V-GND impedance difference between Revision 1 and Revision 2 boards.
- SN65HVD233 datasheet and SLLA337 (Overview of 3.3V CAN XCVRs) document states that 3.3V TI CAN transceivers are compatible with 5V CAN transceivers. But, the points i put above makes me suspect a 5V interoperability problem. ( Especially working connection between Revision 1 and Revision 2 boards). By the way, i used 3 different PCAN-USB cables, so i am sure that PCAN-USB cable is not the problem.
What are your opinions ? Do you think it may be due to different voltage systems ? Or do you have any other ideas that i am missing ?
Thanks in advance, any help is appreciated.
Ozi
Hi,
Im new working with the MSP432 and i have a problem trying to read data from a MPU-6050 via I2C. Im trying to adapt a arduino's code, which connects to the MPU-6050 and reads the data from the accelerometer and gyroscope, for use in the MSP432-P401R, but I am not able to.
I have tried using Energy and CCS, but in both cases I read erroneous data and I dont know what is wrong.
The energia's code is this:
//Prueba de lectura de la IMU
//Librerias que incluímos:
#include <Wire.h> //Librería para la comunicacion con la IMU por I2C
//Declaración de variables para almacenar los datos de la IMU
int gyro_x, gyro_y, gyro_z;
long acc_x, acc_y, acc_z;
int temperatura;
#define LED RED_LED
void setup(){
Serial.begin(57600); //Inicilaización del monitor serie
Wire.begin(); //Inicializamos el I2C
// setup_IMU();
//Lee_IMU();
//Ahora mostramos los datos leidos de
Serial.println("Datos leídos de la IMU: ");
Serial.print("acc_x = ");
Serial.println(acc_x);
Serial.print("acc_y = ");
Serial.println(acc_y);
Serial.print("acc_z = ");
Serial.println(acc_z);
Serial.print("Temperatura: ");
Serial.println(temperatura);
Serial.print("gyro_x = ");
Serial.println(gyro_x);
Serial.print("gyro_y = ");
Serial.println(gyro_y);
Serial.print("gyro_z = ");
Serial.println(gyro_z);
pinMode(LED,OUTPUT);
digitalWrite(LED,HIGH);
}
void loop(){
}
void setup_IMU() {
//Función que se encarga de inicializar la IMU
Wire.beginTransmission(0x68);
Wire.write(0x6B);
Wire.write(0x00);
Wire.endTransmission();
//Configuración de la IMU
Wire.beginTransmission(0x68);
Wire.write(0x1C);
Wire.write(0x10);
Wire.endTransmission();
//Configuración del giroscopio
Wire.beginTransmission(0x68);
Wire.write(0x1B);
Wire.write(0x08);
Wire.endTransmission();
}
void Lee_IMU(){
//Subrutina que se utiliza para leer los datos de la IMU
Wire.beginTransmission(0x68);
Wire.write(0x3B);
Wire.endTransmission();
Wire.requestFrom(0x68,14);
while(Wire.available() <14); //Esperamos a haber leido los 14 datos
acc_x = Wire.read()<<8 |Wire.read();
acc_y = Wire.read()<<8 |Wire.read();
acc_z = Wire.read()<<8 |Wire.read();
temperatura = Wire.read()<<8 |Wire.read();
gyro_x = Wire.read()<<8 |Wire.read();
gyro_y = Wire.read()<<8 |Wire.read();
gyro_z = Wire.read()<<8 |Wire.read();
}
This is exactly the same code that i've used in a arduino, and it works perfectly.
I'm using pins 6.5 and 6.4 to connect to SCL and SDA, respectively (using the convenient pull up resistors).
I hope someone can help me.
Thanks you,
Luis.
Hello,
Are there any LED driver which has the following specification.
Vin=4~6V, Vf=2.5~3.5V, ILED=80mA
I tried to simulate with Webench under the above conditions, but there was no matching device.
But I think that there is the device in TI.
Best Regards,
Ryuji
Part Number:TIDC-BLE-TO-WIFI-IOT-GATEWAY
Tool/software: Code Composer Studio
Hi!
We have designed our own board based on the TIDC-BLE_TO_WIFI_IOT_GATEWAY reference design. We have uploaded the program in the flash and the CC3200 boots up as expected. However, the program execution hangs after a CRC check of the CC26xx firmware is performed. Thus, since the CC2640 is coming straight from the factory, I expect the on board flash to be empty. Having detected the CRC mismatch the CC3200 prepare to download/update the firmware and calls getCmdResponse where it get stuck. I assume that the CC2640 will not answer as expected since it has not been programmed at all. My question is therefore if an initial programming of the CC2640 is required over the flash programmer in order to get the project going? I can't understand how it should work otherwise?
If this is the solution, where can I find a suitable hex file to use as the project only contains firmware for the CC26xx on binary format?
Best regards,
Jan Gustav
Part Number:tlk1501
I have a link consisting of 2 TLK1501s. According to the datasheet, each needs its own crystal or clk source to provide GTXCLK. This means that the uplink and downlink, or GTXCLK and RXCLK, clock domains at each end of the link will be asychronous to each other. This is problematic in my design, as the 2 clock domains are beating against each other and causing an audible beat note (the design is for digital audio transport). To eliminate this the clocks need to be locked to one another. Is there a way to derive the GTXCLK of one tlk to the RXCLK it recovers, so that the uplink and downlink clocks are locked to each other and synchronous? The TLKs are used with a fiber optic link, so there is no way to transport a separate clock between the ends.
Part Number:TMS320F2812
Tool/software: TI C/C++ Compiler
Hello all! CCS 7.1/TI v16.9.1.LTS/TMS320F2812/
I am try to compile my template:
//ModBus.h
template <class T> class Collection
{
public:
static int count; //static declaration
Collection()
{
count++;
}
};
template<class T>
int Collection<T>::count;
//ModBus.cpp
#include "ModBus.h"
Collection<float> CollectionObject;
void ModBusTables_Init(void)
{
Collection<float>::count = 6;
}
I take compile msg
I found my situation on this page
on chapter called Third Workaround: Use a Template in a Non-Template Class Declaration.
The user who uses my template should declare himself every static member for each type he wants to use in template parametr? I do not like this
How can i solve this problem? Thank you!
Part Number:RF-HDT-DVBE
Hello,
I was hoping to get some guidance on what products might be most applicable for my use case.
I am designing a system that should be able to read a transponder at a distance of about 5-10 ft attached to the side of a crate (no special environmental characteristics). Because of this, and from what I have read, a 13.56 MHz transponder would be ideal for the distance required. Somewhat arbitrarily, I chose the RF-HDT-DVBE transponder (mostly because of its size).
The reader, antenna and MCU I know less about, and was wondering if I could get a recommendation on what products would suit my transponder choice. Since all 13.56 MHz readers should work, is there an antenna that would pair well with the hardware? Likewise, is there an MCU that would be best?
Thanks in advance.
Part Number:TMS320C6670
Hello!
I am trying to find my way with C6670 interrupts. There is a tutorial at 
I would like to ask for clarification about terminology used. Consider
In states that "system interrupt" is input to CIC, and becomes "Host interrupt" at the output of CIC. Then Host interrupt is input to INTC, CorePack interrupt controller. However, take a look at the image a little above:
Here we see system interrupts get input to INTC, and became Host interrupts on it output. Aren't these figures contradicting each other? How should I identify event route and naming through its path from system event to HWI?
Thanks in advance.
Part Number:TMS320F28027
hello
I am having problems regarding interfacing of f28027 with analog signals (current, voltage). I am programming my device with Simulink by using hardware support and my processor needs input from circuit to implement closed loop control which is current and voltage. Currently, I am using hall effect current sensor acs712 and voltage divider but they are not working. I also need to know which data type is selected from unint8, single, double, unint32 for ADC pins to enable them to read the data.
Part Number:TLV320AIC3254
Team,
My customer is looking to evaluate Echo cancellation on the TMDSLCDK6748 board, and running into the issue:
I followed the link on the TI website for the echo cancellation software and it says that they no longer offer demos. Is there no way to test out echo cancellation without this software? http://dspsoundware.com/demo-request-form/
Please advise.
Thanks
Viktorija
Part Number:TPS40170
Hello,
I Designed a 5v,7A power supply from 24v input for my new project. It is giving 4.9v, but have noise issue. When I increasing the load its noise level is also increasing.
I connected 1A load and a rapberry pi at the output. Is it an acceptable level of noise.
I am attaching the schematics and output waveform, Kindly check it and suggest me a solution.
{Note: File names will give the load details.
Part Number:TIDC-CC2650STK-SENSORTAG
Tool/software: Code Composer Studio
I have been struggling with the device for the last few days and wanted to ask a question regarding it.
I need to increase the data transmission rate to preferably around 100Hz (if possible then faster) in order to get the accelerometer/movement data. I have tried to load an example onto the device but now it isn't detectable anymore and the red light is on. My steps were as follows:
- Downloaded BLE SDK, code composer studio, Flash programmer 2. Installed/saved all of them to their default path with admin privileges.
- Opened CCS and got the recommended compiler (ARM Compiler Tools 5.2.6)
- Connected CC2650 with debugger and computer.
- Imported the Sampletag example into CCS. Built first the stack then the app project.
- tried to first load the stack then the app onto the device by clicking debug. Since that didn't work I opened up flash programmer 2 and put in both hex files. Then clicked on the blue/white arrow to start the process. Now my device has the red light on and I can't even connect to it.
I did install the firmware Flash programmer 2 wanted me to install, since it got angry at me and told me it couldn't identify the device.
Could anyone help me a bit or give me some advice? Just getting to this point has been a pain. Also, I would need some progress soon...
Furthermore, how fast can I get the transmission rate just for the movement data, specifically acceleration data. I don't really need all the other sensors if disabling would make the recording of data faster.
Part Number:BQ51050B
Dear E2E community!
Currently we are designing for a customer a device requiring wireless charging and the BQ51050B seems suitable for us. Quiescent current reduction is a key for this application, therefore we have some questions about the specifications in the datasheet (SLUSB42E –JULY 2012–REVISED MARCH 2015):
1. The specified quiescent current is at VBAT=4,2V and from 0°C ≤ TJ ≤ 85°C. Can you provide us with typical values for Tj=25°C and 50°C or do you have further details e.g. diagrams for this parameter?
2. Our device relies solely on wireless charging, so it would be reasonable to connect EN2 to VBAT ("disables wired charging source and wireless power is enabled if present.") However, the internal 200k pull down would lead to a quiescent current of up to 21uA. Does the wireless charging functionality still work if EN2 ist set to GND? Are there other things to consider in this case?
Thanks a lot in advance and kind regards,
B. Hofer
Hi,
I am looking for some design help with linear regulators. One of our instrument has a miniature high voltage supply to get 0-10kV with 0-5V signal (Emco HV supply -Q series). These power supply has a typical turn on voltage around 0.7V. I am wondering, how can I get adjustable 0-5V with a linear regulator (might be LDO, don't want to use a pot) ? I have a 12V main supply. Any design ideas and product information will be really appreciated.
Thanks
Ishara