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

PROCESSOR-SDK-AM335X: PRU_ADC_onChip example in pru-software-support-package

$
0
0

Part Number: PROCESSOR-SDK-AM335X

Hi,

git.ti.com/.../PRU_ADC_onChip

With reference to the example mentioned above. I plan to modify this firmware to a continuous acquisition at 100 kHz for about 20 seconds. Transfer doesn't need to be real time by can be buffered in RAM before a file write.
Am I likely to face any issues due to any inherent limitation of RPMsg or can I proceed safely? Would EDMA be better suited to this kind of an application?

Looking forward to your inputs.

Thanks & Regards, 

Kenneth Joel


PGA900EVM: PGA970EVM

$
0
0

Part Number: PGA900EVM

Hi,

I am using PGA970EVM with usb2any. I have issue of sine wave frequency. I set 5KHz  in WFM Frequency. Then I populate waveform table and click on write. Then clicked on Generate then I am getting 1.812KHz frequency. 

I checked at PI(TP16). There also 1.812KHz. What is going wrong.

Thanks.

Somnath

TIC12400-Q1: Questions about Wetting Current Auto-Scaling

$
0
0

Part Number: TIC12400-Q1

Hi, team,

I have some questions about Wetting Current Auto-Scaling. Please look into it and give suggestion.

1. If working in Wetting Current Auto-Scaling and current is 10mA or 15mA, how to calculate IN pin average current when DET_FILTER= 00, 01, 10?

2. When working in Wetting Current Auto-Scaling, if INX is set CSI and use comparator to acquire data, how to calculate IN pin threshold voltage?

3. What does below maximum voltage mean? According to CSI current 2mA, IN pin voltage shoule be 2mA*5k=1V<2V, if CSI current is 10mA, it should be 10mA*5k=5V>1.7V.

Thanks.

Johnny

Compiler/ADS1114: ADS 1114 conversion results

$
0
0

Part Number: ADS1114

Tool/software: TI C/C++ Compiler

Hi All ,

    How to convert the measured voltage according to the conversion result.

configuration:

           1、write: 0x92 0x01,0x84,0x83

           2、write: 0x92 0x00

           3、read: 0x93 xx xx  (xx xx How to convert to voltage value?)

Schematic diagram:

LM4140: operation below zero temperature

$
0
0

Part Number: LM4140

Is there any data how LM4140 performs under 0 C? The exact temperature I'm interested in is -15C.

Thanks!

--Juha

Compiler/AWR1642: mcan

$
0
0

Part Number: AWR1642

Tool/software: TI C/C++ Compiler

Hi,

In awr1642 canfd where can i create different message objects in code . 

I sent messages with different Message ids. it is sending. is it priority based on id or object number.

if it is on object number in canfd where can i set object numbers . please guide me.

Thanks and regards, 

K Subrahmaniam

AM3352: Doesn't get Link with Marvell Phy 88E1512 on am335x

$
0
0

Part Number: AM3352

Hi All,

I have a custom board based on Ti's am335x and have Marvell Phy 88E1512 installed on it. The problem I am facing is, if I use Marvell drivers in my QT application to get some lower layer values, the Ethernet Link goes down and I need no power cycle (reboot doesn't work) the device to get the Ethernet Link back.
I tried to debug the issue and found that while accessing register 22 (Page Address Register)  in Marvell Phy, link goes down and power cycle is the only way to get the link up.
If I do not change the register values from the QT code, Ethernet works fine.
I have tried to reset the Phy chip from Marvell drivers, but it didn't help.

Can someone please help me to solve the issue?

Thanks,

TPS65982: Programming the TPS65982

$
0
0

Part Number: TPS65982

Hi team, 

I am working on bringing up a TPS65982 and configure it to sink 15V. However, the controller's I2C lines are routed through an FPGA. Basic idea was to configure the FPGA as I2C master and then configure the controller through the FPGA. But, there is a defect in the FPGA circuit, which renders the FPGA unprogrammable

Question:

1. Can you please help us that how can we program this controller other than using the I2C pins of the controller?

2. Correct me here if I am wrong, that the initial configuration is loaded from the SPI flash. So is it possible we program the flash memory instead?

Best

Sid


LAUNCHXL-CC1312R1: Not precise period time with Clock, GPTimer and PWM.

$
0
0

Part Number: LAUNCHXL-CC1312R1

Device: CC1312R rev. D with SDK 3.20 and CCS 9.1.0.

I'm trying to make program which toggle pin at given time interval. I was trying to do this with Clock, GPTimer and PWM and here are my results:

  • Clock set to periodic mode with value 25, tickPeriod was10, oscillator gave me range (253, 286) usec:
     


  • GPTimer was set to 32 bit and periodic, interrupt time to freq.lo / 1000000 * 250 - 1, where freq.lo was set by BIOS_getCpuFreq, so it also should be 250 usec (but was ~248 usec). Also I tried to read value of single period and multiple as well, but difference only increased. Results on oscillator:


  • PWN with period set to 500 and duty to 250, so it also should generate signal with 250 usec intervals, but like with GPTimer it was ~248 usec:

I'm trying to figure out why it's shorter than 250 usec? I was thinking it will be same or rather longer. Is something that I misunderstand or doing something wrong? And what can I do to make my program more precise?

LP8863-Q1: LED Output String Configuration

$
0
0

Part Number: LP8863-Q1

Hi TI-team

 

LP8863-Q1 has LED Output String Configuration.

What happens with settings other than Table.5 in the data sheet ?

To be exact that the following settings.

LED0, LED1, LED2, and LED3 are connect.

LED5 and LED6 tied to GND.

 

Best Regards,

Koji Hayashi

CC3100: Ping is not consistent on cc3100

$
0
0

Part Number: CC3100

Hi All,

I have a custom board based on AM335x processor and CC3100 is attached with processor to get WiFi connectivity, I am using CC3100 SDK for WiFi connections and communication.
My problem is, when I try to ping Google from my board, I get multiple ping failures, is there any way to make it consistent?  I think google is the most reliable server and with cc3100 I failed to ping the same :(

Please help me to resolve the same.

Thanks,

CCS/IWR1642BOOST: How to do hard coded configuration for traffic monitoring ?

$
0
0

Part Number: IWR1642BOOST

Tool/software: Code Composer Studio

I have reffered https://e2e.ti.com/support/sensors/f/1023/t/795980 this link to make traffic monitoring so. But i could not find the previous question in which TI provided cli.c file and process for this. Would you provide that file and tell me how to do so? 

Compiler/TMS320C6747: Examples code for gpio toggel in non-RTOS

$
0
0

Part Number: TMS320C6747

Tool/software: TI C/C++ Compiler

Hi,

I am new to TMS320C6747 can anyone help me out where can I found the example code for this part number in non-RTOS examples(general examples). If any links please provide for downloading the required drivers.

Thanks in advance,

With regards,

Sivakrishna

INA193A-Q1: Output Voltage

$
0
0

Part Number: INA193A-Q1

Hi,

As per the output voltage formula in the data sheet , the output voltage should be zero volts  when Rs=open & Is  =0 Amps, for the same scenario when the model is simulated in TINA TI, output  is saturated to supply voltage  of the IC. Please find the below attached simulated file. Could you please help me to know why its not matching with theoretical value.

Regards,

Kishore

CCS/LAUNCHXL-CC1310: UART Interrupt unreliable during free run, but not debug mode

$
0
0

Part Number: LAUNCHXL-CC1310

Tool/software: Code Composer Studio

I have a UART driverlib set up that works fine throughout the entirety of my code both in debug mode and free run (Just loaded onto a chip using Flash Programmer 2). However, I am also using the test commands during my code and use:

RF_runCmd(rfHandle, (RF_Op*) &RF_cmdTxTest, RF_PriorityNormal, NULL, RF_EventTxEntryDone);


I then end up in the WFI and wait for a message on the UART to cancel this. I have no problems with this using debug mode, but if free running the UART interrupt only fires after receiving 3 or more messages (Of size 2 or greater (4 messages if size 1) (I have tried sizes of up to 12 bytes with identical results)) within a second.

I have tried setting the UART interrupt to priority level 0 in case there was some background interrupt I cannot see which causes this problem by constantly overriding the UART interrupt.

Here is the initial set up for my UART:

uart_private.handle = UART0_BASE;

PRCMPowerDomainOn(PRCM_DOMAIN_SERIAL);

while (PRCMPowerDomainStatus(PRCM_DOMAIN_SERIAL) != PRCM_DOMAIN_POWER_ON)
    ;

PRCMPeripheralRunEnable(PRCM_PERIPH_UART0);
PRCMLoadSet();
while (!PRCMLoadGet())
    ;

IOCPinTypeUart(uart_private.handle, MODULE_UART_RX, MODULE_UART_TX, MODULE_UART_CTS, MODULE_UART_RTS);

UARTDisable(uart_private.handle);
while (UARTBusy(uart_private.handle))
    ;

uint32_t config = UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE;
UARTConfigSetExpClk(uart_private.handle, SysCtrlClockGet(), 115200, config);

UARTFIFOLevelSet(uart_private.handle, UART_FIFO_TX1_8, UART_FIFO_RX1_8);

UARTEnable(uart_private.handle);

IntPrioritySet(INT_UART0_COMB, INT_PRI_LEVEL0);
UARTIntRegister(uart_private.handle, &UART_Read);
    
UARTIntEnable(uart_private.handle, UART_INT_RX);
while (UARTBusy(uart_private.handle))
   ;

Thank you in advance for any help you might be able to give


EK-TM4C129EXL: EK-TM4C129EXL

$
0
0

Part Number: EK-TM4C129EXL

hi i am using fm flash on microsoft windows In the Configuration tap, use the Quick Set control to select “TM4C129EXL LaunchPad”. but in flash players not showing this board..so which board i select. 

MSP430FR2433: UartMonitor: view and change variables via a serial interface (UART) during the program runtime in CCS debug mode

$
0
0

Part Number: MSP430FR2433

This thread shows the possibility to view and change variables via a serial interface (UART) during the program runtime in CCS debug mode.

Some time ago, I already made the ProgramModelUart aware and asked for a possible change in the CCS. After some research I noticed that the backchannel Uart does not have the required transfer speed on various launchpads. In detail: If something is sent via Uart from the MSP430 of the Launchpad, a significant delay of the transmission in the debug-mode is to be determined. This led to the described malfunction in this thread: e2e.ti.com/.../700089

With an external serial to USB adapter, however, the transmission speed is adequate.

The described ProgramModelUart should be very interesting for many users / developers on the MSP430 platform, since similar to, for example C2000 controllers, it is possible to view and change variables in the debug mode during runtime. Ideal, for example, for setting controller values.

For this I have taken the subject again and put a small example based on a MSP430FR2433 Launchpads on Github.

I'm hoping to show some people a good debug option for MSP430 controllers.

Regards,

Benjamin.

PS: By the way, this function can of course also be transferred to a C2000 controller ...

CCS/LAUNCHXL-F28069M: area underneath the curve

$
0
0

Part Number: LAUNCHXL-F28069M

Tool/software: Code Composer Studio

Hello,

I am trying to solve motorware lab 13b, which is position sensing lab. Now the lab is working perfectly. I have generate a speed sample graph. but now i want to calculate the revolution moved by the rotor from the graph by calculating the area underneath the curve as shown in figure. but problem is x axis is in samples. how can i get time information from the sample so that i can calculate the area underneath?

irtifa

TPS2121: Inrush and CSS

$
0
0

Part Number: TPS2121

Dear Arthur,

one question if we want that inrush be 500mA and the CL is 280uF (Vin = 5V9

We get the calculation SR_ON = 1785V/s.

in your Table 1 in DS you only have for 780V/s = 100nF

How can i calculate the CSS for SR=1785V/s ? 

Best Regards,

D. 

CCS/TMS570LC4357: How to generate CRC32 using Hardware or Software?

$
0
0

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Dear support teams,

I'm new to TMS570LC4357, I'm working on boot-loader. boot-loader is working fine. i need to validate the entire bin file using CRC32. I have the following quires,

  1. How to configure the CCS tool for generate the CRC32 of my bin file. (I think, i need to configure the pre-compiler step in CCS tool, Please explain the steps)
  2. When firmware flash successfully into TMS570LC4357 using boot-loader, After i need to generate the CRC32 using Software or hardware for entire bin file and validate using received CRC32.

Note : TMS570LC4357 have CRC module, But i can't find the example code in HalCoGen example directory.

If you have any example code, please provide or guide me, for this.

Thanks in advance.

-Arun

Viewing all 262198 articles
Browse latest View live
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>