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

LAUNCHXL2-TMS57012: How do you config peripheral Registers using the memory map

$
0
0

Part Number:LAUNCHXL2-TMS57012

Hi, 

I'm looking to build my own kernel for this MCU and I need to know how I can config the peripheral registers using the memory map listed in the Hercules (TMS570LS1224) datasheet. On the Tiva C platform, it was easy to config peripheral registers since the Tiva C datasheet stated how each register can be configured, but the Hercules datasheet just provides memory map range for each peripheral and it supplies no info on how to configure the peripherals. For example, what value should I write to the peripheral memory location for SCI so I can configure things like baud rate, parity, etc.,?  The datasheet does not seem to discuss this. 

Here's what the datasheet supplies for SCI: 

SCI    PS[6]    0xFFF7_E500  -  0xFFF7_E5FF    256B    256B    Reads return zeros, writes have no effect

I'm not looking to use the API generated by the HAL Generator but I want to communicate with the device at a low level for kernel efficiency. I'm a student and this is a personal project.

Thanks,

Saeed


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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