[quote userid="646799" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1489213/ek-tm4c1294xl-tm4c1294ncpdt"] Lets say, if I use JSON frames in the payload, as key value pairs, based on the key part, could that be directed or redirected to different UART? Or based on the KEY part, could the message be used to initiate a sensor reading and send the readout as an answer? [/quote] I don't see why not. It is up to your application how to decode/parse a JSON frame and take appropriate actions for them.
↧
Forum Post: RE: EK-TM4C1294XL: TM4C1294NCPDT
↧
Forum Post: RE: AM2434: EDS file MaxCIPConnections meaning
Hi Petr, Thanks for reaching out. I have assigned this query to the relevant expert. They will get back to you with a response. Regards Archit Dev
↧
↧
Forum Post: TMS320F280049: F280049PZS NIPDAU Finish
Part Number: TMS320F280049 Tool/software: Hello, Customer rejected the F280049PZS due to "roughened leadframe". Is this similar to the roughened frames from this post? https://e2e.ti.com/support/logic-group/logic/f/logic-forum/718449/faq-why-do-the-leadframes-look-strongly-oxidized-or-corroded
↧
Forum Post: RE: MCU-PLUS-SDK-AM273X: MCU R5F0 core task switching issue
Note - currently in daily debug mode this week. Call tomorrow on 3/20.
↧
Forum Post: RE: MSPM0C1104: Recommended Accelerometer for I2C or SPI connection for low accuracy/cost consumer application
The BOOSTXL-EDUMKII and the BOOSTXL-ULPSENSE have accelerometers on them: https://www.ti.com/tool/BOOSTXL-EDUMKII https://www.ti.com/tool/BOOSTXL-ULPSENSE Adopting a Booster Pack gives you physical and (probably) electrical compatibility with a Launchpad. Software is a separate question: Each has sample code, but not for the MSPM0. Github may be a resource here.
↧
↧
Forum Post: RE: TMS320F280025: MotorControl SDK - Identification of a ACIM
Solved it, the problem was the too high sensitivity in the magnetic current estimation and no timeout in the rotor lock state
↧
Forum Post: RE: AM2432: OSPI FLASH - Change Protocol Enable Configuration
Hi Stefano, I have seen the effort it requires to perform protocol switching implementation. Amidst other high priority issues, I cannot spend sometime to implement this. But I can suggest you the method so that you can go ahead and try it on your own. Please build a simple application like ospi_flash_io which comes with the MCU PLUS SDK installer and can be found under examples/drivers/ospi directory. Once you build it, go through one of the generated files named as ti_board_open_close.c. Here you will come across flash configuration values defined, for the specific protocol the user has set in the SysConfig. So the flash configuration values defined in this file, is tied to to a protocol and if you change the protocol, a whole new flash configuration value will be generated in this file. So you need to make sure that when switching protocols, make sure to change these configuration values for the new protocol you are about to ask the OSPI Controller and Flash to operate in. Here is a pseudocode: Drivers_open(); Board_driversOpen(); Now you have a protocol P1 defined and set, you do some operations with this using Flash_write and Flash_read. At this point you want to switch the protocol to P2. Board_driversClose(); Drivers_ospiClose(); Redefine the flash configuration values in the file ti_board_open_close.c to make sure the new values are at par with the protocol P2. Drivers_ospiOpen(); Board_driversOpen(); Now you perform Flash_write and Flash_read with new protocol P2. Board_driversClose() Drivers_close() Regards, Vaibhav
↧
Forum Post: TMS320F2800135: Sysconfig debug error
Part Number: TMS320F2800135 Tool/software: (Registers window screenshot when 135 is running and 135 syscfg file is being used) (Expressions window screenshot when 135 is running and 135 syscfg file is being used) (Expressions window whose value keeps on changing when 39C is running and 39C syscfg file is being used) (Registers window screenshot when 39C is running and 39C syscfg file is being used) I've created two different syscfg files for two different ICs, 39C IC and 135 IC, and their linker command files as well along with them which I exclude or include depending on the requirement, while running the code in 39C IC it is working well and showing the epwm and adc output both but when I transfer it from 39C IC to 135 IC it is not showing any output even though it doesn't give any build error and also when I try to run the same project in the empty project for 135 IC, then it works properly, please help me in resolving this issue. In the registers window also, it is clearly seen that in the case of 135 IC, the SOC triggering is not happening, not only that even he ePWM is also not working for 135 IC, neither the ePWM is working nor the GPIO is blinking, it seems like the main function is not even compiled as no function is working in there, whether it is the board_init from the syscfg or anything else. So, what should I do to resolve this isssue. This is for the 39C IC, the TBCTR values are changing continuously as I've given sine wave as the counter compare value but this is also not happening in the case of 135 IC.
↧
Forum Post: RE: LP-AM243: AM2434 Firmware Upgrade Over Ethernet
Hi Ashwani, When I try to replicate the examples\drivers\boot\sbl_qspi_enet from AM263x in AM2434, it fails to build. Additionally, the AM263x includes QSPI, EDMA, and an HSM client, whereas the AM2434 does not. I have configured the bootloader and flash settings in example.syscfg for AM2434. Could you confirm if this is correct, or am I missing something? Please guide me on how to proceed with this. Thanks, Kavaskar
↧
↧
Forum Post: RE: MSP430FR2433: MSP430FR2433 getting issue while creating connecting with GUI composer
To communite with MSP430. It is not based on SBW port. It is based on the UART port. That means you need to add a GUI composer protocol in the software. Maybe you can start from this code example:
↧
Forum Post: RE: AM263P4: EPWMs out of sync by 1 clock cycle
Hi Huey, The delay from internal module to target module is either: if (TBCLK = EPWMCLK): 2 x EPWMCLK if (TBCLK < EPWMCLK): 1x TBCLK Up/down counter shouldn't double the offset. There's a bit for SYNCDIR that determines if the count is up or down after a event. This could influence the behavior. Can you check both bit settings and see if there is a difference in the offset based on that? Best Regards, Ralph Jacobi
↧
Forum Post: TMDSCNCD28388D: TPS62420DRCR 3.3V and 1.2V Enable Pins
Part Number: TMDSCNCD28388D Tool/software: Hello, I currently powering my F28384DPTPS using the above TPS62420DRCR step down converter which was used in the reference design files of the TMDSCNCD28388D eval board. As the power sequencing requirements states that 3.3V must be powered prior to the 1.2V, R81 and C48 are used to ensure this on EN2. I would like to know if there is a risk of an undetermined state on Enable 2 and whether there is a requirement for a schmitt trigger on EN2. Thanks!
↧
Forum Post: TMS320F28035: HRPWM in up-down count mode produces spurious pulse around TBCTR=0
Part Number: TMS320F28035 Tool/software: Hello experts, I have an application with type 1 EPWM running in up-down count mode, where pulse width has to be precisely controlled. Pulses have to be centered around PRD for synchronization purposes, so using up-count mode is problematic. EPWMxA goes high on CMPA match counting up, and low on CMPA counting down. HRPWM operates on CMPA, falling edge only, since MEP can only delay pulse transitions. In up-down count mode, T_pwm = 2 * PRD * T_tbclk. Because of the 2x multiplier, HRPWM autoconversion cannot work properly in this application: fractional part of CMPA represents a fraction of 2 * T_tbclk. When fractional part is 0.999999, I need 2*MEP_SCALE_FACTOR microsteps in CMPAHR, but autoconversion will produce 1*MEP_SCALE_FACTOR. With autoconversion disabled, I do all the calculations in the code and write the 32-bit CMPA:CMPAHR register in one instruction. The pulse width is set correctly and everything works as expected, except for one thing: when CMPA:CMPAHR register is written, a spurious glitch appears around TBCTR=0. It is exactly one T_tbclk or one T_sysclk wide. The PWM then operates normally until next CMPA update. It seems like the glitch only shows up when coarse part of CMPA changes. Both LOADAMODE and HRLOAD are set to load from shadow on PRD and ZERO, as per instructions on forums. Changing these settings has no effect - the glitch is always there when CMPA/coarse changes. With AUTOCONV enabled, the waveform is clean, but fractional duty cycle is half of what it should be, because only the falling edge of the pulse is delayed and autoconversion is not accounting for up-down count mode. With HRPWM disabled, the glitch does not appear. Any suggestions?
↧
↧
Forum Post: RE: EK-TM4C1294XL: TM4C1294NCPDT
Hi Charles, thanks for your answer. Unfortunately, I do not have much experience with TI TCP/IP stack, but I have with Microchip TCP/IP stack. In that it is/was a fairly easy to find and deal with the UART and or the TCP payload, also with the setup. It was relatively easy to switch on/off things and change the behaviour to static IP for example. Maybe if I rephrase my request for help... In the enet_s2e project where is the part that actually deals with the payload? Either from UART or from TCP... I started to look into the code, but currently it is a maze for me. I would expect these in uartstudio.c, serial_task.c or in one of these... could not locate them yet. So I would appreciate if you could point out "look, this is the part that sends out the payload to uart and this will send out the payload to TCP" or something, like compass for where to look. I'm not asking to write code for me, just need some sort of a map to see where thing are... Thank you!
↧
Forum Post: RE: MSP430FR6989: LFXIN: external oscillator resilience test
Please see this in the User's guide and datasheet.
↧
Forum Post: LAUNCHXL-F28379D: DACB inquiry
Part Number: LAUNCHXL-F28379D Tool/software: Hello Team, Posting on behalf of my customer: I got the DAC to work through Simulink along with PID. However now I’m seeing that the ADC does not read anything with a sine wave input between 0 and 1 V. I’m using ePWM and tried setting to ADCA and B with no use. I’d imagine since there are different options on one pin the block would activate the one it specifies. Little unsure here. Worst case I can use code composer but I haven’t used it in a long time, found Simulink to be faster with the embedded coder. Just got this to work with software trigger but can’t seem to get it to work with ePWM, which I read is necessary for triggering the ADC for real time control (trying to do PID with loop speed of 5 microseconds). Any ideas? Regards, Renan
↧
Forum Post: F28M36P63C2: Pin configuration for EPI missing in User Manual. Differences between User and Datasheet information
Part Number: F28M36P63C2 Tool/software: We are trying to use EPI on m3 side in 16bit Host Bus Mode with address and data bus separated to access 2Mword RAM. To do this we are using address range from A0-A20 without ByteSelect.and we select configuration with 3 CS,CSCFG = 0x7 as in datasheet Table 5-47. To not select ByteSelect EPIHB16CFG.BSEL have to be set to 0 or 1? Because in component datasheet SPRS825F –OCTOBER 2012–REVISED JUNE 2020 in Table 5-47 is set to 1 while in User Manual SPRUHE8E October 2012–Revised November 2019 Table 17-19 for BSEL is written: (0-No byte selects. Data is read and written as 16 bits,1-Enable Byte Selects) Following questions refers to how to select some EPI-s not present in Table 4-1 GPIO Pins and Alternate Functions.of User Manual we want to select: A11 EPI0S36 on PC3 A12 EPI0S37 on PC2 A13 EPI0S37 on PF6 A14 EPI0S39 on PG2 A15 EPI0S27 on PH7 A16 EPI0S35 on PE5 A17 EPI0S40 on PG5 A18 EPI0S41 on PG6 A19 EPI0S42 on PN6 A20 EPI0S43 on PN7 Setting alternate function value to 8 for corresponding pins we got A11 to A18 working but A19 and A20 are allways High. So now we are able to RD/WR in address range A0-A18. Could you confirm alternate function values we set? Why we are not able to move addresses A19 and A20? Thanks, Miro Petrovic
↧
↧
Forum Post: RE: TMS320F280039C: Understanding on SFRA behavior using TIDM buck converter FW with 200kHz HW and 20kHz HW setup
Prathamesh, One more suggestion, could you please help verify the following: 1. If your this buck converter is operating in continuous conduction mode or discontinuous conduction mode? While obtaining bode plot, TIDM-DC-DC-BUCK example operates in CCM and shows all the graph for the same i.e. inductor current value never touches zero in steady state. 2. If highlighted per unit value is withing 0.0f to 1.0f range Regards, Sumit
↧
Forum Post: RE: TMS320F28377D: jitter on PWM when using HR mode
Hello, I am familiar with Figures 15-86 and 15-89, and normally this is not the issue. In our product, the duty cycle is adjustable only between 5% and 95%, but in most cases, it is between 40% and 60%. Having provided our requirements at the end of my last message above, could you please provide me with an example code that meets these criteria? Best regards, Martial
↧
Forum Post: RE: TMS320F28379D: Not able to upload .out file in both CPU.
Hi Kashyap, That looks correct. How are you verifying that CPU2 is not booting to flash? Are you loading the boot ROM symbols to verify the state of CPU2? You can step through the device boot ROM by loading the boot ROM symbols (.out file) to the device. This option adds the symbols available in the generated project '.out' file for debugging purposes instead of loading the actual '.out' program onto the core via CCS - this is also why you can use this method with the boot ROM/built in bootloaders to debug and get visibility. Open CCS to a workspace Click 'view' > 'target configurations': You can import a project for this device to CCS and use that to connect to the device, or copy the raw target config from C2000Ware to the "user defined" target configurations in this window. Either way, find the device target config (example for F28375S below) and launch it: When it brings up the debug window, select the device CPU and connect to the target: Navigate to the toolbar and click the button to "load symbols" Load the boot ROM .out file. For F2837xD CPU2, it should be in C2000Ware_X_XX_XX_XX\libraries\boot_rom\f2837xd\revB\rom_sources\ccs_files\cpu02\Release\F2837x_cpu02_bootROM_REVB_Golden_020314.out If a window pops up saying it can't find the source file, you can select "Locate File" and find it in C2000Ware Usually here: C2000Ware_X_XX_XX_XX\libraries\boot_rom\f2837xd\revB\rom_sources\F2837x_bootROM\cpu02-bootROM\source The file should open to show the location of the boot ROM you are at, and you can step through/debug Best, Matt
↧