hybridfree/eevblog-posts huggingface dataset:
Looking for a I2C controlled USART MUX/DEMUX IC  - Page 1
Forum section: electronics / general

author: diyaudio
author_rank: Frequent Contributor
timestamp: January 04, 2019, 10:05:50 am
content: I'm looking for a I2C controlled USART MUX/DEMUX IC, TX/RX pins up to 4 channels.any suggestion ?

author: fchk
author_rank: Frequent Contributor
timestamp: January 04, 2019, 12:10:26 pm
content: There are analog bus switches like 74FST3257 or 74CBT3257 you can use.I2C controlled ... sorry, you won't find that. Use an PCA9536 etc to get missing io pins.

author: diyaudio
author_rank: Frequent Contributor
timestamp: January 04, 2019, 12:30:03 pm
content: yeah, have to drop the I2C requirements, and use spare I/O's.... I was looking at the SN74LV4052A seems good too.

author: Ian.M
author_rank: Super Contributor
timestamp: January 04, 2019, 12:35:46 pm
content: There are various I2C controlled crosspoint analog switch matrix ICs that could be used as a single-chip logic level UART switching solution.e.g.https://datasheets.maximintegrated.com/en/ds/MAX14724.pdfIts an 8:4 matrix and you only need 8:2. OTOH if you strap one of its spare COMx pins to logic Vcc, you can drive deselected TX lines high (idle state) without pullups. You could also strap the other spare COMx pin low to let you drive TX lines low to send a Break condition.

author: TomS_
author_rank: Frequent Contributor
timestamp: January 04, 2019, 01:10:21 pm
content: Quote from: diyaudio on January 04, 2019, 12:30:03 pmI have used a 74HC4052 for this exact purpose in one of my own projects, works a treat.You can then simply use two GPIOs as the select lines, or some other I2C connected GPIO expander to supply the select lines.And dont forget pull up resistors on the outputs of a mux connected to the RX of a device, as the 4052 pins are HiZ when not selected.

author: diyaudio
author_rank: Frequent Contributor
timestamp: January 04, 2019, 01:19:47 pm
content: Quote from: TomS_ on January 04, 2019, 01:10:21 pmhttps://coolcapengineer.wordpress.com/2013/01/04/electronics-serial-expansion-using-74hc4052/
STM32 USB_DP 1.5k pull up disconnect - Page 1
Forum section: electronics / general

author: MarkM
author_rank: Regular Contributor
timestamp: September 19, 2015, 07:43:13 pm
content: I'm moving away from AVR and going to ARM for my next project. I've been going through the datasheet(STM32Fxxx)and I see it says to use a 1.5k pull up resistor to VCC on USB_DP. Easy enough. I've been looking at some schematics for boards like the Maple/Maple mini and they have me a bit confused. Many of the schematics have a disconnect setup for that pull up for some reason, but I don't know in what situation you would want it to be disconnected. Anyone have any idea about that?Attached is the schematic for a similar board. Thanks!

author: langwadt
author_rank: Super Contributor
timestamp: September 19, 2015, 08:13:24 pm
content: Quote from: MarkM on September 19, 2015, 07:43:13 pmit means you can plug and unplug from software

author: robint91
author_rank: Contributor
timestamp: September 19, 2015, 08:15:46 pm
content: I use it to remunerate my device when I'm switching from USB bootloader to the normal firmware.To bootloader:-Disconnect the pull-up-Set magic byte somewhere-Reset MCU-Exec bootloader because of the magic byteAnd the same story goes for other way around.The USB host detects it as a device removal and when the pull up is back it remunerates again.I just connect the resistor to a normal gpio that I use as a tristate buffer (switch between input 'HiZ' and output '1')

author: andersm
author_rank: Super Contributor
timestamp: September 19, 2015, 08:21:51 pm
content: You can disable the pullup if you eg. want to delay detection to fully initialize the device, or disconnect to force re-enumeration.

author: MarkM
author_rank: Regular Contributor
timestamp: September 19, 2015, 08:35:12 pm
content: Very cool, thanks! Are you guys doing it the same way? Here's another schematic.

author: robint91
author_rank: Contributor
timestamp: September 19, 2015, 08:56:25 pm
content: This is my go to circuit for a STM32. You don't need to have that pull up if you are using F2's/F4's.I have some example code that uses this kind of pull up.https://bitbucket.org/robint91/vmarker-sensor-firmware/src/1c4a9c627990a3a40a7171d2cc4c1145c6d66932/src/usb/usb.c?at=default&fileviewer=file-view-defaultCheck around line 43

author: MarkM
author_rank: Regular Contributor
timestamp: September 19, 2015, 09:29:00 pm
content: Awesome! I see how you did that. Less parts is great. Thanks for the tip! I'm going to be using the F103T8. It's the QFN36.

author: Smokey
author_rank: Super Contributor
timestamp: December 29, 2018, 11:21:56 am
content: Bump for remembering to add the 1.5K pull up to USB_DP, and adding one more +1 to having the processor in control of that pull up so it can re-enumerate. Especially for development boards. I swear I was about to wear out my USB port before I took the time to make this switchable from a GPIO.
JFET U3114 - Page 1
Forum section: electronics / general

author: xantia_99
author_rank: Contributor
timestamp: December 28, 2018, 09:09:42 am
content: HiKnowledge about Jfet U3114, let me know. I can not find data for it. I have to find a equivalent. Today I will test it in my Heathkit IT-3121 but I doubt it will give anything. I guess it is an early Teledyne component but I am not sure.
LC4608C print head driver is not in production...any alternate make? - Page 1
Forum section: electronics / general

author: muthukural001
author_rank: Regular Contributor
timestamp: December 28, 2018, 07:08:59 am
content: Hi,A project needs to use LC4608C that has 64-bit output and each can source 400mA...Unfortunately, it is not in production...I am exploring an alternate...Please suggest if you see a match for the driver...Thanks,Muthu
SD CARD - Page 1
Forum section: electronics / general

author: alizare368
author_rank: Regular Contributor
timestamp: December 26, 2018, 02:32:33 pm
content: HiI want to launch sd card with stm32f401 (by stm32cube) as 4 bits wide bus and I used these codes.FATFS SDFatFs;FIL MyFile;char SDPath;static FRESULT res;uint32_t byteswritten, bytesread;uint8_t wtext[] = "This is STM32 working with FatFs";uint8_t rtext;res=FATFS_LinkDriver(&SD_Driver, SDPath);res=f_mount(&SDFatFs, (TCHAR const*)SD_Path, 0);res=f_mkfs((TCHAR const*)SDPath, 0, 0);res=f_open(&MyFile, "STM32.TXT", FA_CREATE_ALWAYS | FA_WRITE);res=f_write(&MyFile, wtext, sizeof(wtext), (void *)&byteswritten);res=f_close(&MyFile) ;but it does not work.someone can help me???

author: agehall
author_rank: Frequent Contributor
timestamp: December 26, 2018, 04:54:48 pm
content: Well, where does it fail? Start by checking the return codes and print out where the system calls fail.Also, I think there might be issues outside of the code you show, in terms of how the device is set up in general.

author: @rt
author_rank: Super Contributor
timestamp: December 28, 2018, 06:50:33 am
content: Is that ChaN’s SD card library?Yes, you want to check result “res” each time it’s written to, and find the error code,then flash it out with an LED or somethingCode:res=FATFS_LinkDriver(&SD_Driver, SDPath);if (res != 0) {itsfucked();}
Chip markings on an ST chip that I recently bought - Page 1
Forum section: electronics / general

author: electrotwelve
author_rank: Contributor
timestamp: December 11, 2018, 01:28:01 pm
content: I'm beginning a project with BLDC motors and I bought the STSPIN32F0A chip fromelement14. The chips that were delivered (shown below) show the part # as STSPIN32F0 without the "A" at the end. Both these chips, while being BLDC motor drivers, have different pinouts. Did element14 cock up the order here? I couldn't find any information on the chip markings and ST support is non-responsive as usual. Any help would be appreciated. Thanks!

author: mbless
author_rank: Regular Contributor
timestamp: December 11, 2018, 09:52:35 pm
content: If you compare images of the STEVAL-SPIN3201 vs. STEVAL-SPIN3202 evaluation boards you'll see the STSPIN32F0A has an "A" next to the circled "e3". The STSPIN32F0 on the STEVAL-SPIN3201 don't have this. I'd wager that is the code you're looking for.

author: electrotwelve
author_rank: Contributor
timestamp: December 26, 2018, 01:42:36 pm
content: Thank you. This helps! I finally ordered a bunch of the F0A from different vendors and they all have the same markings.
SD CARD - Page 1
Forum section: electronics / general

author: alizare368
author_rank: Regular Contributor
timestamp: December 25, 2018, 11:53:44 am
content: HiI designed a board with stm32f401rct and used sdcard FatFs example but it does not answer.should we use this function(void disk_timerproc (void))?the example code is located in the txt file.
Mediatek parts  - Page 1
Forum section: electronics / general

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: December 23, 2018, 02:35:32 pm
content: Hi,Recently I liked them, the problem is there is no datasheet, user-manual, app note, and finally no where to buy the parts from themUnless I have missed something.Do you have any Idea where to find these info, or to buy the chips, for example the MT2625 NB-IoT seems useful.

author: Rasz
author_rank: Super Contributor
timestamp: December 23, 2018, 03:10:16 pm
content: You could probably source them thru Huaweion a serious note all documentation is available locally in mandarin

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: December 23, 2018, 07:18:37 pm
content: Some parts are available on keil packs, I think they should have some hidden English docs out there

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: December 24, 2018, 12:09:33 pm
content: Thanks, But what an stupid business plan, why not sell to every body that you can find and convince

author: coppice
author_rank: Super Contributor
timestamp: December 24, 2018, 12:31:34 pm
content: Quote from: ali_asadzadeh on December 24, 2018, 12:09:33 pmConvincing people is expensive, so its something you only want to do if a large order rests on it. MediaTek's history is in supplying a small number of high volume customers will cellular radio products, so broad marketing didn't make a lot of sense for them. Now they are trying to get into more broadly spread IoT applications, with ULP wifi and embedded cellular modems, they might need to adjust their practices.Because cellular applications usually require a lot of vendor/customer interaction, and the all the vendors and customers know each other well, very few cellular devices have full documentation downloadable from the silicon vendor's site. Even a company like TI, which provides all information for most of its devices on its web site, required direct interaction with the company for cellular devices when they were the big cellular supplier.

author: Rasz
author_rank: Super Contributor
timestamp: December 24, 2018, 07:19:37 pm
content: Quote from: ali_asadzadeh on December 24, 2018, 12:09:33 pmthey are crying all the way to the bank
Arduino Mini Pro & ESP8266 & NRF24L01 connection does not work - Page 1
Forum section: electronics / general

author: panoss
author_rank: Frequent Contributor
timestamp: December 23, 2018, 11:22:07 am
content: I want to make a RF connection using:-transmitter: Arduino Mini Pro & NRF24L01-receiver: ESP8266 & NRF24L01With nRF24L01.h RF24.h libraries made by TMRh20This is the transmitter 's code:Code:/** Arduino Wireless Communication Tutorial* Example 1 - Transmitter Code** by Dejan Nedelkovski, [url=http://www.HowToMechatronics.com]www.HowToMechatronics.com** Library: TMRh20/RF24, https://github.com/tmrh20/RF24/*/#include <SPI.h>#include <nRF24L01.h>#include <RF24.h>RF24 radio(9, 10); // CE, CSNconst byte address = "00001";void setup() {radio.begin();radio.openWritingPipe(address);radio.setPALevel(RF24_PA_MIN);radio.stopListening();}void loop() {const char text[] = "Hello";radio.write(&text, sizeof(text));delay(1000);}And thisis how Arduino mini pro and NRF24L01 are connected:NRF24L01 Arduino mini proVCC VCCGND GNDCSN 10CE 9SCK 13MOSI 11MISO 12NRF24L01 has a 47uF electrolytic capacitor between VCC & GND.Have I done it ok on the transmitter side? (later on I 'll post the receiver 's details, after we clear out the transmitter is ok)Any help is welcome.

author: hussamaldean
author_rank: Unknown
timestamp: December 24, 2018, 04:09:33 am
content: try these codes herehttps://howtomechatronics.com/tutorials/arduino/arduino-wireless-communication-nrf24l01-tutorial/
FreeRTOS C++ Utility Library - Page 1
Forum section: electronics / general

author: rounin
author_rank: Regular Contributor
timestamp: December 22, 2018, 11:08:44 pm
content: I decided to post a small C++ wrapper & utility library for FreeRTOS -https://github.com/jacobschloss/freertos_cpp_utilIt is mostly a wrapper around the C API, with one slightly fancier object pool -https://github.com/jacobschloss/freertos_cpp_util/tree/master/include/freertos_cpp_util/object_pool. The object pool uses placement new to allow constructors to be called, unlike the usual freertos queues which require POD / C style data. I've found it useful as a way to wait for high-level things to be available, like DMA buffers, that can benefit from in-place construction.It has some c++11 features where useful, like converting between a templated std::chrono::duration<Rep,Period> and rtos ticks automatically for timeouts in queue, mutex, pool operations, and trying to make a std::mutex compatible mutex class so std::unique_lock and std::lock_guard can be used for scoped/RAII lock and unlock.This particular incarnation hasn't had much runtime yet, mostly re-written from memory in one sitting from other wrappers I've written in the past. I'll start using this version though, so it will be getting some testing / more features as I need them. This is mainly intended for micro-controllers with maybe ~100kB sram, the template code and virtual function calls add a few extra kB of flash and few extra stack frames. It hasn't been an issue for me, but I've only targeted large microcontrollers / small application processors in the past.

author: rounin
author_rank: Regular Contributor
timestamp: December 30, 2018, 04:24:02 am
content: Another higher level feature:Condition VariablesI've wanted condition variables for a long time, and took the approach inthis paper from ms reasearchsince FreeRTOS does not have a built-in way to atomically unlock a semaphore and suspend a task, or atomically switch which object you are waiting on. Basically, there is a LIFO for waiters and a per task binary semaphore, and it can emulate what is better done directly in the scheduler.I just started playing with it, seems to be working but haven't really stressed it yet. Apparently there have been posts since 2010 on the FreeRTOS forum asking for them and the response was "why would you want those"....I think they make stream handling code much more readable, but I am a fan of C++11 style predicates and function objects.The paper is pretty neat. Nice bit of OS implementation history, very readable.
Geekcreit CS-DY transistor tester kit - Page 1
Forum section: electronics / general

author: galena55
author_rank: Newbie
timestamp: December 21, 2018, 06:38:47 pm
content: I have bought on Bangood a Geekcreit CS-DY transistor tester kit.Where can I find a HEX or source firmware for upgrading it?I noticed that the LCD display connections are different from the original german project.Thank you in advance for your replies.Alberto Italy

author: ledtester
author_rank: Super Contributor
timestamp: December 21, 2018, 08:48:46 pm
content: The main thread here for those AVR component testers is athttps://www.eevblog.com/forum/testgear/%2420-lcr-esr-transistor-checker-project/and the website for all of the docs and software is located at:https://www.mikrocontroller.net/articles/AVR_Transistortester

author: chickenHeadKnob
author_rank: Super Contributor
timestamp: December 23, 2018, 06:37:35 pm
content: Quote from: ledtester on December 21, 2018, 08:48:46 pmI think ledtester intended this EEvblog urlhttps://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/
NEC μPD77P25GW ROM dumping - Page 1
Forum section: electronics / general

author: Treehouseman
author_rank: Unknown
timestamp: December 19, 2018, 06:53:31 am
content: I have an Aicom Accent Messenger IC speech synthesizer that is a PCMCIA card. The unit uses a NEC μPD77P25GW DSP for the spech generation and I have a feeling that it's designed to be a Votrax SC-02/SSI-263 simulation. Aicom had other models that I found mentions being Votrax based units, but bing a PCMCIA card they couldn't use the normal DIP package the Votrax came in. I've gotten the unit working and the speech seems quite similar to a SC-02. I'm wanting to try to get a dump of the program and data rom, but these chips support a read protect. I saw that these were used in a bunch of SNES cartridges as the DSP-1 chip and in some arcade machines, and there's dumps of a lot of the SNES games but seems like some of those were done via decapping since they were mask rom. This is the EPROM variant, so I'd have to manually read it. I'm wondering if anyone might know of a way to bypass the read protect on these, I'm wanting to document and save as much as possible about this unit. Also if anyone has any info on Aicom and it's other products that could also be very helpful.At the moment I'm going to hold off on attempts to remove the chip until I get a chance to do some probing and data logging to look into the way the computer talks to the unit, but in the end it I want to try to get a rom dump to preserve it. Aicom had this as a direct alternative to their standalone models, realistically it would be meant to sound the exact same, and if the other models used a Votrax SC-02, it would stand to be that this is a DSP recreation. There's already emulators for this DSP, if it is a Votrax substitute this could lead to fun software emulation of a now expensive speech chip.This is the floppy images I have, pictures of the inside of the device, and audio of the demo text files played via the demo basic programhttp://id10t-tech.com/filedump/Aicom%20Messenger%20IC.zip
4G-LTE + GPS module under $10 - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: December 17, 2018, 12:13:43 pm
content: Hello All,I am looking for a 4G+GPS module which supports LTE band of B3, B5 and B40 and GPS frequency of 1.5GHz...Modules from Telit and Sierra are too expensive...Please suggest if you have come across any cheaper modules...Thanks,Muthu

author: ebclr
author_rank: Super Contributor
timestamp: December 17, 2018, 11:43:29 pm
content: I guess isn't available nothing at this price point

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 18, 2018, 12:36:58 am
content: The SIM7000C LTE module can be had for around $15 at Aliexpress (you may probably even get it cheaper depending on the quantity), but doesn't have GPS.

author: krish2487
author_rank: Frequent Contributor
timestamp: December 18, 2018, 09:26:58 am
content: I do believe they have AGPS function. The dev boards seem to ship with a GPS antenna as well and the GPS works fine. Not particularly fast for a cold start. but fairly accurate (<10m error) and inside a building in a fairly dense concrete jungle.This is the module I am referring to.https://www.aliexpress.com/item/Waveshare-NB-IoT-eMTC-EDGE-GPRS-GNSS-HAT-for-RPi-Zero-Zero-W-Zero-WH-2B/32884594226.html?spm=2114.search0104.3.2.43561f712AgFMM&ws_ab_test=searchweb0_0,searchweb201602_1_10065_10068_319_317_10696_10084_453_454_10083_10618_10304_10307_10820_10821_538_537_10302_536_10059_10884_10887_100031_321_322_10103,searchweb201603_51,ppcSwitch_0&algo_expid=af0ce6fd-18ea-461b-a5da-ad56fdd809b7-0&algo_pvid=af0ce6fd-18ea-461b-a5da-ad56fdd809b7

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 18, 2018, 02:28:49 pm
content: Quote from: krish2487 on December 18, 2018, 09:26:58 amNice. This is a SIM7000E, I wonder whether the 7000C has similar features (it wasn't as obvious, but it may), but since the cost seems close enough, it's probably best to go with the SIM7000E.It's under $20 and I'm sure we can get it under $10 in large quantities and with some negociation.

author: krish2487
author_rank: Frequent Contributor
timestamp: December 18, 2018, 02:42:15 pm
content: IIRCThe 'A' is for american market,'C' for chinese market,'E' for europeanand 'G' for global.they seem to be priced more or less the same, a couple of dollars difference.From what I have seen and worked with it, its fairly straightforward to setup and use. I was really hoping to leverage the NB-IOT features but its still in a nascent stage of deployment here..
Fried my Microchip ICD3... ICD4 or Snap? - Page 1
Forum section: electronics / general

author: BloodyCactus
author_rank: Frequent Contributor
timestamp: December 17, 2018, 06:04:27 pm
content: So I accidentally fried my ICD3But it worked for me so well, but now I see there is ICD4 and something called snap? Snap looks like a pickit without a shell... ugh.Anyway, anyone have experience with ICD4? Worth upgrading from ICD3 to 4 or just better to find another ICD3?

author: mrpackethead
author_rank: Super Contributor
timestamp: December 17, 2018, 06:13:33 pm
content: ICD4 is noticeably faster than the ICD3, however it does not support a number of older IC's. There is a 50% OFF SALE ON icd3 righ tnow as well.

author: BloodyCactus
author_rank: Frequent Contributor
timestamp: December 17, 2018, 07:21:41 pm
content: at 50% off, done! cheers for the heads upfunny. I never bother to look in the microchip store

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: December 17, 2018, 07:42:32 pm
content: Microchip will often replace devtools, even out of warranty - doesn't hurt to ask.

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 17, 2018, 07:52:52 pm
content: How did you fry it?I've seen quite a few fried ICD3s. Some of them due to being plugged to a defective usb hub (supplying way over 5V...)

author: Ian.M
author_rank: Super Contributor
timestamp: December 17, 2018, 07:56:16 pm
content: Quote from: mikeselectricstuff on December 17, 2018, 07:42:32 pm+1Raise a support ticket for it on their website, and once they've determined its probably a hardware fault, odds are they'll RMA it.Even if you've already jumped the gun on the 50% off sale, its worth it to have a hot spare . . .
ESP32 - thoughts on ESP-WROVER-KIT-ESP32. - Page 1
Forum section: electronics / general

author: hamster_nz
author_rank: Super Contributor
timestamp: April 09, 2018, 03:24:11 am
content: I'm thinking of spending up large on an real ESP32 Devboard, rather than just mucking around on modules without JTAG and so on.Has anybody got or used a "ESP-WROVER-KIT-ESP32" board?http://www.raspberrypiwiki.com/index.php/ESP-WROVER-KITIt looks to be relatively expensive at around US$55 (over 5x the cost of a basic ESP32 module), however it does seem pretty feature rich for the price.

author: lucazader
author_rank: Regular Contributor
timestamp: April 10, 2018, 06:48:43 am
content: Yea i have used them.They are quite good. A little better than the normal small dev boards.Main advantage i found, is it uses the ftdi 2232h chip, which can act as a jtag debugger, but also in normal code loading via uart it means you can flash at 2mbaud, which saves a _lot_ of time during development

author: janekm
author_rank: Unknown
timestamp: April 10, 2018, 07:08:19 am
content: Quote from: blueskull on April 09, 2018, 03:30:06 amJust to mention that it's not necessarily the case that this kind of parallel camera will work with any ESP32 module, the high data rates make it quite sensitive to routing and just soldering wires between them won't work.Sadly the ESP-WROVER-KIT-ESP32 has so much loading on those traces (from all the other stuff on the board connected to those pads) that it doesn't work at higher data rates either.

author: ats3788
author_rank: Contributor
timestamp: December 28, 2018, 07:50:13 am
content: HelloI bought this board and it's quite nice you get it for US $40. The only thing whats sucks is that you can't use the Camera and the LCD at the same time. But be honest what is a couple of Dollars for a Geek like us.
Standford Dash (multiprocessors) - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: December 16, 2018, 10:26:56 pm
content: If you have heard about SGI's Numalink, the first generation came from the Stanford DASH project, which, in the origin, was based on a modified version of Motorola 88K. Dash was a cache coherent multiprocessor developed in the late 1980s by a group at Stanford University.Then engineers at SGI massively used it for their MIPS-based computers. But in origin, it was an 88K (eighty-eight thousand) project.The book above (which is simply marvelous) talks about the reason for the project but without talking about the 88K in detail. Does anyone have a reference, doc, book sequel, or something?

author: legacy
author_rank: Super Contributor
timestamp: December 17, 2018, 12:50:03 pm
content: Talking to a Japanese friend on skype we found the book I was looking for:Processor Architecture: From Dataflow to Superscalar and Beyond - Jurij Silc, Borut Robic, Theo UngererIt talks about the MC88110MP by MIT (1991).A good idea for a gift under the Xmas tree
Enabling boot messages on BeagleBoard X15 console - Page 1
Forum section: electronics / general

author: rhb
author_rank: Super Contributor
timestamp: December 16, 2018, 07:18:13 pm
content: I've searched every variation I can think of trying to find out. I've looked at a couple dozen links. Most links reference using grub for boot.I'd like to be able to stop in u-boot and interactively select what device to get the kernel image from and what parameters to use.With the embedded EE orientation of the Beagle series I'd have thought they'd show the entire boot process by default.I just installed the latest image for the X15 to eMMC via a uSD card and uEnv.txtAlso, is there a way to make it boot on power on without the soft power button? I have it packaged in PC chassis with a hard power switch and can't reach the soft power switch without having to open the case.
Spirit MP3 Decoder crashes on my Cortex M - Page 1
Forum section: electronics / general

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: December 15, 2018, 07:42:07 pm
content: Hi,Playing around with the audio on Cortex M, I found this nice STM32 cube-audio, from ST, which include the lib for MP3 Decoder from Spirit MP3, This is my sample code based on the Spirit MP3 doc, I have increased the heap size to 20KB, and I'm using Keil, but It will crash on initializing the Decoder, Do you have any Idea?Code:#include "spiritMP3Dec.h"#include <stdio.h>#include <stdlib.h>// Optimal size of output buffer is a multiple of// MP3 granule size (576 samples)#define MY_FRAME_SIZE_IN_SAMPLES 576// Output PCM buffer: size multiplied by two to account for stereo signalshort g_aPCMSamples [2*MY_FRAME_SIZE_IN_SAMPLES];// Decoder structureTSpiritMP3Decoder g_MP3Decoder;// Callback function, reads MP3 data from the file, calling fread().// Assumes that token is a MP3 FILE handle;unsigned int RetrieveMP3Data(void * pMP3CompressedData,unsigned int nMP3DataSizeInChars,void * token){return fread(pMP3CompressedData, sizeof(char), nMP3DataSizeInChars, (FILE*)token);}int main(void){/* Initialize the decoder */SpiritMP3DecoderInit(MP3Decoder_Instance,RetrieveMP3Data ,NULL,NULL);while(1){}}
Could anyone suggest 2GB Dual die-LPDDR3 RAM ? - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: December 15, 2018, 02:37:01 pm
content: Hello All,The board I have had 2GB-LPDDR3...But, in the online, I could not get anything at 2GB in LPDDR3...Are they still there ? (Or) had they have replacement?... Please suggest...Thanks,Muthu
Controller reference  - Page 1
Forum section: electronics / general

author: yalect
author_rank: Regular Contributor
timestamp: December 13, 2018, 10:17:34 pm
content: Hi, I would like to ask you if you can tell me the reference number of this part because it's damgedThank you

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 13, 2018, 11:37:32 pm
content: Looks like a Marvell 88I9045-TFJ2.Some controller used on HDDs.https://commons.wikimedia.org/wiki/File:WD_Caviar_Green_WD10EADS_-_Controller_-_Marvell_88i9045-TFJ2-91997.jpgNot that easy to source apparently. Some brokers have it.This site sells controller boards for WD HDDs with this controller:https://www.hddzone.com/wd-2060771698004-pcb-p-389.html
HC 05 Bluetooth Module Control with STM32F7 UART - Page 1
Forum section: electronics / general

author: A.Ersoz
author_rank: Regular Contributor
timestamp: December 13, 2018, 09:18:56 pm
content: Hello,My plan is just basic LED control on my custom board with HC 05 Bluetooth module. Actually, a code, which was found in Youtube (), runs successfully such as send 'Hello' but the light is constantly on. So, I want to control with 1 and 0 for led on-off control. FYI, the crystal on the board is 32.768kHZ so I set RCC as low speed, and Baud Rate is set as 115200 in CubeMX. Do anyone know about this control?The code is in stm32f7xx_it.c file isQuoteThe code is in main.c file isQuote
BGM123A (Bluetooth) Communication with a microprocessor on Custom Board Design - Page 1
Forum section: electronics / general

author: A.Ersoz
author_rank: Regular Contributor
timestamp: December 10, 2018, 09:40:50 pm
content: Hello,On my custom design board, I use BGM123A type Bluetooth module. My microprocessor is that STM32F767ZI. Now, I want to control one of the LED on the board through this Bluetooth module. So, what steps should I follow? I have already downloaded Simplicity Studio, and I tried to pair through PC Bluetooth settings. But the PC didn't recognize the Bluetooth. What should I do for recognizing the Bluetooth from the PC?Thanks,

author: Kilrah
author_rank: Unknown
timestamp: December 10, 2018, 09:46:39 pm
content: What BGM123A-based module exactly? Cause it might not even have any firmware loaded at this point.

author: A.Ersoz
author_rank: Regular Contributor
timestamp: December 10, 2018, 09:58:48 pm
content: BGM123A256V2R is used in the design. I see, how can I download the firmware?

author: Kilrah
author_rank: Unknown
timestamp: December 11, 2018, 09:45:40 am
content: Seems there micht be some already:https://www.silabs.com/community/wireless/bluetooth/knowledge-base.entry.html/2018/08/09/factory_programmedf-39leLooks like an extremely powerful platform, but meant for custom development and not just plug and play like other BT modules.

author: A.Ersoz
author_rank: Regular Contributor
timestamp: December 13, 2018, 08:48:00 pm
content: Yes, you are right. I may need custom firmware. Now, I switch to HC-05, then If I run my code successfully, I will return back to BMG123. Thanks!
What is Data flash memory not Flash memory, in Microcontroller? - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: December 13, 2018, 08:52:31 am
content: Hello all,I have just look at M487JIDAEnuvotonmicrocontroller which has Flash memory of 512KB and SRAM-160KB...Other than this, it has Data Flash memory which is configurable...Could anyone tell the purpose of Data Flash memory?Thanks,Muthu

author: ataradov
author_rank: Super Contributor
timestamp: December 13, 2018, 09:17:01 am
content: It is a section of the main flash array dedicated for storing data. It is writable even if the rest of the array is locked for writing.

author: sangar
author_rank: Regular Contributor
timestamp: December 13, 2018, 02:21:57 pm
content: Hi Alex,Thanks...So, Can I take it as EEPROM?...Regards,Muthu

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: December 13, 2018, 02:42:44 pm
content: Quote from: ataradov on December 13, 2018, 09:17:01 amAnd probably has higher endurance

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: December 13, 2018, 02:44:15 pm
content: Quote from: sangar on December 13, 2018, 02:21:57 pmYes, except it is probably only eraseable in large blocks - typically smaller than than program memory block size but if it's called flash and not eeprom it's unlikely to have single byte erase, so you need to do a read/erase/rewrite to update individual bytes

author: legacy
author_rank: Super Contributor
timestamp: December 13, 2018, 02:50:40 pm
content: Why FeRam is still so expensive? it would be nice to have it instead of Flash.

author: David Hess
author_rank: Super Contributor
timestamp: December 13, 2018, 02:57:17 pm
content: Quote from: legacy on December 13, 2018, 02:50:40 pmIt requires extra processing steps which are not native to a CMOS process. Flash just requires floating gates.

author: tszaboo
author_rank: Super Contributor
timestamp: December 13, 2018, 02:59:27 pm
content: Quote from: legacy on December 13, 2018, 02:50:40 pmWe really should have MRAM microcontrollers with unified memory space, replacing the 3-4 different memory types on these kind of projects. Because large MRAM can replace Flash, EEPROM, NVRAM and SRAM. Only if Everspin wouldn't concentrate on the wrong market.

author: ataradov
author_rank: Super Contributor
timestamp: December 13, 2018, 03:35:48 pm
content: Quote from: mikeselectricstuff on December 13, 2018, 02:42:44 pmNo, it it is quite literally logically reserved part of the main flash array. It is no different than main memory. The only thing that is different about it is logic that defines write permissions.

author: ataradov
author_rank: Super Contributor
timestamp: December 13, 2018, 03:37:47 pm
content: Quote from: sangar on December 13, 2018, 02:21:57 pmIt has 4K erase granularity. In order to make it really work as EEPROM, you would have to create some emulation layer.

author: sangar
author_rank: Regular Contributor
timestamp: December 13, 2018, 04:46:07 pm
content: Thank you very much to make me understand this...Thanks,Muthu
Capacity of K4E8E304EE-EGCE  LPDDR3 ? - Page 1
Forum section: electronics / general

author: sangar
author_rank: Regular Contributor
timestamp: December 13, 2018, 04:51:44 pm
content: Hello All,The board I have had LPDDR3 which is namedK4E8E304EE-EGCE...Unfortunately, I don't get the datasheet on the internet...So if anyone came across this part, could you let me know its capacity...Thanks,Muthu

author: sangar
author_rank: Regular Contributor
timestamp: December 13, 2018, 05:29:39 pm
content: Hi,Thanks...In the board, I have 2 chips... Does it means 2 GB?...

author: sangar
author_rank: Regular Contributor
timestamp: December 14, 2018, 01:07:12 am
content: Hi,Sorry...I don't understand it little bit...As in the attached diagram, my board have 2 K4E8E304EE-EGCE chips ...Both chip's 32 data lines connected to two sets of 32 data pins of the processor and connected to the common 9 address lines, 3 differential pairs of DATA strobe and 4 Data mask...From the above, I assume my board has 2GB-DDR3...QuoteBy dual die package, you mean two 1GB chip inside in a single die?...If so, it is 2GB not 4GB right?Please suggest...Thanks,Muthu

author: sangar
author_rank: Regular Contributor
timestamp: December 15, 2018, 02:34:23 pm
content: Hi Blueskull,QuoteIn the above, you said that the chip is 1GB ,and inside the chip, there are two dies, each have 512 MB...It means that it is 1 GB/512MB not 4GB/512 MB that you put in your statement...I think the statement is misleading ...Please correct me if I am wrong...Thanks,Muthu
The iLi9325 LCD chipset configuration for the emWin or STemWin, in GPIO mode  - Page 1
Forum section: electronics / general

author: VanitarNordic
author_rank: Frequent Contributor
timestamp: December 11, 2018, 05:26:27 pm
content: As you know we can connect a TFT LCD to the STM32 MCU in two main methods: FSMC or GPIO. The FSMC is for the MCUs which at least have 100 Pins I think (we can use CubeMX to initialize it), and for the smaller ones, we have to use the GPIO.I use the CubeMX and HAL libraries for the projects. I searched for many examples but I could not understand where the user should define or initialize the MCU GPIO Port for the LCD. PORTA or PORTB or whatever.I have the chipset driver from STM examples which includesili9325.candili9325.h.examples are a bit confusing.
Arduino Pro Micro + FastLED only works once after flash - Page 1
Forum section: electronics / general

author: NiHaoMike
author_rank: Super Contributor
timestamp: December 11, 2018, 02:17:44 am
content: I have a WS2812 strip controlled by an Arduino Pro Micro running the FastLED library, and I'm having a strange problem with it. Flash the Arduino and it works great. But power cycle it and it no longer works, with the output signal being lower in frequency by a factor of 8 or so. I tried another Arduino to make sure I didn't have a flaky one with defective Flash memory. I'm guessing some register is inadvertently left uninitialized and the bootloader, during flashing, sets it to a value that works, but the power on default doesn't.

author: cv007
author_rank: Frequent Contributor
timestamp: December 11, 2018, 03:10:40 am
content: Quotewhen you see this phrase with an atmel 8bit, think clock prescale. They typically ship with CKDIV8 fuse on, which means the clock prescale is set to 8 on powerup/reset. The bootloader (factory built-in or otherwise) will most certainly set the clock prescale to 1, and in this case it appears the bootloader just 'jumps' to the app when done programming as opposed to some some form of reset (leaving CLKPR as it was set in the bootloader- I'm not a big fan of when they just jump to apps after mucking up a bunch of registers).in your code, clear the clock prescale to get 1:1CLKPR = 0x80; //enable changeCLKPR = 0; //1:1I would assume Arduino is supposed to do all this stuff for you, so there is probably some setting somewhere for this.Anyway, that's one possibility.

author: NiHaoMike
author_rank: Super Contributor
timestamp: December 11, 2018, 04:12:57 am
content: That fixed it. Maybe that's why the Arduinos were only $5 each (actually a bit less - forgot exactly how much) from Amazon?

author: Kilrah
author_rank: Unknown
timestamp: December 11, 2018, 09:47:38 am
content: No, has nothing to do with the hardware.
HX711 - Page 1
Forum section: electronics / general

author: alizare368
author_rank: Regular Contributor
timestamp: December 07, 2018, 06:32:14 am
content: HiI designed a board for weight measurement with load cell sensor and using HX711 for high accuracy.How can I calibrate it for milligram(mg)?

author: agehall
author_rank: Frequent Contributor
timestamp: December 07, 2018, 07:35:17 am
content: "Maybe" is about as accurate answer to this question as you can expect to get.The HX711 is, from what I can tell just the ADC, not the load cell. So we would need to know the performance of your load cell before anyone can help you figure out what the maximum resolution of your system would be.

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: December 07, 2018, 08:20:27 am
content: what's your loadcell size? do you have any circuit or sample program to share?

author: Wiljan
author_rank: Regular Contributor
timestamp: December 07, 2018, 09:15:06 am
content: The way to calibrate are simple read data from HX711 without any weight this data are your Zero weight "0.000"Now add a known load on your cell like 1 kg or 1 Pound or 1 Brick or whatever you want to measure in you will get a new valueThis new value - the zero value are now = to 1Kg or what you want to measure inNow it pressy simple math to convert any value to a weightI assume you use Arduino, but if not it's the same way to do itHave a look here how to connect weightcells to the HXD711https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guidein the bottom there are links to 2 software, 1 for calibrate and 1 for readoutIf you run the calibrate software you can inc / dec the calibration value so your weight fits the actually loadHope it helps

author: alizare368
author_rank: Regular Contributor
timestamp: December 09, 2018, 01:07:29 pm
content: HiThe output of ADC(hx711) sample code contract in txt file.How can I stable the output?

author: alizare368
author_rank: Regular Contributor
timestamp: December 09, 2018, 01:12:29 pm
content: the c code Reference Driver（C）contract in txt file.

author: alizare368
author_rank: Regular Contributor
timestamp: December 09, 2018, 01:15:59 pm
content: Quote from: agehall on December 07, 2018, 07:35:17 amHiThe output of ADC(hx711) sample code contract in txt file.How can I stable the output?

author: Wiljan
author_rank: Regular Contributor
timestamp: December 09, 2018, 01:36:38 pm
content: When you read the ADC with so sensitive signals it will variate, you will need to add in a filter so you do an average eg over 25 samplesthere are plenty of examples on the internet to do "average filtering"What chip / board do you use for your c code?

author: iMo
author_rank: Super Contributor
timestamp: December 09, 2018, 01:53:23 pm
content: You may try this simple filter:Quote

author: alizare368
author_rank: Regular Contributor
timestamp: December 09, 2018, 02:08:48 pm
content: STM32f030k6t

author: alizare368
author_rank: Regular Contributor
timestamp: December 09, 2018, 02:12:10 pm
content: Quote from: Wiljan on December 09, 2018, 01:36:38 pmSTM32f030k6t
TAIFATECH TF-331 Web Server Controller - Page 1
Forum section: electronics / general

author: l0rd_hex
author_rank: Regular Contributor
timestamp: March 06, 2018, 10:42:13 pm
content: Hey fellow electron manipulators,I bought a second-hand NetGear GS716T-V1 16 port switch and after playing around with the software for a bit I decided to take a peek inside. The board uses a microcontroller labelled as a TAIFATECH TF-331 which appears to be a "web server controller". I haven't found a datasheet (surprise, surprise!) but I did find this product specs sheet:http://pdf.dzsc.com/88888/200813104039864.pdfI downloaded an update from NetGear that is in the Intel Hex format. I've tried my hand at disassembling it using this instruction sethttps://www.win.tue.nl/~aeb/comp/8051/set8051.htmland while I'm not getting illegal instructions the code doesn't seem to make much sense, lots of seemingly meaningless instructions.Has anyone seen or worked with this IC before? I'm just curious about poking around with the firmware

author: w3dg3
author_rank: Newbie
timestamp: December 09, 2018, 01:59:47 pm
content: I found a datasheet for the TF-331 on the kynix site:Datasheet:https://www.kynix.com/Detail/839420/TF-331-ACL.htmlOverview: pdf.dzsc.com/88888/200813104039864.pdfThis is a 8051/80390 core device designed by what appears to be a now-defunct taiwanese company called Taifatech. This is a nice SoC solution if you want a h/w accelerated network solution. It supports external flash memory, 10/100 Mbs ethernet, external Flash memory. all you have to add is PHY inteface chip (such as Davicom DM9161A).It was supported by older Keil compilers (Keil C v7.10, circa 2007).I started searching for this as I was trying to repair an Aviosys IP9258 (PDU) with a faulty ethernet interface. They had erased the chip identifier from the main components, it took a while but finally I identified them all. The old models commonly used this in conjunction with the Davicom DM9161A as the ethernet transceiver. The ethernet interface doesn't use any magnetics, so is prone to damage if have any over voltage on the line.If anyone has any further info on programming this let me know.Joe
AMP and SMP, looking for a good book and real examples  - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: December 07, 2018, 11:31:56 am
content: do you happen to have real examples of scenarios where AMP or SMP are used?I'd like to read a good book about these things: SMP and AMP, what, where, how ... concerning everything, including how to handle concurrent interrupt between cores in SMP, and how to Event-debug things ...I have only experience with WindRiver on WxWorks @ e500 (PowerPC quadri-core), but I have never had the time and the occasion to study these things in details.

author: legacy
author_rank: Super Contributor
timestamp: December 08, 2018, 07:45:19 pm
content: "Real World Multicore Embedded System" - Bryon Moyer
Looking for "Unit Tests" framework for Ride7 + RKit-ARM (IDE, compiler)  - Page 1
Forum section: electronics / general

author: FlyingDutch
author_rank: Regular Contributor
timestamp: December 08, 2018, 09:23:41 am
content: Hello,I am developing complex application for STM32F103xx MCU. Hardware is consisted of several boards (up to 8 - every has STM32F103 on-board) connected together by "CAN" bus. Code is written with use of "Standard Peripheral Library" for ARM-CortexM3. This is inheritance of project origins - research project from "University of Technology". The system is still under active development.I am using for development of it "Ride7" with "RKit-ARM for Ride7". I am glad of Ride7 IDE and compiler (and debugging features). I have commercial "enterprise" licence for these two products.This system complexity is high now, and I am still adding new features. I think it is about time to add unit tests for project.I was looking for "Unit test" framework for "Ride7 with RKit-ARM, but it wasn't succesfull.I only found this:http://support.raisonance.com/conten...mating-testingftp://www.raisonance.com/pub/Support/Ride7/, but this solution not meet my needs.Maybe someone was using tool for automatic testing with Ride7 (ARM) and could to share his knowlede.Thanks in advance.

author: nugglix
author_rank: Regular Contributor
timestamp: December 08, 2018, 09:32:03 am
content: Sounds legit...But wouldn't it have been a great idea to specify your "needs"?So it's up to wild guessing and the thread will derail even faster as usual.

author: FlyingDutch
author_rank: Regular Contributor
timestamp: December 08, 2018, 09:55:22 am
content: Hello,OK these features is "a must":1) The ability to define "unit test" in code (using Ride7 IDE)2) The ability to run defined "unit test" for IDE (or their groups defined before)3) See coverage and results of "unit tests" (best in graphical way)4) The ability to "debug" particular "unit test"All of these features should be available from IDE (for example from menu).I am looking for something similiar to frameworks for "Unit tests" for other languages like C# or Java. For example something similiar to "JUnit" for Java:https://www.tutorialspoint.com/junit/junit_overview.htmBut for C language and has ability to integrate with "Ride7" IDE.regards

author: legacy
author_rank: Super Contributor
timestamp: December 08, 2018, 12:21:43 pm
content: Cantata might be a choice

author: FlyingDutch
author_rank: Regular Contributor
timestamp: December 08, 2018, 04:16:00 pm
content: Hello,it looks interesting. I have to read more about posibility to integrate it with existing project in Ride7 IDE.Thanks a lot.
Help - Regarding AN955 motor control application - Page 1
Forum section: electronics / general

author: Jayy
author_rank: Contributor
timestamp: December 04, 2018, 07:05:00 am
content: Hi,I would like to know if i can substitute component for a outdated component in Microchip APPNote AN955 IRAMS10UP60A with IR2109 as in AN889.http://ww1.microchip.com/downloads/en/AppNotes/00955a.pdfPage - 20 , IRAMS10UP60A <- outdated componenthttp://ww1.microchip.com/downloads/en/AppNotes/00889b.pdfPage-19, IR2109Thanks,Jai.

author: H.O
author_rank: Frequent Contributor
timestamp: December 05, 2018, 04:19:09 pm
content: Short answer is no. The IRAMS10 is a complete "power brick" with gate drivers, switches , protection circuitry etc while the IR2109 is simply a half bridge driver meant to control a pair of external switches.You'd need 3 IR2109 with surrounding support components, 6 MOSFETs or IGBTs and careful attention to PCB layout in order to replace the IRAMS module.Digikey still have a couple of the 6A version of that module in case you want to try that. Otherwise I'm sure there other similar modules available, just go to Digikey and look in the Power Drive Modules category.

author: Jayy
author_rank: Contributor
timestamp: December 08, 2018, 07:15:28 am
content: Hi,Thanks for your reply.Can you explain if the firmware signals produced for IRAMS10 by AN955 firmware, require changes to drive the IR2109.