Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/MSP430FR5949: I2C Master can not send a device address higher then 0x3F

$
0
0

Part Number: MSP430FR5949

Tool/software: Code Composer Studio

I use the I2C sample (master code) from TI. It works with a slave devive with an address below 0x3F. If I send to an device with an address of 0x7F or higher than the I2C machine of the MSP430FR5949 set the highest bit to zero. The result is an address lower then 0x3F.

The problem is I have to communicate with an RFID-IC with a address for write of 0xA6 and an address for read of 0xA7. The controller send only 0x26 and 0x27 to the slave device. It is a 6-bit address room plus R/W-bit  only.

Could you help me? What have I to change in the initialisation? Could you send a sample of initialisation code with interrupt routine?

Best Regards
Hardy


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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