- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For 1s-1s-1s Iam writing to an register, miso line is not able to detect can you refer the attach images and tell me what is the issue ,Iam giving configuration
command :- 71h (8 bits)
address:- 0x00800001 to 0x00800005 (32bits )
data:- A5(8 BITS )
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You are using 4-Byte address mode and by default 71h command takes 3-Byte address.
First you need to change 3-Byte addressing mode to 4-Byte addressing mode by using EN4BA_0_0 (B7h) command to enter 4-Byte addressing mode.
Also 05h command is used to read Status Register 1, but you are writing the data on the address 0x00800002 which is Configuration Register 1.
You have to use RDCR1_0_0 (35h) command to read this data.
You need to follow below instruction set command,
CS(low)> B7h > CS(high)>CS(low)> WREN (06h)>CS(high)>CS(low)>71h->address 0x00800002->data A5>CS(high)>CS(low)>35h>CS(high)
Regards,
Yuvraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for contacting Infineon Technologies.
Could you please confirm are you able to read device ID correctly, can you please share the waveform of the same?
Regards,
Yuvraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Before passing Write Any Register (71h) you have to do Write Enable (WRENB_0_0) (06h) it sets the Write Enable Latch bit of the Status Register 1 to 1 to enable write, program and erase transactions.
Regards,
Yuvraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
From the waveform, it looks like you are not making CS# high after sending the WREN command.
After that you need to do CS# Low, 71, ADDR, DATA, CS# High.
Regards,
Yuvraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you provide the read waveform after making a correction to the WREN command?
Regards,
Yuvraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you mean to say after sending WREN (06 command) i should send read command of 32 bit ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
No, read the data after passing the (71h command).
Regards,
Yuvraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know which command you are using to read the data?
Regards,
Yuvraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You are using 4-Byte address mode and by default 71h command takes 3-Byte address.
First you need to change 3-Byte addressing mode to 4-Byte addressing mode by using EN4BA_0_0 (B7h) command to enter 4-Byte addressing mode.
Also 05h command is used to read Status Register 1, but you are writing the data on the address 0x00800002 which is Configuration Register 1.
You have to use RDCR1_0_0 (35h) command to read this data.
You need to follow below instruction set command,
CS(low)> B7h > CS(high)>CS(low)> WREN (06h)>CS(high)>CS(low)>71h->address 0x00800002->data A5>CS(high)>CS(low)>35h>CS(high)
Regards,
Yuvraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content