Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

BQ24250: Unintended register initialization after setting CE pin to Hi level

$
0
0

Part Number:BQ24250

We applied bq24250 for our product.
We are evaluating it and found unintended behavior of bq24250.

Our system switches battery charging enable / disable by setting CE pin of bq24250 at an arbitrary timing.
We found registers in bq24250 were unintentionally initialized after setting CE pin to Hi level.

It was unintended behavior for us because those resisters were set only one time at the system startup.

Is it the hidden spec of bq24250?
If so, we'd like to know other events that will cause register initialization.

Best regards,


IWR1443BOOST: How to modify iwr1443 program memory TCMA size?

$
0
0

Part Number:IWR1443BOOST

In the iwr1443 demo program, the default configuration TCMA (R4F Program RAM) is 128K, the TCMB (R4F Data RAM) is 64K, and the DSS_L3 (Radar Data Memory) is 256K as follows: In the r4f_linker.cmd file,

MEMORY{                                                                                         
VECTORS (X) :        origin=0x00000000 length=0x00000100
PROG_RAM (RX) : origin=0x00000100 length=0x0001FF00
DATA_RAM (RW) : origin=0x08000000 length=0x00010000
L3_RAM (RW) :      origin=0x51020000 length=0x00040000
HWA_RAM (RW) : origin=0x52030000 length=0x00010000
}                                                                                                          

Now, our program code size exceeds 128K, we tried the following methods will TCMA (R4F Program RAM) extended to 256K, are not successful, the steps are as follows:

First, in the r4f_linker.cmd file, "PROG_RAM (RX): origin = 0x0000000100 length = 0x0001FF00" is changed to: "PROG_RAM (RX): origin = 0x00000100 length = 0x0003FF00", compile and download, can not run.

Then, add the following code to the SOC_deviceInit() function:
ptrSOCDriverMCB->ptrTopRCMRegs->DSSMEMBANKEN=ptrSOCDriverMCB->ptrTopRCMRegs->DSSMEMBANKEN&0xFFFFFFFC; // Bank0, bank1 is disabled in DSS
ptrSOCDriverMCB->ptrTopRCMRegs->TCMAMEMBANK_EN=ptrSOCDriverMCB->ptrTopRCMRegs->TCMAMEMBANK_EN|0x3;         // Bank0, bank1 is disabled in TCMA
compile and download, can not run.

Finally, in the SOC_mpu_config () function, the region 2, TCMA IRAM code fragment,
_mpuSetRegionSizeRegister_ (mpuREGION_ENABLE | MPU_126_KB) is modified to _mpuSetRegionSizeRegister_ (mpuREGION_ENABLE | MPU_256_KB); compile download and can not run.

What should we do to achieve TCMA (R4F Program RAM) extended to 256K, or other size?

Regards,
line

CC2640R2F: Faster Off-Chip OAD using BLE 5 High Throughput Feature?

$
0
0

Part Number:CC2640R2F

Hi,

    I would just like to know if it is possible to implement Faster OAD using BLE 5 High Throughput Feature? When I OAD App+Stack to CC2640R2F using Iphone 7, the download time is 7 minutes +. If can utilize the BLE 5 High Throughput Feature then maybe can shorten the download time.

- kel

EK-TM4C123GXL: USB transmission rate too low

$
0
0

Part Number:EK-TM4C123GXL

Hi all,

we developed an osciloscope for students of our university to work with. The first version is running and students are able to measure signals with a sample rate of up to 500kHz. The osciloscope is communicating via USB with a host application running on their PCs/Laptops. All the measured data is sent over a Bulk Endpoint to the Host application.

The next upgrade should deliver a better samplerate of the osciloscope, which means to increase the speed of the USB-transmission. Right now we are reaching a transmission rate of 0,5 MByte/s (as we are only using the leading 8 bits of the ADC peripheral with a sample rate of 500kHz). We achieve to use the full speed of the ADC module, which is at a max. sample rate of 1MHz.

So far we tested the transmission rate of the USB-Bulk-Example. The transmission rate reached with the USB-Bulk-Example is at about 0,8 MByte/s. The tranmission rates reached with the osciloscope and w/in the example code are far away from the USB 2.0 rate (60MByte/s) and also the USB 1.0 rate (1.5 MByte/s).  

Referring to the datasheet of the TM4C MCU it should be able to fulfill USB 2.0 standard, isn't that true?

In this thread I read about double-packet buffering (USB-Speed Thread) and followed Tsuneo Chinzeis advice/code snippet. Unfortunately it did not help to increase the transmission rate.

I've also tested the different usblib functions USBBufferWrite and USBBufferDataWritten. As expected the USBBufferDataWritten function was way faster, than the USBBufferWrite function. The next step would be to implement a USB-DMA-channel and test how this is increasing the USB-speed. But as we are so far below the possible max. transmission rate I am afraid, that this would not help as much as expected.

We'd like to achieve a transmission rate as high as possible, but at least at about 1 MByte/s.

Does anyone have an idea on how to increase the USB-speed?

Many thanks in advance,

Felix

CCS/CC2640R2F: Where can I download the security_examples_central project for CC2640R2F?

$
0
0

Part Number:CC2640R2F

Tool/software: Code Composer Studio

     The security_examples_central project is available from the TI SimpleLink GitHub page in TI SimpleLink GitHub Code Examples , as  picture 1 shows , which is the screenshot of page 105 in 《CC2640CC2650 Bluetooth low energy Software Developer’s Guide》.

    When I click the download link in page 105 as picture 1 shows , it jumps to page 12 as picture 2 shows . Continue to chick the download link as picture 2 shows, my browser jumps to the github as picture 3 shows .

    After I downloading the zip from github , however , I cannot find the security_examples_central project.

    Where can I download the security_examples_central project for CC2640R2F?


Attachments:

1、ble_examples-master.zip

2、《CC2640CC2650 Bluetooth low energy Software Developer’s Guide.pdf》

 

picture 1

 


picture 2

 


picture 3(Please visit the site to view this file)

 

(Please visit the site to view this file)

AWR1642BOOST: The angle of "X-Y Scatter Plot" of Demo Visualizer

$
0
0

Part Number:AWR1642BOOST

Hello,

Please let me know the angle drawn in the following figure.
The angle information is used to evaluate AWR1642BOOST.
I guess the angle is 27.5 degree.

Best Regards,

Nomo

PGA400-Q1: PGA400 programmer's user  guide and toolchain?

$
0
0

Part Number:PGA400-Q1

Good day everyone,
 
Where can i find PGA400 programmer's user  guide and toolchain?
TI does not have Tools and examples for PGA400 and does not publish PGA400.H files?
 
Thanks,
Andrew.

Compiler: CC3200 file System

$
0
0

Tool/software: TI C/C++ Compiler

Hi

    I have some questions about filesystem.

    File system must use by these method:create--close --open ---close --delete?

    I want to use then  these method: create ---close --open --close----power down---poweron ---del---create new file ---close --open ---close----and soon

   but i found i can't del the file whitch without clode bofoer powerdown 

   What can I do about it?

amelia

    


AWR1642BOOST: The calibration for temperature on AWR1642BOOST

$
0
0

Part Number:AWR1642BOOST

Hello,

Is the calibration for temperature executed on AWR1642BOOST running mmWave Demo?
It seems that the calibration can be executed with on board crystal.
However, I can't understand whether the calibration is executed.

Best Regards,

Nomo

CCS/MSP430G2744: PROBLEMS WITH C MIXED ASSEMBLY FUNCTION

$
0
0

Part Number:MSP430G2744

Tool/software: Code Composer Studio

Goodmorning Everybody!

I have some debugging troubles with the code I wrote, but first of all let me explain a bit more about my program.

I want my little keyboard with UP and DOWN buttons to change a value on the display by incrementing or decrementing a start point value and, in the ISR of the TIMER A, I need to call my .asm function every 10ms so that I would be able to know if the general button (that is my variable TASTO) is or not pressed by the user.

After reading that value I call the .c function "button_pushed" for doing some different operations in the case the button pushed is UP or DOWN button.

I have a .c header file shared with an .asm file: here there are the definitions of all the variables  and functions I want to use in the .asm file.

In this header file I declared the variable TASTO as follows:

extern unsigned char TASTO;

In the .asm file I wrote something like this:

.bss TASTO, 1

.global TASTO

and until this point everything looks fantastic: infact when I compile my code I haven't any errors and warnings.

But unfortunately I can't tell the same for the debug step because my program doesn't do what I want (as described above).

It seems like the linker file doesn't match the variable TASTO decleared in .c header file with the variable that I'm using in the .asm function.

Is it possible? Have I write something wrong?

Which is the easiest way to declare a variable in C header file and use it in .asm file, sharing that header file?

(The files mantioned before are attached to this post).

I hope someone could really help me to find out a solution so that I can proceed with my work.

Thank You very much for the attention,

Kind Regards,

Maria Angela

(Please visit the site to view this file)

TM4C1290NCPDT: Bit 1 Error during CAN communication

$
0
0

Part Number:TM4C1290NCPDT

Hi,

My customer is using TM4C1290NCPDT and CAN module.
They are seeing a lot of “Bit 1 Error” during communication.

According to Data sheet, “Bit 1 Error” means data conflict on the bus.
They monitor data lines and found TX and RX happen same time.

Blue: CAN RX
Purple: CAN TX


 
I thought CAN module handles receive/transmit based on each priority and bus usage.
(i.e. even software triggers both RX and TX, these requests will be treated exclusively.)
Is this not true ? Or customer missed some configurations ?

Thanks and regards,

KoT

Need help for choosen right part of VOIP solution

$
0
0

Hi everyone
I have a project, similar as VOIP gateway. Main purpose is transmit/receive void data from GSM module (through PCM channel of its) to motherboard
Im intend to use SOC/DSP/MCU have at least ( 5/6 UART,  4 I2S/PCM port , 1 USB) to make a pre-processing between GSM module and motherboard 
This SOC/DSP/MCU will get voice data from GSM module, convert (or maybe stored if needed) and send to motherboard. Otherwise, this SOC/MCU/DSP( which Im looking) can get voice data from motherboard and transfer to GSM module (via PCM/I2S ports)
With requirement, all module GSM can work at same time when have a calling come in/out for tranfer voice data to this SOC/DSP/MCU ( processing and send back to mother board)

I draw a functions block for this project.
Please help me to choose right solutions ( I looked on TI but some DSP have more options than my requirement, sothat i want to choose a right parts for lower cost)
Thanks

RTOS/CC2640R2F: Mailbox_create No return

$
0
0

Part Number:CC2640R2F

Tool/software:TI-RTOS

I'm porting from CC2640 to CC2640R2F.


IDE : IAR for ARM v7.80.3.12146

SimpleLink_CC2640R2_SDK : 1_35_00_33

SYS/BIOS : 6.50.00.10

Configured as "cc2640r2lp_app - FlashROM_StackLibrary"

I call Mailbox_create() before BIOS_start() in main loop like below.

#include <ti/sysbios/knl/Mailbox.h>
#include <ti/sysbios/knl/Event.h>

Event_Handle myEvent;
Mailbox_Handle g_App_UserIFMbox;

int main()
{
  ...

  /* Mainbox */
  Mailbox_Params mboxParams;
  Error_Block eb;
  Error_init(&eb);
  myEvent = Event_create(NULL, &eb);
  if (myEvent == NULL) {
    // Event create failed
    return 0;
  }
  Mailbox_Params_init(&mboxParams);
  mboxParams.readerEvent = myEvent;
  g_App_UserIFMbox = Mailbox_create(sizeof(App_UserIFMsg), 1, &mboxParams, &eb);
  if (g_App_UserIFMbox == NULL) {
    // Mailbox create failed
    return 0;
  }
  
  /* enable interrupts and start SYS/BIOS */
  BIOS_start();

  return 0;
}

These code was fine but on CC2640(SDK 2.13.00.06) but it is no return on CC2640R2.

I have checked the value of mboxParams.

And I have add "var Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox');" in .cfg.

Should I do some modifications for new stack?

DP83640: How to align the phase of the clock output in the sync ethernet mode?

$
0
0

Part Number:DP83640

Conditions: two 83640, connect by the cable. I make one of them sync ethernet mode by setting the SYNC_ENET_EN bit of the PHYCR2. 

the two clock output(GPIO 12) locked, but the phase is random when power up. I didn't run the PTP stack.

I notice that file AN-1729 3.2, about Phase Alignment. 

I checked EPL\protocol\PTP\ptpControl.c line 272 to 312, which Rob told me: The function starts with the comment // Phase align CLKOUT if requested

That function appears to implement the phase alignment procedure detailed in AN-1729. 

The question is :before one step adjustment to the 1588 clock time, everything goes right. I get the event timestamps, checked PTP_ESTS, Calculate the phase error. 

But the one step adjustment is not working(I compare the delay between the two clock output by oscilloscope)……

I'm wondering whether I can use phase alignment in sync ethernet mode. I think 83640 should support.

So the reason is I didn't run the 1588 stack?  But I think I have already got the event timestamps , and  just add phase error to the clock it should work. I don;t think it need the stack running, is it right? 

 Or as long as the 1588 clock running, it needs the stack. I'm a little confused……

LAUNCHXL-F28379D: Ground connections on LAUNCHXL-F28379D

$
0
0

Part Number:LAUNCHXL-F28379D

Hi,

I am using the LAUNCHXL-F28379D as an add-on board on my designed PCB. The LAUNCHXL-F28379D has four ground connections on its header pins. These are all internally connected on the LAUNCHXL-F28379D. Similar for the 3.3V and 5V supplies.

I was going to only connect one of the four pins on the headers to ground to prevent any circulating currents and noise issues between the LAUNCHXL-F28379D board and my PCB.

Is this a good idea?

Should these pins all be connected to ground externally to the development board?

Thanks and regards

Dan


EM1402EVM: When is the EN pin of emb1428 going high?

$
0
0

Part Number:EM1402EVM

Hi,

1) In which case ,the EN pin of EMB1428 is going high? I never measure the EN pin goes high even if the data return from EMB1428 is 0xA1.

2)When the MCU is sending 0x00 to EMB1428 ,the code return from EMB1428  is what? May 0xb0 be  right?

best regards,

TMS320F28377D: The sdfm module Ierror when start the dma access

$
0
0

Part Number:TMS320F28377D

hi,everybody

In my program I set the sdfm modle to sample the current of motor. when i start the dma access to start transfer the data from spidatabuff to emif2. The SDFM module will occurs error Sdfm2Regs.SDIFLG.bit.IFH1. But if i didn't start the DMA transfer this error will not happen. 

As the datasheet description,

In my program the dma access is spirxbuff and the emif interface, the cpu access is sdfm databuff, is there conflict between DMA and CPU? 

if there is the confliction, the conflict will lead to the sdfm module error?

if there is no confliction, why the sdfm module error will happened?

thank you

regards 

shook

DRV10983Q1EVM: Trouble at higher Duty cycles

$
0
0

Part Number:DRV10983Q1EVM

Hi, 

     I'm evaluating DRV10983Q1-EVM to spin a  24V 3-phase BLDC motor(model No: 57BLF03 - hyperlinked) with 8 poles. Following are key parameters I set in the GUI of the EVM software:

  • Phase resistance - 174.6 mOhm.  This value is half of the resistance between U and V phase of the BLDC I'm using.
  • Phase to Phase Kt - 73.6 mV/Hz . I calculated this value using the formula : Motor velocity constant = (VCC/Maximum motor speed(no load)) . VCC= 24V , Maximum motor speed = Max. RPM/ (60/No. of pole pairs) = 5000/(60/4) = 333.33. Now Kt = 24/333.33 = 72 mV/Hz. Closest value is 73.6 in the GUI of 10983Q1EVM

Following are the screenshots of the DRV10983Q1 EVM GUI 

  

These are the screenshots when I'm trying to run the motor with PWM at 30% dutycycle from my Beaglebone. As you can see in the Display tab that speed CMD buffer is not able to reach Speed Command (if my understanding is correct, motor is running at 30% duty cycle when the Speed cmd buffer is at 30%.) If I increase my PWM dutycycle to 40 or 50 or 100 , Speed cmd buffer doesn't change and the motor speed remains unchanged. When I increase the software current limit to 3.0A or disable it and start the motor, it stops after few degrees of rotation due to the Fault code- 0 i.e current limit whereas the maximum current drawn from the power supply never exceeds 0.3A.  The current limit is set to 2A on the power supply which the motor never crossed. 

Below is an image of the oscilloscope and power supply. The frequency out from the FG test point on the 10983Q1EVM is 7.088Hz(in yellow) and the input pwm frequency in Blue is 2000Hz and duty cycle is 30%. 

Kindly suggest what needs to be done to get the motor running at higher duty cycles i.e higher RPMs. Ultimately what I want to do is run PID loops on my BLDC motor with quadrature encoder which will require the motor to operate at different duty cycles ranging from(10-75) and requires fast response to accelerate the motor.

 

CCS/TMS320F28379D: Reset Mechanism of Delfino Launchpad

$
0
0

Part Number:TMS320F28379D

Tool/software: Code Composer Studio

Hi,

I recently bought a TMS320F28379D Delfino Launchpad.Started with example codes and lab manual.

I'm able to load and debug my code into the launchpad in CCS.

As soon as I reset my launchpad my code is not working. I tried changing boot modes of the launchpad through CCS but I'm unable to get my code running after reset.

My code is supposed to run even after reset, but that's not happening.

TPS74201: Requirement of input supply current details of TPS74201RGWR and LP3878MR-ADJ/NOPB

$
0
0

Part Number:TPS74201

Hi,

I need to know the  input supply current for regulator TPS74201RGWR and LP3878MR-ADJ/NOPB and LP3878MR-ADJ/NOPB.

In data sheet it is not specified.

In order to do the board power calculation I need to know these values.

For TPS74201RGWR input supply voltage is 1.8V and enabled through 3.3V .

For LP3878MR-ADJ/NOPB the input supply voltage is 3.3V

Please let me know the input consumed current by both the devices.

Regards,

Nibin

Viewing all 262198 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>