FNSOF value in Keil windows
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-07-28 12:27 AM
Posted on July 28, 2016 at 09:27
Hello guys,
im currently playing with stm32f4 usb audio, and cant understand FS_DSTS frame number (FNSOF) values i see on Keil. Basically i read value of hardcoded register address in program and it gives me certain value, which differs from what i see in Peripherals/System Viewer window, and, also, if i check value in Memory window, it differs from both these as well. Any ideas why im getting this wrong? #keil #!stm32f4 #!usb
Labels:
- Labels:
-
Keil
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-07-28 11:02 AM
Posted on July 28, 2016 at 20:02 I think i probably found it, must be this line from ref. manual OTG_FS device status register (OTG_FS_DSTS) ''This register indicates the status of the core with respect to USB-related events. It must be read on interrupts from the device all interrupts (OTG_FS_DAINT) register.'' I guess it means i can only get correct FNSOF value under certain circumstances.
