Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22445

MSP430F6659: Retrieving the TVL Peripheral to see if it is in this MCU

$
0
0
Part Number: MSP430F6659
Other Parts Discussed in Thread: MSP430WARE

Tool/software:

Using file:
C:\ti\msp\MSP430Ware_3_80_14_01\driverlib\examples\MSP430FR5xx_6xx\tlv\tlv_ex2_readTLVDescriptors.c

main() calls readPeripheral() which calls TLV_getPeripheral().

In TLV_getPeripheral on line 166: if(pPDTAG[count + 1] == tag)
the program goes off and never returns.

The last time thru the for-loop I see:

count=76, pcount=330, tag=0x98, pPDTAG[0x3f, 0xff], pPDTAG=0x1abc

so this seems correct.

What might be going on here?

You view the contents of TLV_getPeripheral() here: github.com/.../tlv.c
Line 336 is where the program is hanging.


Viewing all articles
Browse latest Browse all 22445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>