hybridfree/eevblog-posts huggingface dataset:
-FOUND- JTAG programmer for MSP430 - Page 1
Forum section: electronics / general

author: TheSteve
author_rank: Unknown
timestamp: November 05, 2018, 12:45:14 am
content: I'm looking for a JTAG programmer for an MSP430. I would buy a new one but this is likely a one time use type thing.If you have something please let me know. Shipping to US or Canada.

author: andyturk
author_rank: Frequent Contributor
timestamp: November 05, 2018, 12:50:49 am
content: How about a MSP-FET430UIF? I don't think it's JTAG, but it worked with TI's Code Composer Studio the last time I worked on MSP430 (years ago). I've got a V1.4A.Free, if you want it. You could paypal me postage afterwards.

author: ebclr
author_rank: Super Contributor
timestamp: November 05, 2018, 01:02:34 am
content: Buy a launch pad, take the jumpers and you are donehttp://www.ti.com/tool/msp-exp430fr2355#0

author: coromonadalix
author_rank: Super Contributor
timestamp: November 05, 2018, 01:52:08 am
content: at 12$ usd its a joke and a good investment, bookmarked it thks

author: TheSteve
author_rank: Unknown
timestamp: November 05, 2018, 05:11:11 am
content: I have been reading datasheets. The launchpad looks great but from a really quick check might only support the 2 wire debug interface. The 430 I want to look at is old enough I think it only has the 4 wire jtag interface. In the datasheet one of the recommended programmers is the MSP-FET430UIF that AndyTurk mentioned.

author: Peabody
author_rank: Super Contributor
timestamp: November 05, 2018, 03:29:48 pm
content: It might be helpful to say which MSP430 part you're looking at. I use the G2 Launchpad to flash the MSP430G2xxx parts using 2-wire JTAG. That works with the chip installed on the Launchpad, or in-circuit with jumpers. But I don't know if that Launchpad would work with your part.But the least expensive option for one-time use might be to flash using BSL. You would use either BSLDEMO or BSL-Scripter software, depending on how old your part is, and a jellybean USB-to-UART adapter module like the CP2102, FT232, or CH340 as the interface. TI doesn't support those interfaces, so you would need some software mods and instructions, which are available from me. Of course that assumes your chip has BSL. Not all of the early ones do, but slau319t.pdf would tell you if yours does, and if so, what software it requires.

author: TheSteve
author_rank: Unknown
timestamp: November 05, 2018, 05:24:21 pm
content: I've taken AndyTurk up on his generous offer. The datasheet for the chip I'm using specifically mentions the programmer he is offering.thank you all!
[SOLVED] Is it possible to use PB8 on STM32F042F6 as an output? - Page 1
Forum section: electronics / general

author: technix
author_rank: Super Contributor
timestamp: November 05, 2018, 03:51:09 pm
content: The PB8 pin on STM32F042F4 chip is used as BOOT0 by default. However I am debating whether it is actually possible to use it as an output. By changing the option bits BOOT0 pin on PB8 can be disabled, but somehow it is still not working as an output after that.EDIT: I got the wrong pin. DAP42 on LPC2103 is connecting on CMSIS-DAP now.
Interfacing 68k Peripheral IC (shared mem) with SDRAM / STM32 - Page 1
Forum section: electronics / general

author: TheMenace
author_rank: Newbie
timestamp: October 31, 2018, 12:42:34 pm
content: Hi guys,i was wondering if it would be possible to interface an old chip, that was designedto share a 30pin simm-memory (4x4mb) with an Motorola 68000, with a 32MB SDRAM and an STM32F4?Giving levelshifting to meet up to voltage (5v vs 3.3v) of course, but could the restbe as easy as just interfacing data/adress/CAS/RAS and WE one on one and providing the clock?Has anyone done it before and can shed some light for me?Thanks in advance!

author: ogden
author_rank: Super Contributor
timestamp: October 31, 2018, 03:17:55 pm
content: STM32 with FMC (Flexible Memory Controller) do have SDRAM support. Just search internet for "stm32 fmc sdram" keywords

author: TheMenace
author_rank: Newbie
timestamp: October 31, 2018, 05:20:17 pm
content: Thanks for the answer ,but the problem is that i would like to use the old chip with new SDRAM.The STM32F429ZIT6 works with 64Mbit SDRAM just finde, but my old chip isdesigned to share it's memory (30pin SIMM) with an M68k.So i would like to replace the 30pin SIMM with SDRAM and the 68k with anSTM32 to work with the old chip.

author: ale500
author_rank: Frequent Contributor
timestamp: October 31, 2018, 05:52:28 pm
content: QuoteCould you please be more specific ? Which chip ? 30 pin SIMMs are actually a small board with one or more chips on it.

author: Rasz
author_rank: Super Contributor
timestamp: October 31, 2018, 06:06:35 pm
content: sdram is not edo/fpm DRAM, SDRAM is DRAM with smart controller glued in, not to mention common voltage differenceshttps://www.bunniestudios.com/bunnie/dramfaq/DRAMFAQ.html
CANdb++ - Page 1
Forum section: electronics / general

author: pnrdsz
author_rank: Newbie
timestamp: November 01, 2018, 09:03:46 am
content: Hi guys;I need help about install CANdb++ program, if someone can help me I will be glad.When I try to open program , I get error that cdbstat.dll is missingThanks your attentionRegards

author: gnasirator
author_rank: Contributor
timestamp: November 01, 2018, 09:56:27 am
content: Afaik you need to download eg the CANoe demo package. CanDB++ comes with that and is then freely useable.If someone has a dedicated (official) link to download CanDB standablone, that would be much appreciated.
ESP32 Arduino WiFi Manager & File System (SPIFFS) - Page 1
Forum section: electronics / general

author: ProtoG42
author_rank: Contributor
timestamp: January 22, 2018, 03:30:30 pm
content: The ESP32 is finally starting to become compatible with more and more popular Arduino libraries.In the video I demonstrate using the WiFi Manager library for ESP32 in the Arduino IDE as well as the SPIFFS file system for the ESP32. It allows people to avoid having to hard code wifi credentials but in the video I show that it can also be used to add several other variables and parameters. Adding a few lines of code to the WiFiAP.cpp file allows the configuration screen to automatically pop up on a phone or computer when logging into the ESP32 set up SSID. Also, in the video I show the 3 lines of code that you can use to reset the wifi credentials and wipe the memory so you could make a physical reset button for a product.Here are the main github libraries needed:ESP32 Arduino Core:https://github.com/espressif/arduino-esp32WiFi Manager:https://github.com/zhouhan0126/WIFIMANAGER-ESP32WebServer:https://github.com/zhouhan0126/WebServer-esp32DNSServer:https://github.com/zhouhan0126/DNSServer---esp32Add these 3 lines of code to line 95 of WiFiAP.cpp to automatically pop up the configuration screen after connecting to the access point:tcpip_adapter_dns_info_t dns_info;dns_info.ip.u_addr.ip4.addr = IPAddress(192,168,4,1);tcpip_adapter_set_dns_info(TCPIP_ADAPTER_IF_AP, TCPIP_ADAPTER_DNS_MAIN, &dns_info);

author: ralphrmartin
author_rank: Frequent Contributor
timestamp: January 25, 2018, 05:24:33 pm
content: One thing missing - where is the source for your Arduino program? You only tell us about the libraries..

author: ProtoG42
author_rank: Contributor
timestamp: January 27, 2018, 07:40:21 am
content: It is linked in the video description.

author: 1anX
author_rank: Regular Contributor
timestamp: January 27, 2018, 08:57:19 am
content: Good info, thanks for posting!

author: ralphrmartin
author_rank: Frequent Contributor
timestamp: January 27, 2018, 07:32:15 pm
content: Thanks!By the way, what board type do you use in Arduino for this particular TTGO board?

author: mdumdei
author_rank: Newbie
timestamp: October 31, 2018, 11:19:27 am
content: I'm not seeing the link in the description - just text. I'm experienced with programming and electronics, but just getting started with this stuff and would love to go through the code. Looks like a good example of WiFi, JSON, SPIFFS - lots of good stuff.
LPC dev boards similar to ST-Nucleos? - Page 1
Forum section: electronics / general

author: richardman
author_rank: Frequent Contributor
timestamp: October 31, 2018, 09:23:25 am
content: What are people's favorite LPC devboards nowadays? I am looking for something similar to the ST-Nucleos in terms of having variety of boards using different LPC MCUs. I know they used to have the LPC Expresso but they must have been replaced by something better by now. Or if a third party has extensive LPC support, I am interested in them too.Don't care too much about additional features as I am only interested in mainly the MCU itself. So a simple virtual COM support and JTAG/SWD is all I am looking for.Thanks
Did Hitachi make a MCU similar to the 80C188? [Answered - NEC V25] - Page 1
Forum section: electronics / general

author: oPossum
author_rank: Super Contributor
timestamp: October 31, 2018, 03:37:07 pm
content: I have a product from the early 90s with a MCU that has the markings very well removed. It is in a 84 pin PLCC package and uses the real mode (16 bit) x86 instruction set. I think it is made by Hitachi due to the circular indent in the upper left and bottom right of the package. I have traced the PCB to determine the function of many of the pins. I have been unable to find anything matching this pinout.Code:1 /IOS?2 /DS?3 Gnd4 GPIO5 GPIO6 GPIO7 GPIO8 GPIO9 10k pullup101112 Clock Out?13 D014 D115 D216 D317 D418 D519 D620 D721 A022 A123 A224 A325 A426 A527 A628 A729 A830 A931 A1032 A1133 A1234 A1335 A1436 A1537 A1638 A1739 A1840 A1941 Gnd42 Gnd43 Gnd4445 UART Rx46 Gnd47 UART Tx48 GPIO4950 +5V51 GPIO52 GPIO5354 GPIO55 GPIO56 GPIO57 GPIO5859 GPIO60 GPIO61 GPIO6263 GPIO6465 GPIO66 GPIO67686970 GPIO Int?71 Gnd72 GPIO73 GPIO74 GPIO75 GPIO76 GPIO77 Gnd78 Xtal79 Xtal80 +5V81 /RESET?8283 RD,/WR84

author: helius
author_rank: Super Contributor
timestamp: October 31, 2018, 04:27:37 pm
content: Not sure, but there was the NEC V25 (µPD70320) which is similar in purpose to the 188.

author: georgd
author_rank: Regular Contributor
timestamp: October 31, 2018, 04:31:27 pm
content: It should be V25, micro controller made by NEC.

author: oPossum
author_rank: Super Contributor
timestamp: October 31, 2018, 04:50:31 pm
content: Looks like that is it! Thanks.
An interesting tidbit on PIC32MZ DA (and Sitara AM1808 on that matter) - Page 1
Forum section: electronics / general

author: technix
author_rank: Super Contributor
timestamp: October 28, 2018, 04:56:41 pm
content: PIC32MZ DA can run both 24-bit color graphics and have a 8-bit parallel slave port at the same time. This seem to me as if a calling for me to use that chip as a GPU of sort for some other board...TI's Sitara AM1808 can do the same too...

author: legacy
author_rank: Super Contributor
timestamp: October 29, 2018, 11:54:39 am
content: I wonder who will ever use it and for what.

author: technix
author_rank: Super Contributor
timestamp: October 29, 2018, 02:55:57 pm
content: Quote from: legacy on October 29, 2018, 11:54:39 amThe PIC32 one is more limited as it only exposes 4 bytes to the external bus interface when used in parallel slave mode. The Sitara exposes a whole block of RAM for that.Some ideas came to mind:* A graphics processor for some retrocomputing project.* An I/O coprocessor for a modern PC, combined with the WCH PCIe to parallel interface chip.* A heterogeneous multiprocessing system.

author: JPortici
author_rank: Super Contributor
timestamp: October 29, 2018, 03:22:16 pm
content: - A low cost industrial smart display, possibly with extended temperature range in the future (AFAIK all the temperature related issues are related to the onboard DDR)

author: technix
author_rank: Super Contributor
timestamp: October 29, 2018, 04:02:05 pm
content: Quote from: JPortici on October 29, 2018, 03:22:16 pmAnd since that bus is somewhat compatible with the 8-bit ISA bus, it would be useful for some older systems too as a multifunction interface card.

author: legacy
author_rank: Super Contributor
timestamp: October 29, 2018, 04:38:43 pm
content: Quote from: technix link=topic=147610.msg1925596#msg1925596 date=1540824957Some ideas came to mind[/quote
QSPI or microSD for PIC32MZ DA Linux? - Page 1
Forum section: electronics / general

author: technix
author_rank: Super Contributor
timestamp: October 28, 2018, 02:36:57 pm
content: This question is specific to PIC32MZ DA, since it has both QSPI and SDIO but they share pins. Here is the problem: what to use to store Linux in it? They cost about the same.StorageProsConsmicroSDLarge capacity (8GB+,) hot swappable.Everything have to be loaded into DRAM before executing.QSPISupport XIP: kernel and application can be executed in-place, freeing up DRAM space.Small size (64MB,) soldered down. (The 16MB W25Q128 has a DIP-8 socketed version.)Since PIC32MZ DA only has 32MB DRAM, which one to use as the storage device for Linux?

author: NorthGuy
author_rank: Super Contributor
timestamp: October 28, 2018, 03:22:08 pm
content: What's wrong with internal flash?

author: technix
author_rank: Super Contributor
timestamp: October 28, 2018, 04:08:25 pm
content: Quote from: NorthGuy on October 28, 2018, 03:22:08 pmOnly 2MB on my chip, 1MB on others. Enough for a big bootloader like a very elaborate and one-stage copy of u-boot, but not enough for a full OS and its filesystem. The kernel and the filesystem has to be stored on an external storage device, and the bootloader has to be stored in the internal Flash for this to work.For the 2MB internal Flash I would spend about 1MB on a very elaborate, single-stage copy of u-boot (since the whole 2MB is available upon boot, there is no point building a two-stage bootloader,) 512kB to store the bootloader variables, and 512kB to store the system device tree for the kernel to load.

author: andersm
author_rank: Super Contributor
timestamp: October 28, 2018, 04:40:20 pm
content: IIRC someone posted some XIP performance numbers on the Microchip forums, and as you would expect there's a rather significant penalty compared to running from RAM. But if you're using a PIC32, performance probably isn't a concern in the first place.

author: technix
author_rank: Super Contributor
timestamp: October 28, 2018, 04:59:26 pm
content: Quote from: andersm on October 28, 2018, 04:40:20 pmI am running Linux so here is a tradeoff: I can run code solely from DRAM and deal with the RAM pressure while reap the benefit of a higher capacity eMMC or microSD card (or still use that QSPI,) or XIP most of the executables located on the rootfs and free up a lot of DRAM while tolerating a slower execution speed.
How to install SMSC winusb driver using .inf provided by Microchip - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: October 28, 2018, 05:21:25 am
content: Hi,I am trying to connect SEC1210 to the PC to do OTP programming...In the OTP programmer utility, it should enumerate as "SMSC Winusb device". However, my PC gives the error "Unknown USB device" which tells the respective driver is not installed...I have Winusb driver provided by Microchip...But, when I try to install using .inf, I am getting the attached error...Please suggest how to install winusb driver using .inf.

author: TimCambridge
author_rank: Regular Contributor
timestamp: October 28, 2018, 03:58:37 pm
content: The usual advice is to install Winusb via Zadig. Search for Zadig, download, run.Maybe this is different to installing via a SMSC .inf, an expert will know, but it works.

author: mariush
author_rank: Super Contributor
timestamp: October 28, 2018, 04:41:24 pm
content: It looks more like maybe you didn't wire it correctly or the cable or connector is bad.Windows says it can't read the device descriptor from the chip. Do you see the Device ID and PID and all those things when you hit Properties on that entry? If the entries are not read correctly how would Windows determine the proper driver?
Read from STM32F4  USB disk drive  - Page 1
Forum section: electronics / general

author: cncjerry
author_rank: Unknown
timestamp: October 28, 2018, 06:44:04 am
content: You know how you can copy the bin file over to many of the STM boards like the Nucleo and discovery series as they look like a UDB drive when you plug them in, is it possible to copy a small file onto that USB drive from a PC and then read the file using your own code running on the board? I want to allow people to copy config files onto the board and then read them. I can use a micro USB on some but not all of the boards.Thanks,Jerry

author: newbrain
author_rank: Super Contributor
timestamp: October 28, 2018, 11:49:13 am
content: The USB mass memory device is implemented in the ST-Link firmware in the embedded programmer/debugger.The target MCU has no direct access to that drive: the only connections MCU<->ST-Link on the Nucleo/Disco board are the SWD/SWO/NRST lines, and the serial Rx/Tx (sometimes also the MCO).To support what you are asking, the ST-Link firmware would have to provide an access protocol on the serial, or (half-crazy idea) use the debug interface to directly write the configuration in flash or RAM when detecting the write of the file, similarly to what currently happens with the target firmware.Unfortunately, the ST-Link firmware is proprietary and encrypted so one is not free to modify it, albeit bootlegged copy might be found floating in the intertubes (not for v2.1 ST-Link, though!), and the encryptionhas been broken.A simple solution would be to use the already available CDC device, and use a program on the PC to send the configuration file: if a standard protocol (kermit, XMODEM?) or direct raw transfer are used, any serial terminal application would be OK.A more complicated solution, instead, is to replace the ST-Link FW with an open source debugger, such as Blackmagic probe, adding the USB drive functions for programming and configuration...
How fast can MPU-style LCD interface go? - Page 1
Forum section: electronics / general

author: technix
author_rank: Super Contributor
timestamp: October 27, 2018, 04:47:09 pm
content: As the title suggests, I would like to find out the maximum transfer speed for a MPU-style LCD interface with an interface chip that has internal VRAM. From the iMX233 manual NXP suggests that that type of display interface does not run fast enough for a video output, so how fast can they run?
How do you program on ZYNQ frankenstein - Page 1
Forum section: electronics / general

author: Bud
author_rank: Super Contributor
timestamp: October 25, 2018, 03:45:05 pm
content: So there has been lots of buzz about ZYNQ 7000 platform combining the ARM Cortex 9 MCU with an FPGA in a single bottle. But i am struggling to understand the actual workflow for developing code for it. How exactly to do it? Combing through multiple useless ad/selling resources this is my high level understanding so far (using Xilinx tools)- Use the regular FPGA tools to write code for the FPGA part of the monster and compile/create a new IP- use some other tool (the Xilinx SDK?) to write code for the MCU part, import the new IP created on step 1 and connect the two somehowSo it seems there can be inconveniences in integrating the two pieces together since they are made in separate tools/environments. How'd you debug your application if it is not a integrated IDE, so what- each time say you need to recreate the FPGA IP if you change it and import it again to the MCI part of the project? How this is done?

author: a59d1
author_rank: Regular Contributor
timestamp: October 25, 2018, 03:53:17 pm
content: You can debug over JTAG with the SDK or Vivado/Chipscope.

author: dmills
author_rank: Super Contributor
timestamp: October 25, 2018, 04:06:21 pm
content: It is done about the same way you would do it with any other FPGA/Micro project.The usual workflow for me is something like:Develop the FPGA bit at least to the point that I have my AXI busses figured out, the tools will generate a header file that provides the memory map for accessing the peripheral registers I have defined on the AXI interconnects as well as any control registers for IP I may have integrated.Then just fire up the SDK and use the generated header file from the FPGA IP side to write the software. I usually favour a model where the software on the zynq loads the FPGA image soon after boot, but there are other ways to do it. Chipscope for the FPGA logic, gdb and jtag for the software side (And boundary scan testing), just like any other arm.Regards, Dan.

author: Bud
author_rank: Super Contributor
timestamp: October 25, 2018, 06:14:44 pm
content: Ok so my nderstanding was correct that separate tools are used for the two components. thanks.

author: rhb
author_rank: Super Contributor
timestamp: October 27, 2018, 03:30:15 pm
content: Sigh.. I had to buy my DE-10 :-(I'm more familiar with the Xilinx at the moment as I got it first. You can use the FPGA and ARM separately or combined.Combining the FPGA fabric and the hard ARM cores allows the interface between the two to run faster as it doesn't leave the chip. I'm quite surprised that other vendors don't offer FPGAs with hard ARM cores.
"Cloud" Services for ESP8266/32? - Page 1
Forum section: electronics / general

author: Thane of Cawdor
author_rank: Regular Contributor
timestamp: November 02, 2018, 11:18:05 am
content: I was looking to make long-term, multi-zone temperature data-logger using approximately 10 ESP32s running Arduino. Wondering what's the best (preferably cheapest too) way to store the data on a publically accessible database which allows for spreadsheet exporting (.csv or .xls)? Is there a library out there which you've seen/used before?Thanks!

author: cdev
author_rank: Super Contributor
timestamp: November 02, 2018, 11:49:50 am
content: I'm surprised that you can't do that with a home automation program yourself. Have you looked to see if one of the 'domotica' programs already lets you do that with your own DB?

author: sokoloff
author_rank: Super Contributor
timestamp: November 02, 2018, 01:09:09 pm
content: I'd probably start with Google Sheets for the prototype stage.If that doesn't meet your needs, only then consider a cloud DB and what features sheets doesn't give you that you need in the product.

author: kaevee
author_rank: Regular Contributor
timestamp: November 02, 2018, 01:24:58 pm
content: Quote from: Thane of Cawdor on November 02, 2018, 11:18:05 amCheckouthttps://github.com/dreamfactorysoftware/dreamfactoryDreamfactory provides MQTT integration options. Following is an Dreamfactory/MQTT example.http://blog.dreamfactory.com/tutorial-using-mqtt-for-iot-communication-with-dreamfactory-and-raspberry-pi-devices/Edit: I had explored this for a requirement, but never used it.

author: frozenfrogz
author_rank: Frequent Contributor
timestamp: November 02, 2018, 03:10:57 pm
content: +1 for MQTT broker

author: Wiljan
author_rank: Regular Contributor
timestamp: November 02, 2018, 03:34:13 pm
content: I have been running 10 x 8266 D1 wemos + ds1820 sensors for about year onhttps://iot-playground.com/for free.You can the access data onhttps://easyiot-cloud.com/where you can see graphs and also do export as CSVThey do have scrips ready online fro different boards which only needs small adjustment
PIC16F1703 microcontroller - input pins always reads 0 - Page 1
Forum section: electronics / general

author: JoeP
author_rank: Contributor
timestamp: October 26, 2018, 06:39:52 am
content: Datasheet:http://www.farnell.com/datasheets/2137994.pdf?_ga=2.11177268.1643568016.1539016190-2008006305.1520009189The input pins of my microcontroller seems to always be 0, regardless of the input voltage. Here is my code:Code:#pragma config FOSC = INTOSC#include <xc.h>void main(){OPTION_REG = 0b00000011;OSCCON = 0b01111010;TRISC = 0x00;PORTC = 0x00;TRISA = 0xFF;while(1){CLRWDT();if(PORTAbits.RA4)PORTC = 0xFF;elsePORTC = 0x00;}}The LED on port C remains off, whether I connect the RA4 pin to the ground or VDD. However, using RA5 instead does work. What could be causing this? Let me know if there are any tests I should try.

author: MarkF
author_rank: Super Contributor
timestamp: October 26, 2018, 07:38:40 am
content: It appears to me that all the pins that have ADC capabilities are set as analog input by default. Set register A to be all digital inputs (i.e. ANSELA=0).

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: October 26, 2018, 07:43:46 am
content: QuoteQuoteAnalog inputs are enabled at power on and reset. To digital read RA4 you have to set ANSA4 low.

author: JoeP
author_rank: Contributor
timestamp: October 27, 2018, 11:14:17 am
content: Excellent, it's working now, thanks.
Small boards- interface to analog video cameras? - Page 1
Forum section: electronics / general

author: cdev
author_rank: Super Contributor
timestamp: October 27, 2018, 02:22:58 pm
content: I'm wondering what it would take to use legacy analog video signals - for example, the ADC on an stm32f103. Is it fast enough?

author: ebastler
author_rank: Super Contributor
timestamp: October 27, 2018, 02:53:39 pm
content: The ADC in the STM32F103 supprts a maximum conversion rate of 1 MHz, according to the documents I skimmed. That's not enough for typical video signals (think analog TV): These have approx. 4 MHz bandwidth in the luminescence channel, and you need a sample rate of more than twice the bandwidth.

author: cdev
author_rank: Super Contributor
timestamp: October 27, 2018, 03:02:42 pm
content: Interesting, I must confess I was too lazy to go look it up. I knew some people were proposing to use one of the STM32 family chips as an SDR, so in the back of my mind, I thought it was faster. They probably were planning to use it with an intermediate stage IF .
Difference between NB-IoT and Wi-Sun ? - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: October 26, 2018, 01:59:15 pm
content: Hi,I am looking for the difference between NB-IoT and Wi-Sun. As of now, I had that Wi-Sun is an independent network which can be configured as Mesh network, the latency between Transmitter and Receiver is in ms, supports high data rate compared to NB-IoT and we can have our control as it is the local network. For NB-IoT, the cellular base station used as a hub to establish communication between Transmitter and Receiver, latency will be in seconds, supports BPSK and QPSK modulation as per 3GPP release 13 & 14, have very low data rate.Could you suggest if anything is there?Thanks,Muthu
What would be difference between clock latency and propagation delay? - Page 1
Forum section: electronics / general

author: tip.can19
author_rank: Contributor
timestamp: October 25, 2018, 03:52:21 am
content: FPGA/ASIC - I believe the clock latency is the total time it takes from the clock source to an end point. PFA latency.pngWhereas, the propagation delay would simply be the delay between the two edges, like an input output example below. PFA propagation.pngSo in other words, does this mean propagation delay between clock signals is kind of a clock skew, which is measure of latency if one clock period capture?ThanksTip

author: hans
author_rank: Super Contributor
timestamp: October 25, 2018, 07:57:01 am
content: The propagation delaycreatesclock skew or latency. Just like wiring will also create it. It delays the edge traveling from point A to B.Clock skew is measured between 2 points in a circuit. You want to minimize clock skew such that any delay on the clock network is roughly the same, such that the clock will arrive at the flipflops at roughly the same time.I guess you could then define clock latency as the clock skew between the clock source and a node in question.

author: hamster_nz
author_rank: Super Contributor
timestamp: October 25, 2018, 10:45:51 am
content: Quote from: tip.can19 on October 25, 2018, 03:52:21 amPropagation delay is the time it takes for an output of a system to change in response to a change of inputs. Only really makes sense with purely async logi. (where no clock signal is involved).For synchronous logic other parameters make more sense, like setup time, hold time and clock-to-output delays.

author: NorthGuy
author_rank: Super Contributor
timestamp: October 25, 2018, 02:13:19 pm
content: Conceptually, "latency" is the same as "delay".Also, both the clock distribution system (fig.1) and the inverter (fig.2) are asynchronous circuits. The fact that the clock is used to synchronize flip-flops does not make the clock itself synchronous. This is why it is important to equalize delays through the clock system (thereby minimizing skew). In contrast, flip-flops are synchronized by the clock, therefore there's no need to equalize delays through the combinatorial logic feeding the flip-flops - the combinatorial delays may vary wildly as long as the setup and hold requirements of the flip-flops are met."Latency" often refers to performance. Thus, you wouldn't refer to combinatorial delays as "latency" because the performance in RTL system is set by the clock. Even if your combinatorial logic settles extremely fast, you still need to wait for the clock to affect the receiving flip-flop. Therefore, in RTL systems, the latency is determined by the number of clock cycles between inputs and outputs. However, smaller combinatorial delays may let you run the clock faster, thus decreasing the overall latency.

author: tip.can19
author_rank: Contributor
timestamp: October 25, 2018, 05:55:13 pm
content: Thanks guys for helping me with your inputs!Regards
Can I get any ARM microcontroller dev board and its JTAG programmer <$40 - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: October 25, 2018, 09:11:19 am
content: Hi,I am looking for ARM MCU dev board and its JTAG programmer and expecting them to cost me under $40...Please suggest if you came across them...Thanks,Muthu

author: awde
author_rank: Newbie
timestamp: October 25, 2018, 09:18:31 am
content: Any ST Discovery or Nucleo board. They both include snap-off ST-Link for debugging.

author: westfw
author_rank: Super Contributor
timestamp: October 25, 2018, 09:31:56 am
content: Also, see this discussion (not all of the boards mentioned include debug interfaces. But many do...):https://www.eevblog.com/forum/microcontrollers/list-of-cheap-arm-development-boards/

author: wraper
author_rank: Unknown
timestamp: October 25, 2018, 11:32:00 am
content: Silicon labs Dev boards have built in segger j-link which can be used internally or with external device. Price eur 30+

author: richardman
author_rank: Frequent Contributor
timestamp: October 25, 2018, 08:07:27 pm
content: I am a big fan of the ST-Nucleo boards. They all have builtin ST-LINK/V2 and most are $15 or less. They come in 3 (or more) different sizes mainly depending on which MCU you choose. The pinouts are subset and superset of Arduino. Great way to evaluate any ST MCU.

author: poorchava
author_rank: Super Contributor
timestamp: October 25, 2018, 09:08:16 pm
content: +you can use Seggers official tool to reflash ST-Link to become a J-link (and can be reversed using the same tool).The limitations are that you are allowed to flash that stuff only onto a development board, only to use with STM32's (haven't actually tried if it even works with other brands' chips), and can't use it in production. None of there seem to be a problem for you, and J-link offers much better performance over ST-link.Actually, you can get NUCLEO-H743ZI board for about 20-25€, and H743 is the most powerful ARM microcontroller on the market (400MHz CM7 with double precision FPU 1Mbyte RAM, 2Mbyte flash, shitload of everything you'll need and another 2 shitloads of stuff you'll probably never need)https://www.st.com/en/microcontrollers/stm32h743zi.html

author: thm_w
author_rank: Super Contributor
timestamp: October 25, 2018, 11:07:23 pm
content: Quote from: poorchava on October 25, 2018, 09:08:16 pmI tried with Atmel SAMD and it didn't work. Ended up buying a j-link clone for $15 or so.
RX480 identify burned chip (irc 3958) - Page 1
Forum section: electronics / general

author: Nils
author_rank: Newbie
timestamp: October 31, 2018, 09:12:19 pm
content: Hello,I am very sorry if im wrong here but i didn't know where else to ask.I recently got a Gigabyte rx480 gpu that didn't work. When i took it apart i noticed a small chip that was burned. After searching for ages i couldn't find anything with the numbers written on it.On the board itself it is labeled pu1 and in the chip i says irc 3958.If anyone knows what chip it is, what its used for or if its possible to buy a replacement id be very thankfull.It would also be interesting to know your thoughts if it was the cause of the gpu failing or if it was just a victim.Sorry again, im very new to more complex electronics but id like to learn more.

author: wraper
author_rank: Unknown
timestamp: October 31, 2018, 09:19:43 pm
content: I'm not so sure if it's correct marking. Could you make a good photo (maybe clean with alcohol) of PU2 which is the same IC? BTW you should have posted this in repair section.

author: lucazader
author_rank: Regular Contributor
timestamp: October 31, 2018, 11:31:01 pm
content: Can you post a larger photo of the PCB so we can get an idea of where the chip is positioned on the board. might help us figure out what function this chip performs.There are quite a few PCB teardowns of RX480's online (quite a few done by a guy called buildziod at actually hardcore overclocking on youtube).I would guess that it is either a gate driver for the fet's, or a minor voltage rail controller. Maybe a phase doubler.The part number does seem eerily similar to the IR3598 phase doubler/gate driver that is quite commonly found in video cards. 16qfn package seems to be right as well.Maybe check to see if this the chip.https://www.infineon.com/dgdl/ir3598.pdf?fileId=5546d462533600a4015355cdad66176d

author: Nils
author_rank: Newbie
timestamp: November 01, 2018, 02:15:10 pm
content: ThanksThat should be the chip i was searching for.Here are a clearer picture of pu2 and a picture of the whole card

author: Nils
author_rank: Newbie
timestamp: November 01, 2018, 02:16:45 pm
content: Oh,Im not sure how it ended up here.I thought i had repair selected.

author: Ice-Tea
author_rank: Super Contributor
timestamp: November 01, 2018, 02:34:14 pm
content: As mentioned most probably IR3598 (Infineon)

author: wraper
author_rank: Unknown
timestamp: November 01, 2018, 02:58:25 pm
content: Yeah, should be IR3598. You mixed up 2 digits in the first post, hence I asked for a photo suspecting something is not right. You should also check if VRM MOSFETs it is controlling are not blown up/shorted. They should be somewhere close on the opposite side.
Critical Flaws Found in Amazon FreeRTOS IoT Operating System - Page 1
Forum section: electronics / general

author: diyaudio
author_rank: Frequent Contributor
timestamp: October 22, 2018, 05:08:33 pm
content: A security researcher at Zimperium Security Labs (zLabs), discovered a total of 13 vulnerabilities in FreeRTOS's TCP/IP stack that also affect its variants maintained by Amazon and WHIS.https://thehackernews.com/2018/10/amazon-freertos-iot-os.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+TheHackersNews+%28The+Hackers+News+-+Security+Blog%29&_m=3n.009a.1856.ch0ao075h1.151u

author: nomadd
author_rank: Contributor
timestamp: October 23, 2018, 05:34:34 pm
content: Quote from: diyaudio on October 22, 2018, 05:08:33 pm..and already patched.Whole-story always better, although less dramatic, than a half-story.

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: October 23, 2018, 05:50:02 pm
content: Quote from: nomadd on October 23, 2018, 05:34:34 pmThat's good news, but I wonder how many unpatched, vulnerable devices are out there? Most people don't bother to update FW on the types of devices that typically use FreeRTOS.

author: richardman
author_rank: Frequent Contributor
timestamp: October 23, 2018, 10:37:00 pm
content: Quote from: Sal Ammoniac on October 23, 2018, 05:50:02 pmYup, this could be problems for years to come... especially after the researchers release the details.This is a tough problem that will only get worse when there are more and more IoT devices out there.

author: obiwanjacobi
author_rank: Super Contributor
timestamp: October 24, 2018, 03:11:27 pm
content: Quote from: richardman on October 23, 2018, 10:37:00 pmMost of which don't even run a well tested (RT)OS...

author: westfw
author_rank: Super Contributor
timestamp: October 25, 2018, 12:00:27 am
content: To be honest, I don't know how important these are in the sort of device that is likely to be running FreeRTOS."Remote code execution" would tend to need a either a highly standardized environment (execute system("/bin/sh -u root")) or a very specifically crafted attack for a particular device ("Increase centrifuge speed to 'self-destruct' by re-writing PWM register")"Information leak" is likely to be the usual set of "we didn't clear the packet in between the end of the data we're sending and the end of a minimum-sized packet, so there might be "other" data there." (clearing memory is a particularly annoying performance sink in limited systems :-( ) Yawn.

author: diyaudio
author_rank: Frequent Contributor
timestamp: October 25, 2018, 11:00:48 am
content: Quote from: westfw on October 25, 2018, 12:00:27 amUntil some does a 360 at BlackHat and proves otherwise.
Timer0 Register Low Byte and high byte(PIC18f4550) - Page 1
Forum section: electronics / general

author: khatus
author_rank: Regular Contributor
timestamp: October 19, 2018, 07:48:55 pm
content: This is the code generated by mikroC timer calculator for 10 ms delay using timer0 ( I'm using pic18f4550)//Timer0//Prescaler 1:1; TMR0 Preload = 15536; Actual Interrupt Time : 10 ms//Place/Copy this part in declaration sectionvoid InitTimer0(){T0CON = 0x88;TMR0H = 0x3C;TMR0L = 0xB0;GIE_bit = 1;TMR0IE_bit = 1;}void Interrupt(){if (TMR0IF_bit){TMR0IF_bit = 0;TMR0H = 0x3C;TMR0L = 0xB0;//Enter your code here}}My question is why Timer0 Register Low Byte and high byte is mentioned two times1. insideInitTimer0()function??2. InsideInterrupt()function??

author: cv007
author_rank: Frequent Contributor
timestamp: October 19, 2018, 08:30:52 pm
content: Because with the 16bit timer being driven by a 5MHz clock (20MHz/4), it takes 13.1072ms to overflow the timer.You want 10ms it seems.In order to do that, the timer is 'pre loaded' with a value that will result in an overflow in 10ms.With a pre load value of 15536, you now have 50000 counts before the timer overflows (65536 - 15536 = 50000).The first time you pre load in the init, the timer overflows in 10ms.In the interrupt, you also have to pre load the timer, as it will be close to 0.So you have two places setting the timer pre load value.Easy.

author: ggchab
author_rank: Frequent Contributor
timestamp: October 19, 2018, 08:45:36 pm
content: Timer0 register is incremented by the timer hardware. So, it does not keep its initial value. When it reaches 0, an interrupt is triggered and the Timer0 register has to be reloaded again for the next 10 ms interval.

author: jpanhalt
author_rank: Super Contributor
timestamp: October 19, 2018, 10:24:42 pm
content: I thought your question got answered here:https://forum.allaboutcircuits.com/threads/timer0-register-low-byte-and-high-byte-pic18f4550.153210/

author: macboy
author_rank: Super Contributor
timestamp: October 24, 2018, 05:53:30 pm
content: Quote from: cv007 on October 19, 2018, 08:30:52 pmI'll add that if you want a low-jitter 10 ms period, then you should notsetthe timer value, butincrementit within the ISR. This way, interrupt latency doesn't affect the timer period. This is especially important if you have any additional sources of interrupts other than the timer (which is usually the case).

author: bson
author_rank: Unknown
timestamp: October 24, 2018, 06:38:42 pm
content: It really should be subtracting the interval from the counter rather than resetting. But good luck getting that to work correctly in a PIC without occasionally losing a count or even 256 counts... (Or rather, best wishes dealing with the headache - it's doable but a PITA.)
Timer Delay & Interrupt in STM32 - Page 1
Forum section: electronics / general

author: sai
author_rank: Newbie
timestamp: October 26, 2018, 09:09:46 am
content: void MX_TIM5_Init(void){TIM_ClockConfigTypeDef sClockSourceConfig;TIM_MasterConfigTypeDef sMasterConfig;htim5.Instance = TIM5;htim5.Init.Prescaler = 84;htim5.Init.CounterMode = TIM_COUNTERMODE_UP;htim5.Init.Period = 99; //interrupt in 100 micro sec// htim5.Init.Period = 50; //interrupt in 50 micro sechtim5.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;if (HAL_TIM_Base_Init(&htim5) != HAL_OK){Error_Handler();}sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;if (HAL_TIM_ConfigClockSource(&htim5, &sClockSourceConfig) != HAL_OK){Error_Handler();}sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;if (HAL_TIMEx_MasterConfigSynchronization(&htim5, &sMasterConfig) != HAL_OK){Error_Handler();}}void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle){if(tim_baseHandle->Instance==TIM5){/* USER CODE BEGIN TIM5_MspInit 0 *//* USER CODE END TIM5_MspInit 0 *//* Peripheral clock enable */__HAL_RCC_TIM5_CLK_ENABLE();/* Peripheral interrupt init */HAL_NVIC_SetPriority(TIM5_IRQn, 0, 0);HAL_NVIC_EnableIRQ(TIM5_IRQn);/* USER CODE BEGIN TIM5_MspInit 1 *//* USER CODE END TIM5_MspInit 1 */}}void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle){if(tim_baseHandle->Instance==TIM5){/* USER CODE BEGIN TIM5_MspDeInit 0 *//* USER CODE END TIM5_MspDeInit 0 *//* Peripheral clock disable */__HAL_RCC_TIM5_CLK_DISABLE();/* Peripheral interrupt Deinit*/HAL_NVIC_DisableIRQ(TIM5_IRQn);}/* USER CODE BEGIN TIM5_MspDeInit 1 *//* USER CODE END TIM5_MspDeInit 1 */}This is how i have initialised the timer now i am looking to put delay betweenSetPWM(x,dutycycle);SetPWM(y,dutycycle);SetPWM(z,dutycycle);delay();SetPWM(x,0);SetPWM(y,0);SetPWM(z,0);PWM pins iam using are PB0,PC6,PC7 in STM32F407VG Controlleri Have 3 PWM channels i want to take the present dutycycle and after some delay i want to make it zero nothing but i want to blink. dutycycle may be changed continuously but not constant change in interval time that depends on user. delay is also different depends on user selection it should be between 25 to 250 ms. during blinking if change in PWM it has to take that PWM and continue blinking. if iam giving constant PWM and using then there is no problem if i change the PWM continuouslt then it is hanging
How to understand -edge option if first edge of generated clock is falling edge? - Page 1
Forum section: electronics / general

author: tip.can19
author_rank: Contributor
timestamp: October 29, 2018, 02:22:19 am
content: I am trying to understand the waveform created by create_generated_clock with -edge option.Suppose I have master clock as create_clock 2 [get_ports DCLK] like PFA - master_clock.pngI do create_generated_clock -name G3CLK -edges {5 7 10} -source DCLK [get_pins UAND0/Z]Assuming needed is first edge of generated clock is falling edge, it is inferred at 1ns (or 2) automatically and why not at 3? Why would that be? PFA generated_clock.pngThanks

author: tip.can19
author_rank: Contributor
timestamp: October 29, 2018, 09:34:26 am
content: i think i misunderstand the diagram with edges. I suppose the 11th edge is nothing but first edge, so from 10 to 11th edge is equal to high period (1 step/1ns) and then 1 to 2nd edge (1ns) as another step which makes positve 2ns, so the fall is at edge 2 and not 3. I hope this understanding is correct.
IP stack for using in Microblaze.. - Page 1
Forum section: electronics / general

author: mrpackethead
author_rank: Super Contributor
timestamp: October 23, 2018, 06:43:47 am
content: Just wondering if any of you good folks have any experience with various IP stacks in Microblaze. I see a lot is done with FreeRTOS and LWIP.. Im interested if anyone has done FreeRTOS/TCP-IP in Microblaze. ( and if there are any performance improvements)

author: NorthGuy
author_rank: Super Contributor
timestamp: October 23, 2018, 01:25:39 pm
content: Quote from: mrpackethead on October 23, 2018, 06:43:47 amXilinx has an app note on lwIP for Microblaze:https://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf
Industrial Programmable Cyclic On-Off timer using PIC - Page 1
Forum section: electronics / general

author: epy
author_rank: Regular Contributor
timestamp: October 14, 2018, 06:22:18 am
content: Hi,This project is to build cyclic on-off programmable timer. In this project user can set ON timer and Off time using keys and 7 segment display. Relay is provided as output, where relay will be remained ON for ON time and it will goes OFF after ON time overs. And Relay will remain Off till Off time overs.Components required for the project:1 x PIC16F876A4 x Keys4 x 7 SegmentHere is hex file path:https://github.com/embhobbb/electronicsDIYHere is Demo of the Project !!!https://youtu.be/QYUM4Z4LODcPlease Like, Share and Subscribe for the Channel.Regards,Stechiez Sol.

author: epy
author_rank: Regular Contributor
timestamp: October 18, 2018, 04:26:27 pm
content: Here is instructable page where i have updated schematic of the project.
Having issues with using simultaneous timers [STM32] - Page 1
Forum section: electronics / general

author: XaviPacheco
author_rank: Regular Contributor
timestamp: October 17, 2018, 11:57:04 am
content: In my nucleo L432KC, I have set Timer 1 for PWM generation, Timer 15 as a timer based interrupt and Timer 2 as PWM input mode. Timer 1 and Timer 15 works well until a point. My clock frequency is 2MHz. For example, I wanted a 50 kHz update event, so I set Timer 15 Precaler 0 and period 39. in that case While(1) loop never executes, i.e, the program hangs.When I start timer 2 as:HAL_TIM_IC_Start_IT(&htim2, TIM_CHANNEL_3);HAL_TIM_IC_Start_IT(&htim2, TIM_CHANNEL_4);My timer 1 misbehaves. The program in general misbehaves. What could be happening here? It's like Timer 15 interrupt is taking all the control? Is something related with interrupts priorities?

author: Siwastaja
author_rank: Super Contributor
timestamp: October 17, 2018, 12:57:53 pm
content: It's impossible to say with so little info.The HAL is great as long as everything just works out, but when it doesn't, you don't have visibility, or knowledge how the timers work internally. The two first things I'd do here:1) Read the relevant timer sections of the reference manual, so that you have an idea about they are supposed to work internally, including the status register,2) Then I'd look up these HAL functions and bring their code - even with just copypasting - to your own program. Even though you could use a debugger to see what happens in the HAL functions, it's easier to have it in your own code base, so you can make any modifications to test things out.When you do that, you are exposed to the status registers of the timers, can look at them in debugger on print them out any way you wish. This gives you a starting point how to investigate such issues.If your "program hangs", there tends to be two possibilities,1) you have an ISR which reruns infinitely because the relevant flag is not cleared, not a single cycle is available to your main program. With a debugger, just stop and see where you are. Without a debugger, turn on an LED at the beginning of the interrupt handler and turn it off at the end. You instantly see the CPU time spent in the interrupt from the LED brightness (and can look it up with a scope for precise timing).2) some of those HAL_ functions have a while() loop which does something (polls for a status), and if never satisfied, locks the system up. IMHO, a timer start functionshouldn'tneed such a while() loop at all, but the HAL is quite crap...ish so it's well possible.Do you have hardfault, busfault, usagefault etc. handlers?