• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • 5G
    • Automotive
    • Connectivity
    • Consumer Electronics
    • EV Engineering
    • Industrial
    • IoT
    • Medical
    • Security
    • Telecommunications
    • Wearables
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • EE Training Days
    • FAQs
    • Learning Center
    • Tech Toolboxes
    • Webinars/Digital Events
  • Resources
    • Design Guide Library
    • DesignFast
    • LEAP Awards
    • Podcasts
    • White Papers
  • Videos
    • EE Videos & Interviews
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

Top microcontroller threads on EDAboard.com – June

July 5, 2017 By Aimee Kalnoskas Leave a Comment

(editor’s note: Intrigued by the problem? Have a similar challenge? Have a question or another solution? Then click the “Read more” link and follow the conversation on EDAboard.com or log in to EDAboard and participate in the microcontroller forum thread.)

Stuck in ISR, RCIF is not firing when UART with PIC18f5420 and SIM800 – I am new to PIC, I am able to transmit through PIC18f4520 and SIM800 but could not able to receive it. I run a debugger, but the program is stuck in ISR but RCIF is not fired at all. Read more

UART to USB converter – I am wondering how to use MCP2221 for UART to USB with a microcontroller. I would have UART on the microcontroller side which I would like to connect to MCP2221 to convert the protocol to USB. Read more

Resolver output validation – I need to validate the resolver output. The communication with the master controller is through SPI. But I am not sure how to validate that data. The SPI data consists of position and velocity. The resolver is AD2S1210. Read more

Error in Keil micro vision –  what is the meaning of “error: preprocessor :MACRO TOO NESTED. Read more

SD card MBR interpretation issue – I am interfacing an SD card on ARM: LPC3250.On issuing READ_SINGLE_BLOCK(CMD17) command i am getting MBR output as below.
data[0] = 0x00000000
…..
data[110] = 0x00000000
data[111] = 0x02000000
data[112] = 0x3D06000A
data[113] = 0x0087BDFD
data[114] = 0xEF790000
data[115] = 0x0000003A
data[116] = 0x00000000
……….
data[127] = 0xAA550000

I am Interpreting above output i.e 0x00000087*512 = 0x10E00. (Relative/Boot sector address) as per SDCardmap. But when I open my 2GB SD card in Hex Editor Neo MBR is not visible, I am seeing BOOT sector at address 0x0000 attached snap below
Click image for larger version.  Name: SDcard.png  Views: 1  Size: 137.0 KB  ID: 139343

and @address 0x10E00 all the bytes are 0 snap below
Click image for larger version.  Name: 10e00.png  Views: 1  Size: 6.3 KB  ID: 139340

1) why MBR is not visible in Hex Editor Neo?
2) Why MBR pointing to 0x10E00 location but boot sector start at location 0x0000 ?
3) I am using example code of LPC3250 initialize and read command sequence looks fine.

I tried both SDFormatter tool and Windows format Default/Fat16/Fat32, 4 different 2GB SD card of Transcend. Read more

Port 4 for SST89E516RD2 – I am working on a project where I have to use an SST89E516RD2 microcontroller. I am using Keil as a programming software. I am using 44 PIN TQFP SMD package When I try to build the program in keil I am getting an error (35):
error C146: ‘P4’: invalid base address

I have even modified the startup file and added:

Code:
sfr   P4  = 0xA5;

as per the address mentioned in the datasheet page 20.
so I need to modify something else to use this port4.

Read more

Clarification on the SPI communication – If the user application does not change the data in the SPIxBUF register, every new transmission shifts the SPIxBUF register value instead of shifting the value received in the shift register. What does it mean? I cannot send a constant value like 0x02 continuously. Do I need to keep changing or toggling the data? Read more

MikroC delay using interrupt – I am trying to implement a delay using timer0 interrupt. I’ll just post an abstraction of the code in MikroCc. The code does not work as I expected. Can somebody please point out the mistake I am making or suggest a better way for achieving a 100 ms delay using interrupt? Read more

How to use if condition in switch statement – What does an if statement do within switch statement. I want apply if condition for following task

first case if (task=task1)
second case if (task=task2)
third case if (task=task1)
Read more

Question regarding mask() function –  Recently I encountered ” mask()” function while working with PIC16F628A programming with MikroC. In this code, is the mask value is 0? Read more

Filed Under: 16-bit, 32-bit, Embedded, Featured, microcontroller, Products Tagged With: EDAboard.com

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured Contributions

Five challenges for developing next-generation ADAS and autonomous vehicles

Securing IoT devices against quantum computing risks

RISC-V implementation strategies for certification of safety-critical systems

What’s new with Matter: how Matter 1.4 is reshaping interoperability and energy management

Edge AI: Revolutionizing real-time data processing and automation

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“bills
“microcontroller
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

Footer

Microcontroller Tips

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy