Quantcast
Viewing all 262198 articles
Browse latest View live

CCS: RaspberryPi code corresponding to sapislave.c of MSP432P401R

Tool/software: Code Composer Studio

I wanted to do spi communication between Raspberry Pi and MSP432,

so I wrote the code for Raspberry Pi with reference to "http://dev.ti.com/tirex/explore/node?node=AGUJ2FnNnpbgXwL6N6ofww__z-lQYNj__LATEST".

import spidev
import RPi.GPIO as GPIO
from time import sleep

MASTER_READY_PIN = 18
SLAVE_READY_PIN = 16    

# inititalize the ports / pins
GPIO.setmode(GPIO.BOARD)
GPIO.setup(SLAVE_READY_PIN, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)   
GPIO.setup(MASTER_READY_PIN, GPIO.OUT)

    # Handshake with the MCU
while (GPIO.input(SLAVE_READY_PIN) == GPIO.LOW):
        sleep(0.1)            
GPIO.output(MASTER_READY_PIN, GPIO.HIGH)

spi = spidev.SpiDev()
spi.open(0, 0)
spi.max_speed_hz = 1000
spi.bits_per_word = 8
spi.mode = 0b01

GPIO.output(MASTER_READY_PIN, GPIO.LOW)

    # Begin communication
MAX_LOOP = 10;
try:
        while MAX_LOOP != 0:
                if (GPIO.input(SLAVE_READY_PIN) is GPIO.LOW):
                        read = bytes(spi.readbytes(30))
                        print(''.join(read.decode()))
                        MAX_LOOP = MAX_LOOP - 1
                        while (GPIO.input(SLAVE_READY_PIN)==GPIO.LOW):
                            sleep(0.1)                            
        GPIO.output(MASTER_READY_PIN, GPIO.LOW)
                        
except KeyboardInterrupt:
            GPIO.output(MASTER_READY_PIN, GPIO.LOW)




But spislave.c
sem_wait (& slaveSem);
It becomes an infinite loop.
Please let me know if you know anything.

Thank you.


BQ40Z50EVM-561: FW update to bq40z50-R3

Part Number: BQ40Z50EVM-561

My customer has started evaluation by following condition.

BQ40Z50EVM-561 + EV2400

executed condition:

1.  Install BatteryManagementStudio-1.3.86

2. Connect between EV2400 PORT1 SMB and BQ40z50EVM-561

3. Connect between PC and  EV2400(USB PORT) thru USB cable.

4.  Once BatteryManagementStudio started , then [Auto Detected Device : None] has been popped up.

5. We ignored this alart then we selected '4500_0_12-bq40z50.bqz' and then We got attached pop-up picture. So Cancelled to proceed.

 

Questions:

1. Could you please review what my customer did in above procedure ? do you find any errors?

2. We should move to Auto detected device mode? if possible, kindly share how to move it?

3. if auto detected device mode is not needed, default bq-studio selection window show

   4500_0_12-bq40z50.bqz,  4500_1_06-bq40z50R1.bqz ,  4500_2_11-bq40z50R2.bqz4.
   and then We could not find R3 FW. which one should my customer select?

5. Looks TI already release new EV2400 FW. Should we update EV2400 FW first?

Thanks for your strong support.

Image may be NSFW.
Clik here to view.

 

TPS53647: TPS53647 schematic review request

Part Number: TPS53647

Hi team,

My customer would like to use our TPS53647 for their main power rail.

Could you kindly help to review it for them? Please refer the below link for schematic.

 Image may be NSFW.
Clik here to view.

Thanks.

FDC2214: Trace Length for LC Tank & Enveronmental Sensor

Part Number: FDC2214

Dear, Sir.

My customer is cobsidering to aplly FDC2214 for their system.

Now, they are asking about the trance length from FDC2214 input to LC tank & enveronmental sensor.

1. I suppose the trance length for both LC tank & enveronmental sensor should be short as well as

    possible to avoild the parasitic inductance. I wonder my understanding is corrent?

2. Regarding MCU, It is not needed to locate closing to FDC2214 because serial I/F(I2C) is used.

    I wonder my understanding is correct?

Image may be NSFW.
Clik here to view.

Best Regards,

H. Sakai

TPS62826: OVP protection

Part Number: TPS62826

Hello,

From TPS62826 block diagram, it doesn't have OVP for input voltage pin. The customer wants to confirm TPS62826 does NOT have OVP feature.

VIN is protected by eFuse but input voltage may increase when over voltage event happens. The customer don't want to stop operation by input voltage increase.

Best regards,

Toshihiro Watanabe

TPS92640: Tina-TI simulation model

Part Number: TPS92640

Hi,

In a design I am making at the moment I want to include the TPS92640.

Before using it I want to simulate the circuit in TINA, is there a simulation model of this part?

With kind regards,

Jeroen Gollenbeek

IWR1443: 2nd bootloader support on IWR1443

Part Number: IWR1443

Hello team,

Customer is using IWR1443 for their application. They are asking to provide a reference code for IWR1443 2nd bootloader similiar to AWR1642/1843/6843 device.

Can you please send me one? Please let me know if you need more customer details.

Thanks.

Wesley

CCS/LAUNCHXL-F28069M: Applicaton question about the instaspin-motion lab12a

Part Number: LAUNCHXL-F28069M

Tool/software: Code Composer Studio

Hello everyone.

I use the lab12a to identify the inertia of my motor with 1000 line Inc encoder.

Because I want to use the inertia parameter to calculate the speed pid according to lab05b.

but I find that the inertia value  unit  identify by lab12a  is A / Krpm/s.

the inertia SI unit is Kg * m^2.

1.So how to change the inertia value from A / Krpm/s to the SI unit  Kg * m^2.

2.I found that the speed filter pole is 100 rad/s in the lab05b guide,but I have not found it in lab05b program.

So I want to know all the speed filter pole default value is 100rad/s? and where I can find it in lab05b program?

Image may be NSFW.
Clik here to view.

thanks.

best regards.


LMX2594: Inappropriate frequencies are sometimes generated

Part Number: LMX2594

Hi,

I am currently starting up a PCB equipped with LMX 2594.

Even though I set the appropriate values in the registers, I sometimes have a problem that I can't get the expected frequency.

If the problem occurs every time, I can conclude that the value I set is wrong, but it only happens occasionally.

I checked the register settings related to frequency and output by reading them back when there was a strange frequency, but I couldn't see any difference from the settings made by TICSPro.

In most cases, the output is normal, so I don't think there is any problem with the setting.

Is it possible that the expected output is not obtained sometimes even though there is no problem in the set value?

I have no idea what's going on. If you have any ideas, please let me know.

DRA76P: no data output on McASP

Part Number: DRA76P

Hello,

I'm trying to transmit I2S data through McASP1 AXR5 from IPU1 core on our custom board, below is the environment we're using:

bios_6_46_04_53

edma3_lld_02_12_00_20

pdk_01_10_00_08(I copied the mcasp driver code from bsp-01.02.03.04 since there is no mcasp driver code in pdk_01_10_00_08)

The ACLKX, AFSX and ACHLKX output as expected, but there is not any data output on AXR5. The register dump of McASP1: (Please visit the site to view this file)

The EDMA3 seems work properly too: (Please visit the site to view this file)

Do I miss something? Can anyone provide some tips on how to investigate this issue?

CC2541: How to design ble keyboard for MacOS and iOS?

Part Number: CC2541

Dear sir:

I using cc2541 to design ble keyboard (uart -> ble keyboard),reference "HIDEmuKbd" of sample project.

On Android is ok ,but on ipad ,iphonehas some problem,
example:
1)The virtual keyboard of ipad that can't to hide after link ble keyboard.
2)The iphone can't to type any character after link ble keyboard.

Does I missing some Identification code or service id of iOS or MacOS ?

TPS7A8300EVM-209: What is the difference of TPS7A8300EVM-209 & 579?

Part Number: TPS7A8300EVM-209

Hello,

What is the difference of TPS7A8300EVM-209 & 579?
Comparing both documents, it looks to have a package difference and some crupper layer.
Is there any other critical difference or background?

Thanks in advance.
S.Sawamoto

CCS/TMDXIDK5718: I want to enable semihosting

Part Number: TMDXIDK5718

Tool/software: Code Composer Studio

Hello.

I use "TMDXIDK5718" to create a boot program for MPU (A15).
I want to enable semihosting to use the printf function.
How can I enable semihosting?

In my current project, when I write "printf("Hello World!\n");" in the main function, nothing is displayed on the console.
I think semihosting is disabled.
(I don't know the details because the project was created by someone else)

Thank you.

PGA460: Core clock on the Test pin varies

Part Number: PGA460

Hi

I’m trying to synchronize two PGA460 to achieve mm precision between the two PGA460. The TOF mesurement is not the same for both PGA when the object is placed at the same distance to each transducer. We are using the core signal frequency from the PGA on the test pin to compensate for this. This has led to another issue where the core frequency varies slightly, however this is enough to make our systems unstable. We do not understand why the core clock of the PGA460 varies.

Below you have a graph of the mesurement we have of the core signal, each sample is a falling edge count from 6ms. The data is link as well.

Is this something you have seen before and do you know how we can compensate for this?

Image may be NSFW.
Clik here to view.

Best ragards 

Jeppe

(Please visit the site to view this file)

CCS/MSP432P401R: MSP432P401R

Part Number: MSP432P401R

Tool/software: Code Composer Studio

About Raspberry Pi code corresponding to spislave.c of MSP432P401R

I wanted to do spi communication between Raspberry Pi and MSP432, so I wrote the code for Raspberry Pi with reference to "dev.ti.com/.../node

import spidev
import RPi.GPIO as GPIO
from time import sleep

MASTER_READY_PIN = 18
SLAVE_READY_PIN = 16    

# inititalize the ports / pins
GPIO.setmode(GPIO.BOARD)
GPIO.setup(SLAVE_READY_PIN, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) #  
GPIO.setup(MASTER_READY_PIN, GPIO.OUT)
spi = spidev.SpiDev()
spi.open(0, 0)
spi.max_speed_hz = 1000
spi.bits_per_word = 8
spi.mode = 0b01
    # Handshake with the MCU
while (GPIO.input(SLAVE_READY_PIN) == GPIO.LOW):
        sleep(0.1)
            
GPIO.output(MASTER_READY_PIN, GPIO.HIGH)
a=0
    # Begin communication
MAX_LOOP = 1;
try:
        while MAX_LOOP != 0:
                GPIO.output(MASTER_READY_PIN, GPIO.LOW)
                if (GPIO.input(SLAVE_READY_PIN) is GPIO.LOW):
                        read = bytes(spi.readbytes(30))
                        GPIO.output(MASTER_READY_PIN, GPIO.HIGH)
                        print(''.join(read.decode()))
                        MAX_LOOP = MAX_LOOP - 1
                else:
                        GPIO.output(MASTER_READY_PIN, GPIO.HIGH)
except KeyboardInterrupt:
            GPIO.output(MASTER_READY_PIN, GPIO.LOW)



There are two main questions.
For one, it doesn't work properly unless you put sleep (2) somewhere between lines 162 and 192 of spislave.c.

The other is the third line from the end of the Raspberry Pi code
  GPIO.output (MASTER_READY_PIN, GPIO.HIGH)
If the comment is commented out, the correct execution result cannot be obtained. I don't know why.

Please let me know if you have a good answer.

Thank you.


CCS: TDA4x::Onnx Model:: Output mismatch after fused Batch Norm and ReLu layer

Tool/software: Code Composer Studio

Dear Sir,

In our initial portion of the model,

After 3x3 convolution, we have Batch Normalization followed by Relu operation.

We were comparing the ReLu output from Pytorch with Import tool.

Where we found that there is a loss of data.

For your reference please find the attached images of respective filter output:

1a)   Pytorch                                                                                

Image may be NSFW.
Clik here to view.
         

1b)  Import tool

  Image may be NSFW.
Clik here to view.

2a)  Pytorch                                                                                      

Image may be NSFW.
Clik here to view.
     

2b) Import tool

     Image may be NSFW.
Clik here to view.

3a) Pytorch                                                                                  

Image may be NSFW.
Clik here to view.

 3b)Import tool

    Image may be NSFW.
Clik here to view.

Kindly guide us to resolve the issue and please mark your comments on the difference which we have shared above.

Thanks and Regards,

Vyom Mishra

DP83867IR: Pin Configuration and Functions

Part Number: DP83867IR

Hi Team,

DP83867IR datasheet (SNLS484E) p.7 PAP package diagram, pin56 is “CS / GPIO”.

Is this "CRS" correct?

Best Regards,

Kenji

TLK2711-SP: Received data error

Part Number: TLK2711-SP

Hello,

My current TLK2711 test setup is as below which is Xilinx FPGA transfer(TX) data to TLK2711 and received data is sent to another FPGA on the same board.
So TLK2711 is used by only RX mode.

Image may be NSFW.
Clik here to view.

And receiver configuration of TLK2711 is as below.
As far as I know, CML to VML interface is supported if proper biasing is set and TLK2711 has integrated termination resistor on RX side.
So the user doesn't have to put termination resistor externally. Is it correct?
And I measured resistance RXP(57) with RXN(56). It measured nearly 75ohm.
Also, I measured resistance RXP(57) with VDDA(59, 61). I thought it should be 4k ohm but it was measured open. Is it correct?
Image may be NSFW.
Clik here to view.

So my point is that I sent IDLE data(K28.5/D5.6) from Xilinx FPGA to TLK2711 and the received parallel data (RXD) was different from what I expected. 
It should be C5BC(K28.5/D5.6) on RXD but the real data is quite different as below. (Below is logic analyzer display and only captured Lower 8-bit of RXD.)

Image may be NSFW.
Clik here to view.

I also tested PRBS pattern loopback mode and the result is as below. I think loopback mode looks okay. 
Image may be NSFW.
Clik here to view.

 

And I use Q-Tech oscillator for GTX_CLK. Its Jitter RMS is 8ps (typ.). I don't know why received data is different. Any idea solving this problem?

Best regards,
Ethan

TPD12S016: TPD12S016: Can I swap the clock and data pairs?

Part Number: TPD12S016

Hi there,

For layout ease, I would like to use D1_N and D1_P pins forHDMI_CLK_N and HDMI_CLK_P signals and reverse.

Is it okay to swap these pairs?

Memory leak in ndk 2_24_03_35

I found an archived question about this and a bug report was fixed but when I quick on the link

I get can't access  jira.itg.ti.com/.../NDK-112.

How can I look at outstanding Ti RTOS bug reports and bug fixes?

Thanks

Brian

Viewing all 262198 articles
Browse latest View live


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