Quantcast
Channel: Microcontrollers
Viewing all 221216 articles
Browse latest View live

Forum Post: RE: TMS570LS3137: We need MCAL for TMS5703137DPGEQQ1 and TMS5701224CPGEQQ1 .

$
0
0
Dear Sirs, In Poland TI have no TI local sales. With who am I contact ? I called TI Germany but with no effect. I contacted with TI Customer Support CS0700029, CS0737113, CS0744610 still nothing. I didn't saw any SafeTI NDA, nobody send this to me or speak about that. Regards, Piotr Rusak

Forum Post: RE: MSP430FR5043: No acknowledgement after slave address

$
0
0
Check your board's schematic to see what the /RESET pin (2 or 16, depending on the package) of the AD5122A is connected to. If it's being held low (GND) I expect the device won't respond. The data sheet recommends tying it to Vlogic if you're not using it. If you can't get to any of the (other) devices on your I2C bus, that sounds electrical, so check your wiring.

Forum Post: RE: TMS320F28379D: Reading data from FLASH

$
0
0
Hi, Anu: I cannot see the contents of the buffer written to FLASH in the memory window. [quote userid="487101" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1049049/tms320f28379d-reading-data-from-flash/3882871#3882871"] Can you review the code below that I've included in this post? /cfs-file/__key/communityserver-discussions-components-files/171/7416.flash_5F00_programming_5F00_cpu01.c [/quote] Is the C2000Ware_3_04_00_00 instance faulty? Sinan.

Forum Post: RE: TMS320F28379D: Processor load Simulink block functionality & RAM usage

$
0
0
Thank you. I have been looking at the linker MAP file and would appreciate any advice on which hexadecimal memory addresses I can subtract to obtain a hexadecimal value of RAM memory used. I have inserted a screenshot of what appears when I search for 'ram'. Thank you for the link. I have been reading it but need a little more time to implement the steps in my model.

Forum Post: TM4C129XNCZAD: Real Time Clock lagging

$
0
0
Part Number: TM4C129XNCZAD Dear Sir, We have developed our own PCB board with TM4C129XCNZAD and using the inbuilt Hibernate RTC feature of processor. Initialization code void Hibernate_RTC_Init(void) { SysCtlPeripheralEnable(SYSCTL_PERIPH_HIBERNATE); HibernateEnableExpClk(ui32SysClock); HibernateClockConfig(HIBERNATE_OSC_LFIOSC); // Enable RTC mode. HibernateRTCEnable(); // Configure the hibernate module counter to 24-hour calendar mode. HibernateCounterMode(HIBERNATE_COUNTER_24HR); } We are using already available DateTime.C file of Ti example and also DateTimeDisplayGet function for fetching date time . We have also connected 3V Coin battery to the VBAT pin to maintain calander. Date Time setting and Reading is fine at that moment. It is synchronized with system Clock of PC. We keep board OFF for more than 12 hour and found that there is lagging in time by 1 hour. Why it is lagging?

Forum Post: RE: MSP430FR2433: I2C communication error

$
0
0
What exactly are you sending (to get back the 0x80-s)? I'm not familiar with this device, but maybe someone will see something. I wasn't able to find a protocol definition (the NXP data sheet mostly talks about the onboard MCU), but Adafruit does have an Arduino driver you could reference.

Forum Post: RE: TMS570LC4357: HAL Code Generator example_mibspiDMA extended to 4 mibSPIs with 1 transfer group each (mibSPI4 has corrupted data in receive area)

$
0
0
Hi QJ, thanks for your proposal for solution. I extendet the code as shown below. The received Date in the RAM location after DMA transfer looks fine. Unfortunately this solution involves the CPU. Is there any solution without involving the CPU? In our projeckt no interrupts are allowed. ... mibspiTransfer(mibspiREG1,0 ); while(dmaGetInterruptStatus(DMA_CH0, BTC) == FALSE); mibspiTransfer(mibspiREG2,0 ); while(dmaGetInterruptStatus(DMA_CH2, BTC) == FALSE); mibspiTransfer(mibspiREG3,0 ); while(dmaGetInterruptStatus(DMA_CH4, BTC) == FALSE); mibspiTransfer(mibspiREG4,0 ); while(dmaGetInterruptStatus(DMA_CH6, BTC) == FALSE); ...

Forum Post: RE: TMS570LC4357: Strange data abort triggered by reading N2HET1 RAM in user level of MCU privileges


Forum Post: RE: TMS320F28069: Bootloader DFU on conltrolCARD F28069 : DFU_ERR_UNSUPPORTED (-5) erasing flash!

$
0
0
Hello , some news I view in this topic : (+) USB bootloader along with dfuprog exe - C2000 microcontrollers forum - C2000 ︎ microcontrollers - TI E2E support forums that some code was modify. " The main issue appears to be an identifier which isn't set correctly in the PC DLL. If you open usbdfu.h in the embedded code and change TI_DFU_PROTOCOL_VERSION_C2000_1 to be 0x0001 instead of 0x2001, you should be able to start doing flash operations like erase and program. " I modify this lane in usbdfu.h. and reprogram th µC. Now TI extensions are supported. ( image bellow) Erasing flash doen't report ERROR : But when I try to upload an hex file I got this error : What change if I modify TI_DFU_PROTOCOL_VERSION_C2000_1 from 0x2001 to 0x0001. Should I keep this change ? I will do some reseach. I will also investing about the new error. If you have any idea. thanks Alain.

Forum Post: RE: MSP430FR2512: Problem with I2C in Design Center, no "HID connected" seen

$
0
0
Hi Sebastian, Yes, you need to set the P1SEL.2 = 1 and P1SEL3 bits = 0 accordingly. . According to the datasheet, P1.2, P1.3 are available as I2C pins. You don't need to change USCIBRMP, so you should be good. Make sure you are connecting to the I2C pins on the CAPT-PGMR and that you are using __CAPT_BULKI2C_INTERFACE__ in your CAPT_Userconfig.h When using the GUI, make sure you also select the BULKI2C connection option.

Forum Post: RE: MSP430FR5043: No acknowledgement after slave address

$
0
0
Hello Bruce, [quote userid="47378" url="~/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1049434/msp430fr5043-no-acknowledgement-after-slave-address/3884818#3884818"]Check your board's schematic to see what the /RESET pin (2 or 16, depending on the package) of the AD5122A is connected to. If it's being held low (GND) I expect the device won't respond.[/quote] Reset pin of AD5122 is connected to Vcc. [quote userid="47378" url="~/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1049434/msp430fr5043-no-acknowledgement-after-slave-address/3884818#3884818"]If you can't get to any of the (other) devices on your I2C bus, that sounds electrical, so check your wiring.[/quote] I will check on it. Thanks, Ashok.

Forum Post: RE: TMS570LS3137: Need TI FatFS library for TMS570LS3137WZT, Tried downloading the files already on the forums but access denied.

$
0
0
Here is the SD card example using RM48 MCU: e2e.ti.com/.../3157.RM48-HDK-RevE-SDCard-Demo.zip

Forum Post: RE: MSP430FR5733: Internal resistance values of P1.0 and P1.3

$
0
0
If they are using a high-voltage ohmmeter they might be measuring the ESD diodes. Have them measure both polarities.

Forum Post: C2000WARE: Can higher priority interrupt executions at high frequency lead to the CPU never executing lower priority interrupts?

$
0
0
Part Number: C2000WARE Hello, I am developing a dual-CPU power converter. I have one converter running at 1MHz and the other running at 200-400kHz, and their interrupts are triggered by the ADC SOCs. I have found during emulation that the priority at which I set the interrupts leads to very different performance of the code. I had originally planned to use ADCA1, ADCC1, TIMER0 and IPC0/IPC1 interrupts in each CPU to communicate between them. I find that if I use ADCA1 (1MHz) and ADCC1 (200-400kHz), TIMER0 and IPC0/IPC1 are never serviced. I changed ADCC1 to instead use ADCC2 in group 10, which then leads to TIMER0 being executed as expected. ADCC2 also does execute, but only a select number of times (100~) and then is never executed again. I think there is quite clearly some kind of conflict between the ISR's - TIMER0/ADCA1 is always set again, before it is reset (I believe I am using continuous interrupts because I am using the CLA and digital controller library to read error and calculate new duty cycles and periods). Is it just that the code in my 1MHz control loop takes too long to execute, and therefore because it has priority, after it has finished executing it has already set a new ADC flag and begins execution again? Is there any solutions to this at all? IPC0/1 are not executing at all, the IPCSTS[IPC1] flag is constantly set showing that the interrupt flags have been set requesting a service routine to occur, but the CPU is never servicing them. Any help appreciated. Best regards, Joel

Forum Post: RE: TMS320F28388D: Get 0% or 100% duty cycle with HRPCTL[HRPE]=1

$
0
0
Hi, You can change the duty cycle from 0-100% but the limitation still applies. When the edge falls during those cycles, High resolution portion will not work as expected in those cycles. So, if this is acceptable to your use case, you can use it.

Forum Post: RE: MSP430F5638: Driving a microsd card via SPI from MSP430F5638

$
0
0
David, Thanks for the SparkFun link, I'll take a look at that.

Forum Post: RE: TM4C129XNCZAD: Real Time Clock lagging

$
0
0
Hi Rajesh, - Can you run the TivaWare hibernate_calendar example on your custom board? Perhaps you need to modify it so that it will go hibernate for a longer period of time. Can you repeat the same problem? I just wanted to make sure if there is anything wrong with your code. If you can repeat the same problem using TivaWare example then we need to investigate your hardware. - Can you run your code on the LaunchPad. Can you repeat the same problem? - Running your own code on your custom board but only keep the board off for 1.5hours, 3 hours and 6 hours. Do you see the time lagging proportionally. In another word, do you see the time lag by 1/2 hour if you keep the board off for 6 hours. Likewise, time lag for 1/4 hours if the board is turned off for 3 hours?

Forum Post: RE: TMS320F28374D: CAN losing data in transmission

$
0
0
HI Hareesh , Baud rate is 500KB/s and it seems messages lost when delay < 1mS , maybe since we are in CAN open PDO and some async messages coming . I ll give you feedbacks on your suggetsions thank you BR Carlo

Forum Post: RE: Why are there only 2 base addresses for 3 GPIO modules?

$
0
0
Hello Philip, I have sent your thread over to our MCU+ team. Please ping the thread if you do not get a response in a day or so. Regards, Nick

Forum Post: RE: MSP-EXP432P4111: [ACK_ERROR_MESSAGE]Header incorrect! seen, possibly timing error

$
0
0
ok, the github code does not provide host drivers, but I'm working that now. related question, the data block command takes an address, which I assume is the base address for the 432's executable code. does anyone know what the start of the 432's flash loadeable executable address is? the API: uint8_t ebh_rx_data_block(uint32_t addr, uint8_t *data, uint16_t length) as invoked: if(ebh_rx_data_block_32(0x20001020, payload3, sizeof(payload3))) { while(1);
Viewing all 221216 articles
Browse latest View live


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