Roll Call
SPI Flash JEDEC ID Read Exercise
Task
U2 is a flash chip the bench plays on SPI1. Once after reset, read and print U2's ID. The registers and bit fields are on the Datasheet tab.
Circuit
Pass condition
The terminal must print ID: and U2's three ID bytes in hex, two digits each.
Notes
Flash datasheet: read ID is 0x9F. U2 answers with maker, type and size. Your program is built and run at -O0, then at -O2. Both must pass.