Spaces:
Runtime error
Runtime error
PGA411-Q1: angle register | |
Part Number: PGA411-Q1 Hi, I used PGA411-EVM to read DEV_STAT5. I found ORDANGLE bits can only display 0 to 0x3FF, how can GUI display the 0degree to 360degree? Using Equation 11 in datasheet, I can only get 0degree to 90degree. thanks. | |
Dear user1387741 - I don't work on this part, but i was curious about your question - it looks to me like if you are getting max 0x3FF from this register (bits 0-9 are 1b), you are/must be in 10bit mode and equation 10 applies, which would give you 359.6484 degrees you would need to be in 12 bit mode to get 0x7FF from this register, then apply equation 11, when in that mode, to get same Check the BMODE0 pin status, if low, then you are in 10-bit mode, if high, then you are in 12 bit mode and someone from this product group will correct me. | |
Hi Josh, Thank you , you are right! It's OK now. | |