- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
ISE10.1 versus ISE14.1 xps_sysmon _adc BSP drivers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-28-2012 08:22 AM
Hi,
I've been migrating a design from ISE10.1 to ISE14.1 (the peripherals were regenerated in ISE14.1) and noticed that the sysmon peripheral was giving strange readings and failing a system test. A quick look at the actual peripheral address in the XMD showed that the register contents at the memory mapped register locations were generally the same for both versions which showed the peripheral was generating the right values. However it looked like the values are shifted in binary and indeed when digging into the BSP code xsysmon.c from an ISE14.1 generated BSP it looks like this:
u16 XSysMon_GetAdcData(XSysMon *InstancePtr, u8 Channel)
{
// some code etc...
return AdcData;
}
and in the old ISE10.1 generated BSP it looks like it's shifted before returning the value:
u16 XSysMon_GetAdcData(XSysMon *InstancePtr, u8 Channel)
{
// some code etc...
return ((AdcData >> 6) & XSM_ADCDATA_MAX_MASK);
}
The same thing goes for the temperature reading function I beleive. Is this an oversight or are these changes intended and we now have to handle the shifting myself outside the BSP functions?
Thanks
Simon
Solved! Go to Solution.
Re: ISE10.1 versus ISE14.1 xps_sysmon _adc BSP drivers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-29-2012 12:44 AM
Actually ignore the above, v2.00 onwards of the drivers looks like it was modified to return 16 bit values.
Re: ISE10.1 versus ISE14.1 xps_sysmon _adc BSP drivers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-02-2012 07:24 PM
Do you know tri_mode_eth_mac?how did you solve the problem











