Questions tagged [hex]
hexadecimal or base-16 - a counting system in which each digit can take on one of 16 values, usually using the symbols 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Often used in computer programming because each digit maps directly to a group of 4 binary digits (bits).
55
questions
10
votes
1
answer
1k
views
How can I understand hexadecimal columns as power of 16 in Jeff Duntemann's book?
I am studying this book:
x64 Assembly Language Step-by-Step. Programming with Linux-Wiley (2024)
JEFF DUNTEMANN
If I understand correctly, 1 in hexadecimal is equal to 1 in decimal. However, the ...
-2
votes
1
answer
78
views
Why can't I divide the total number of bytes of a .BMP file by the color depth? [closed]
I have a .BMP file resize.bmp.
The total number of bytes that encode pixels in this file is 320 bytes.
The color depth in this file is 3 bytes.
0x176 total number of bytes including Header
0x140 ...
0
votes
1
answer
98
views
How to write a lookup-table into an 28C64 parallel EEPROM?
Based on the program from this post 28C64 EEPROM Programming Using Arduino, I would like to write, using Arduino Mega, a lookup-table that contains one sinewave cycle, created in Excel. I would like ...
1
vote
1
answer
145
views
First time schematic for USB-C power detection
Hey all I am creating a PCB that allows me to detect when I plug in a tablet, laptop, etc. to my home made tablet organizer. It's difficult to see if it made a connection in the back since you place ...
0
votes
1
answer
293
views
What is the difference between a hex inverting buffer and hex inverting Schmitt trigger?
What is the difference between an hex inverting buffer (e.g. TC74HC4049AP) and hex inverting Schmitt trigger (e.g. 74HCT14N)?
How can hysteresis be added to a CMOS hex inverting buffer to make it act ...
0
votes
0
answers
425
views
Help needed with solving MIPS jump instruction encoding question
I am currently working on a project that involves understanding the encoding of MIPS assembly instructions and I am struggling with a question that I hope someone here can help me with.
The question ...
2
votes
1
answer
67
views
Meaning of specific SPI transaction
I am working with someone else's code, and I have a question about several of the SPI transactions that are performed. The hardware configuration consists of a Raspberry Pi (master) and a motor driver ...
1
vote
1
answer
4k
views
How can I use CDC_TRANSMIT_FS() correctly?
I am trying to develop a sensor driver on the STM32F401CCU6. I have already worked out the sensor data acquisition on the STM. The problem I am facing is getting that over USB to my host system. ...
-7
votes
1
answer
1k
views
RFID Conversion hexadecimal to decimal
How do I convert this hexadecimal code to decimal: 5A 95 62 80?
And also this one: 67 64 07 68?
I need this to use in an ...
0
votes
1
answer
792
views
Facing problem to download Hex file to STM32 using Command line
I managed to write a script for flashing hex file into STM microcontroller.
...
0
votes
2
answers
2k
views
How can I combine 4 separate bits into one 4 bit output?
Say I hypothetically have four switches 0-3. I want each switch to represent a bit in a four bit long number, switch 0 being the first bit and switch 3 being the last. The end goal is to be able to ...
1
vote
1
answer
897
views
Clone ATtiny13A flash memory using USB ASP programmer
I have a working device with flashed ATtiny13A inserted in DIL8 socket. I am guessing that the uC does not have a locking bit set (since I was able to read it [?]). That is all I know at this point.
I ...
2
votes
1
answer
223
views
Converting 21 inputs into 8 inputs for EEPROM address pins
I am just diving into the world of multiplexers, so my knowledge of them is not the greatest. I am trying to develop a circuit that can control 10 RGB LEDS (30 total LEDs) via 2 inputs per LED and one ...
1
vote
3
answers
310
views
Mathematical conversion of hex to decimal
I am stuck with a very trivial coding issue.
Please refer the link below:
Cordic Algorithm using Verilog
By what mathematical rule hex 26dd2b6a is equal to 0.607252935008814?
0
votes
2
answers
218
views
What is a 44h command?
I am reading the datasheet of a devive and don't understand the format of the commands. They are talking about 44h and BEh commands. I assume the h just stands for hex. If so, I don't understand why ...