Other Parts Discussed in Thread: AM3352
Tool/software: Code Composer Studio
ide: ccs8.2.0
compiler ti v5.2.5
chip: am3352
image: https://imgur.com/a/c1NJ0ZV
1. I created a struct rxBuf_s
2. I create a ptr rxBuf_p and assign it with address of rxBuf at line 235( rxBuf is an array with size 1504 byte)
3. The first member stx is aligned to address 0x8030331C, which is I expected
But, why pktlen_u is aligned to 0x8030331"E"? The member stx is only 1 byte.
Is this implying that the minimum memory size this chip can access is 2 bytes? Not 1 byte?
Also, I tried this scenario.
typedef struct{
u8 a;
u8 b;
}test;
The memory allocation in this scenario is contiguous. I think this chip can access memory with 8-bit space.
This phenomenal is mysterious to me. What background knowledge do I miss?
Thank you.