I am able to Write 8 Byte of Hexadecimal data in 1st row of EEPROM but I am not able to understand how to read 8 Byte data from EEPROM and convert 8 Byte Hexadecimal into decimal and save that decimal value into any unsigned integer. Is there any easiest way to convert 8 Byte hexadecimal into decimal without using sprintf because sprintf convert value into character type and I want to store decimal value into unsigned integer?
I am Currently using PSoC 5LP. I want to read 8 Byte of HexaDecimal data from 1st row of EEPROM of Psoc 5Lp
462 Views Asked by Shivangi Kishore At
1
There are 1 best solutions below
Related Questions in C
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in EMBEDDED
- MSP430F5529 on the MSPEXP430F5529LP: UART is not actually transmitting despite seemingly correct setup. What is wrong?
- A FPGA Project Proposal where I can use both PS and PL
- Program doesn't run after DFU
- Sending struct through queue
- How to generate a VPI warpmap for polynomial distortion correction?
- How to present this example concept in UML: Using 2 LCD displays in C/C++
- CLion: Debug via St-Link
- Portenta H7 Baremetal Development and a Little Guidance on Embedded System Learning Roadmap
- STM32 RTC3 Mixed Mode: Writing TR resets SSR
- Unable to read value from gpio set as input
- Mbed TLS: in-place en-/decryption for OAEP doesn't seem to work
- Shared variable read from low priority thread in preemptive scheduling
- Own Pattern / framework for interfacing with components in C
- Performance Difference Between Global Variable and Local Variable in Embedded Systems
- Comparing analog signal from Electret mic with samples
Related Questions in PSOC
- Using Mbed with CY8CKIT_062_BLE
- CAN on psoc4 mail box configured to basic
- Communication between ESP8266 and CY8CKIT-059 via SPI
- Force variable to have a particular memory .noinit location on PSOC5
- PSoC 5, Counter UpCnt & DwnCnt mode as an Encoder
- How to initialize random without time
- How to set up Raspberry Pi 4B as a I2C slave
- GPS neo-6m do I need to request data?
- non-zero float is generated as \0 in sprintf
- Simulating PSoC 5LP
- How to create internal RTC Timer interrupt of 100ms using PSoC 5LP in PSoC creator without making PSoC sleep?
- PSOC Port Connections in C#
- I am Using PSoC 5. I want to know about how to convert 8-Byte hexadecimal into decimal after reading from EEPROM
- I am Currently using PSoC 5LP. I want to read 8 Byte of HexaDecimal data from 1st row of EEPROM of Psoc 5Lp
- exp() math.c i c not working if in a loop
Related Questions in CYPRESS-PSOC
- Capture screenshot of an element without resizing the viewport of cypress
- I am getting an Error when I tried to Upload a file (image of jpg/png) with Cypress and Java script
- Need explanation on PSOC4 Cypress SPI register
- read mutiple characteristic from BLE and reading a string
- How to create internal RTC Timer interrupt of 100ms using PSoC 5LP in PSoC creator without making PSoC sleep?
- PSOC Port Connections in C#
- I am Using PSoC 5. I want to know about how to convert 8-Byte hexadecimal into decimal after reading from EEPROM
- I am Currently using PSoC 5LP. I want to read 8 Byte of HexaDecimal data from 1st row of EEPROM of Psoc 5Lp
- exp() math.c i c not working if in a loop
- Cypress PSoC Creator / iOS App: Add BLE device address to advertisement data
- PSoC 1 programming with Kitprog or CY8CKIT-059?
- Sending 16 bit values on 8 bit UART
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I’m not sure about your use case, but why not write/read the 32 bit unsigned value as it is ? As 4 byte binary without any conversion needed. Endianess can be an issue, but not really when the same MCU write/reads to/from it’s locally connected EEPROM.